软件名称:[B]金龙MACD[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2016-09-15 02:11:13
软件简介:
DIF:EMA(CLOSE,P1)-EMA(CLOSE,P2),colorwhite ,LINETHICK1;
DEA:EMA(DIF,P3),coloryellow,LINETHICK1;
MACD:=(DIF-DEA)*2;
MACD2:2*(DIF-DEA),colorred,DOTLINE;
Zero:0,COLORC0C0C0,DOTLINE;
A1:=C>REF(C,4);
NT:=BARSLASTCOUNT(A1);
TJ11:=NT=9;
TJ13:=BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR IF(TJ13>0,NT,0))*NT;
DRAWTEXT(AY>0,MACD*1.13,TOSTRING(AY,0)),colorlired;
DRAWTEXT(NT=9,MACD*1.25,'9'),colorgreen;
B1:=C<REF(C,4);
NT0:=BARSLASTCOUNT(B1);
TJ21:=NT0=9 ;
TJ23:=BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR IF(TJ23>0,NT0,0))*NT0;
DRAWTEXT(AY1>0,MACD*1,TOSTRING(AY1,0)),colorgreen;
DRAWTEXT(NT0=9,MACD*1.08,'9'),colorred;
DRAWICON(CROSS(DIF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIF),DEA,2);
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,0),colorred;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,1,0),colorgreen;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,1,0),colorFFFF00;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),colormagenta;
N0:=BARSLAST(CROSS(DIF,DEA));
N1:=BARSLAST(CROSS(DEA,DIF));
N2:=BARSLAST(REF(CROSS(DIF,DEA),1));
N4:=BARSLAST(REF(CROSS(DEA,DIF),1));
M1:=CROSS(DIF,DEA);
MM1:=CROSS(DEA,DIF);
L1:=LLV(C,N1+1);
H1:=HHV(C,N0);
DIF1:=LLV(DIF,N1+1);
HDIF1:=HHV(DIF,N0);
LL1:=LLV(C,N1+1);
HH1:=HHV(C,N0+1);
L2:=REF(LL1,N2);
H2:=REF(HH1,N4);
HH2:=HHV(DIF,N0+1);
LL2:=LLV(DIF,N1+1);
DIF2:=REF(LL2,N2);
HDIF2:=REF(HH2,N4);
M2:=L1<L2;
MM2:=H1>H2;
M3:=HHV(DIF,N2)<0;
MM3:=LLV(DIF,N4)>0;
M4:=DIF2<DIF1;
MM4:=HDIF2>HDIF1;
YY:=M1 AND M2 AND M3 AND N1-N0>1 AND N2-N1>1;
HYY:=MM1 AND MM2 AND MM3 AND N0-N1>1 AND N4-N0>1;
HX1:=YY=1;
HX2:=HYY=1;
DRAWLINE(N2=0,DEA,HX1 AND M4,DEA,0),colorred,LINETHICK3;
DRAWTEXT(HX1 AND M4,DIF*1.15,''),COLORFF00FF;
DRAWLINE(N4=0,DEA,HX2 AND MM4,DEA,0),colorgreen,LINETHICK3;
DRAWTEXT(HX2 AND MM4,DEA*1.15,''),colormagenta,DRAWABOVE;
[url=http://www.70822.com/soft/sort013/sort036/down-102461.html]金龙MACD[/url]