通达信一盏明灯副图指标 源码 贴图
快的:=EMA(CLOSE,12)-EMA(CLOSE,26);
慢的:=EMA(快的,9);
力度:=(快的-慢的)*2;
差距:=ABS(力度-REF(力度,1));
差距率:=ABS(差距/REF(力度,1));
趋势线:=EMA(4*快的-3*慢的,1);
准备:=差距率=LLV(差距率,BARSLAST(CROSS(0,力度)OR CROSS(力度,0))) &&DOWNNDAY(差距率,4)&&DOWNNDAY(ABS(差距),4);
AA:=(C-REF(C,1))/REF(C,1)*100;
AB:=REF(AA,2)< 0 AND REF(C< O,2);
AC:=REF(AA,1)>=3;{公式网WWW.GPXIAZAI.COM}
B:=CROSS(C,MA(C,55)) AND AA>=3 AND AC ;
STICKLINE(B, 0,10, 2, -1),COLORLIMAGENTA;
STICKLINE(B, 0,2, 3, 0),COLORLIMAGENTA;
DRAWTEXT(B,5,'道剑灯'),COLORYELLOW;
STICKLINE(B, 8,10, 3, 0),COLORLIMAGENTA;
STICKLINE(B, 6,7.5, 2, 0),COLORGREEN;
|