以下是通达信分享一个指标“突破”(源码主图贴图)(无源码的请下载附件导入)
{突破}
N1:=34;
强压力:HHV((MA(C,1)),150)*0.93 COLORGREEN,LINETHICK1;
H1:EMA(CLOSE,6),COLORWHITE DOTLINE;
IF((ATAN((H1/REF(H1,1)-1)*100)*57.3)>N1,H1,DRAWNULL),COLORWHITE,LINETHICK2;
H2:EMA(EMA(CLOSE,6),18),COLORMAGENTA DOTLINE;
IF(H1>H2 AND (ATAN((H2/REF(H2,1)-1)*100)*57.3)>5,H2,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(H1>H2 AND (ATAN((H2/REF(H2,1)-1)*100)*57.3)>20,H2,DRAWNULL),COLORFBF2FB,LINETHICK1, CIRCLEDOT;
DRAWICON(CROSS(H1,H2*1.008) ,H2,1);
DRAWTEXT(REF(强压力,1)<=REF(强压力,2)*1.012
AND (ATAN((EMA(CLOSE,6)/REF(EMA(CLOSE,6),1)-1)*100)*57.3)>N1 AND C>=强压力 AND 强压力>REF(强压力,1),L*0.97,'突破'),COLORRED;
88133673.jpg
|