软件名称:[B]布林张囗,无未来,一直在用(图 源码)[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:5.00 KB
官方主页:Home Page
更新时间:2010-08-15 20:58:49
软件简介:
布林张囗,无未来,一直在用,有图有源码的,拿出来与大家分享,觉得可以的不忘回复啊
布林张口
中轨: MA(CLOSE,20);
上轨: 中轨+STD(CLOSE,20);
下轨: 中轨-STD(CLOSE,20);
上极限: 中轨+2*STD(CLOSE,20);
下极限: 中轨-2*STD(CLOSE,20);
YA:=MAX(上轨,上极限);
YB:=MIN(上轨,上极限);
XL:=(上极限-REF(上极限,1))/REF(上极限,1)*100>0.5;
G0:=(YA/YB-1)*100<5.1 AND CROSS(C,上极限) AND XL;
DRAWICON(G0,L-0.20,1);{显示红脸}
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
HY1:=REF(EMA(V1,3),1);
实时线:MA(CLOSE,1),Color006400;
神秘线:HY1,Color400080;
stickline(C>HY1,low,high,1,0),colorred;
stickline(C>HY1,close,open,4.5,0),colorred;
stickline(C>HY1,close,open,4,0),colorred;
stickline(C>HY1,close,open,3,0),colorred;
stickline(C>HY1,close,open,2,0),colorred;
stickline(C<=HY1,close,open,4.5,0),ColorFF4242;
stickline(C<=HY1,close,open,4,0),ColorFF4242;
stickline(C<=HY1,close,open,3,0),ColorFF4242;
stickline(C<=HY1,close,open,2,0),ColorFF4242;
stickline(C<=HY1,low,high,1,0),ColorFF4242;
DRAWtext(CROSS(CLOSE,HY1),LOW,'▲'),LINETHICK2,ColorYELLOW;
DRAWtext(CROSS(HY1,CLOSE),HIGH*1.08,'▼'),LINETHICK3,colorwhite;
APP:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
ZL:=IF((CLOSE > OPEN),(APP * (HIGH - LOW)),IF((CLOSE < OPEN),(APP * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
SF:=IF((CLOSE > OPEN),(0 - (APP * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (APP * (HIGH - LOW))),(0 - (VOL / 2))));
库存能量:=MA((ZL + SF),2);
库存平均:=MA((ZL + SF),5);
DRAWTEXT(cross(库存能量,库存平均),L*0.97,''),ColorFF00FF,linethick4;
[url=http://www.70822.com/soft/sort013/sort03/down-23825.html]布林张囗,无未来,一直在用(图 源码)[/url]