指标源码:
DIF:EMA(CLOSE,9)-EMA(CLOSE,150),NODRAW; DEA:EMA(DIF,12),NODRAW; AAA:2*(DIF-DEA),COLORSTICK; DIK:4*DIF-3*DEA,COLORYELLOW;
DED:=EMA(DIK,1),COLORGREEN; IF(C>DED,DED,DRAWNULL),COLORRED,LINETHICK3; IF(DED<=REF(DED,1),DED,DRAWNULL),COLORGREEN,LINETHICK3; 启动点:=AAA<0 AND AAA>REF(AAA ,1) AND REF(AAA ,1)<REF(AAA ,2)
AND REF(AAA ,2)<REF(AAA ,3) AND REF(AAA ,3)<REF(AAA ,4); STICKLINE(启动点,8,AAA,2,0),COLORMAGENTA; 分界线:0,COLORFF00FF;
DRAWICON(启动点,20,11); STICKLINE(AAA>REF(AAA,1) AND AAA>0,0,AAA,1.8,0),COLOR000055;
STICKLINE(AAA>REF(AAA,1) AND AAA>0,0,AAA,1.1,0),COLOR000099; STICKLINE(AAA>REF(AAA,1) AND AAA>0,0,AAA,0.6,0),COLOR0000BB; STICKLINE(AAA<=REF(AAA,1) AND AAA>0,0,AAA,1.8,0),COLOR40FF00;
STICKLINE(AAA<=REF(AAA,1) AND AAA>0,0,AAA,1.1,0),COLOR40FF00; STICKLINE(AAA<=REF(AAA,1) AND AAA>0,0,AAA,0.6,0),COLOR40FF00; STICKLINE(AAA>REF(AAA,1) AND AAA<0,0,AAA,1.8,0),COLOR000055;
STICKLINE(AAA>REF(AAA,1) AND AAA<0,0,AAA,1.1,0),COLOR000099; STICKLINE(AAA>REF(AAA,1) AND AAA<0,0,AAA,0.6,0),COLOR0000BB; STICKLINE(AAA<=REF(AAA,1) AND AAA<0,0,AAA,1.8,0),COLOR40FF00;
STICKLINE(AAA<=REF(AAA,1) AND AAA<0,0,AAA,1.1,0),COLOR40FF00; STICKLINE(AAA<=REF(AAA,1) AND AAA<0,0,AAA,0.6,0),COLOR40FF00;
选股源码:
DIF:=EMA(CLOSE,9)-EMA(CLOSE,150); DEA:=EMA(DIF,12); AAA:=2*(DIF-DEA); DIK:=4*DIF-3*DEA,COLORYELLOW; DED:=EMA(DIK,1),COLORGREEN; 启动点:AAA<0 AND AAA>REF(AAA ,1) AND REF(AAA ,1)<REF(AAA ,2) AND REF(AAA ,2)<REF(AAA ,3) AND REF(AAA ,3)<REF(AAA ,4);
|