软件名称:[B]顶底背离(通达信副图 源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2011-07-23 07:49:36
软件简介:
参数自己取值 N:=5;
D1:=(EMA(C,2)-EMA(C,8))*10000;
D2:=(EMA(O,2)-EMA(O,8))*10000;
D3:=(EMA(H,2)-EMA(H,8))*10000;
D4:=(EMA(L,2)-EMA(L,8))*10000;
STICKLINE(D1<=D2,D1,D2,6,0),ColorCAFFFF;
STICKLINE(D1>=D2,D1,D2,6,0),ColorFF00FF;
DIff:10000*(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:EMA(DIfF,9),linethick2;
Macd:2*(DIfF-DEA),COLORSTICK;
STICKLINE(MACD<ref(MACD,1)and MACD>0,0,MACD,2,0),COLORYELLOW;
STICKLINE(MACD>ref(MACD,1)and MACD<0,0,MACD,2,0),COLORwhite;
STICKLINE(C>0,0,0,10,1),Color00FF00;
DIF:=(EMA(C,12)-EMA(C,26));
IF(DIF>REF(DIF,1),DIFF,DRAWNULL),COLOR0000F6,LINETHICK2;
IF(DIF<REF(DIF,1),DIFF,DRAWNULL),COLORFF3A65,LINETHICK2;
T1:=DIF>REF(DIF,1) AND REF(DIF,1)<REF(DIF,2);
T2:=DIF<REF(DIF,1) AND REF(DIF,1)>REF(DIF,2);
RM:=IF(T1 OR T2,REF(DIff,1),0);
HA:=RM+N1*N1*INTPART(C+C+C);
HB:=RM-N1*N1*INTPART(C+C+C);
HC:=RM-N1*N1*INTPART(C+C+C);
HD:=RM+N1*N1*INTPART(C+C+C);
STICKLINE(T2,HA,HC,6,0),COLORFFAA00;
STICKLINE(T1,HB,HD,6,0),COLOR0000AA;
顶背离:T2,linethick0,COLORFFAA00;
底背离:T1,linethick0,COLOR0000AA;
[url=http://www.70822.com/soft/sort013/sort05/down-36567.html]顶底背离(通达信副图 源码)[/url]