软件名称:[B]顶底背离[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2009-12-19 07:04:20
软件简介:
DIF:=(EMA(CLOSE,6/2)-0.7*EMA(CLOSE,6)-0.3*EMA(CLOSE,12))*100;
DEA:=EMA(DIF,5),COLOR1E67FF,LINETHICK2;
MACD:=(DIF-DEA)*2,COLORSTICK;
A:=MACD;
KDIF:=3*(DIF-DEA);
KDEA:=SMA(KDIF,5,2);
买卖力:=2*(KDIF-KDEA),COLOR15FFFF;
均衡力:SMA(买卖力,4,2),COLORFFFFFF,LINETHICK1;
STICKLINE(A>REF(A,1) AND A>=0,0,A,2,0),COLOR0000B5;
STICKLINE(A>REF(A,1) AND A>=0,0,A,1.5,0),COLOR0000D2;
STICKLINE(A>REF(A,1) AND A>=0,0,A,1,0),COLOR0000F0;
STICKLINE(A>REF(A,1) AND A<0,0,A,2,0),COLOR00B5B5;
STICKLINE(A>REF(A,1) AND A<0,0,A,1.5,0),COLOR00D2D2;
STICKLINE(A>REF(A,1) AND A<0,0,A,1,0),COLOR00F0F0;
STICKLINE(A<=REF(A,1) AND A>=0,0,A,2,0),COLORB4B4B4;
STICKLINE(A<=REF(A,1) AND A>=0,0,A,1.5,0),COLORD2D2D2;
STICKLINE(A<=REF(A,1) AND A>=0,0,A,1,0),COLORF0F0F0;
STICKLINE(A<=REF(A,1) AND A<0,0,A,2,0),COLOR00B500;
STICKLINE(A<=REF(A,1) AND A<0,0,A,1.5,0),COLOR00D200;
STICKLINE(A<=REF(A,1) AND A<0,0,A,1,0),COLOR00F000;
VAR1:=HHV(DEA,53);
VAR2:=LLV(DEA,55);
VAR3:=DEA-(DIF-DEA);
DEA高点延长线:IF(DIF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1),COLORFF2626,LINETHICK1;
DEA低点延长线:IF(DIF<VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2),COLORFF2626,LINETHICK1;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);
STICKLINE(底背离,0,0.13,2,0),COLOR8B17FF;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLOR8B17FF,LINETHICK1;
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORD50000,LINETHICK1;
DEA:=EMA(DIF,5),COLOR1E67FF,LINETHICK2;
MACD:=(DIF-DEA)*2,COLORSTICK;
A:=MACD;
KDIF:=3*(DIF-DEA);
KDEA:=SMA(KDIF,5,2);
买卖力:=2*(KDIF-KDEA),COLOR15FFFF;
均衡力:SMA(买卖力,4,2),COLORFFFFFF,LINETHICK1;
STICKLINE(A>REF(A,1) AND A>=0,0,A,2,0),COLOR0000B5;
STICKLINE(A>REF(A,1) AND A>=0,0,A,1.5,0),COLOR0000D2;
STICKLINE(A>REF(A,1) AND A>=0,0,A,1,0),COLOR0000F0;
STICKLINE(A>REF(A,1) AND A<0,0,A,2,0),COLOR00B5B5;
STICKLINE(A>REF(A,1) AND A<0,0,A,1.5,0),COLOR00D2D2;
STICKLINE(A>REF(A,1) AND A<0,0,A,1,0),COLOR00F0F0;
STICKLINE(A<=REF(A,1) AND A>=0,0,A,2,0),COLORB4B4B4;
STICKLINE(A<=REF(A,1) AND A>=0,0,A,1.5,0),COLORD2D2D2;
STICKLINE(A<=REF(A,1) AND A>=0,0,A,1,0),COLORF0F0F0;
STICKLINE(A<=REF(A,1) AND A<0,0,A,2,0),COLOR00B500;
STICKLINE(A<=REF(A,1) AND A<0,0,A,1.5,0),COLOR00D200;
STICKLINE(A<=REF(A,1) AND A<0,0,A,1,0),COLOR00F000;
VAR1:=HHV(DEA,53);
VAR2:=LLV(DEA,55);
VAR3:=DEA-(DIF-DEA);
DEA高点延长线:IF(DIF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1),COLORFF2626,LINETHICK1;
DEA低点延长线:IF(DIF<VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2),COLORFF2626,LINETHICK1;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);
STICKLINE(底背离,0,0.13,2,0),COLOR8B17FF;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLOR8B17FF,LINETHICK1;
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORD50000,LINETHICK1;
本文来自:创幻论坛 http://www.chcj.net
[url=http://www.70822.com/soft/sort013/sort05/down-15259.html]顶底背离[/url]