通达信异动形态抓涨停主图指标公式

通达信智能操盘主图指标公式

通达信异动形态抓涨停主图指标公式:

MA1:MA(CLOSE,5);

MA2:MA(CLOSE,10);

MA3:MA(CLOSE,20);

MA4:MA(CLOSE,30);

MA5:MA(CLOSE,60);

MA6:MA(CLOSE,120);

魔鬼线:MA(CLOSE,321),LINETHICK2,COLORRED;

A1:=REF(C,3)/REF(C,4)>1.099 AND REF(C,3)>REF(O,3);

A2:=REF(C,1)<REF(C,2) AND REF(C,1)>REF(O,3) AND REF(O,1)/REF(O,3)<1.05 AND REF(C,1)<REF(C,3);

A3:=L/REF(O,3)<1.03 AND C>REF(C,3);

XG1:=A1 AND A2 AND A3;

DRAWTEXT(XG1,L*0.97,'N字涨停'),COLORWHITE;

{长上影线 + 次日突破上影顶}

AB1:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND MA(C,5)>MA(C,10);

AB2:=REF((H-MAX(O,C))/MAX(O,C)*100>3,1) AND REF((MIN(O,C)-L)/L*100<2,1);

AB3:=O<REF(O,1) AND C>REF(H,1);

XGB1:=AB1 AND AB2 AND AB3;

DRAWTEXT(XGB1,H*1.02,'←突破上影'),COLORYELLOW;

{放量假阴之次日突破}

ZA1:=REF(O,1)>REF(H,2) AND REF(C,1)<REF(O,1) AND REF(H,1)=REF(O,1);

ZA2:=REF(V,1)=HHV(V,15) AND REF(V,1)/REF(V,2)>=3 AND REF(C,1)/REF(C,2)>1.02;

ZA3:=C>REF(H,1);

ZXG:=ZA1 AND ZA2 AND ZA3;

DRAWTEXT(ZXG,REF(H,1)*1.02,'●突破假阴'),COLORGREEN;

{先跌停后涨停}

ac1:=REF(C,1)/REF(C,2)<0.92;

AC2:=C>REF(O,1) AND C/REF(C,1)>1.05;

AC3:=O/REF(C,1)<1.09;

XGC:=AC1 AND AC2 AND AC3;

DRAWTEXT(XGC,L-0.05,'●先跌停后涨停'),COLORRED;

通达信终极买点选股指标公式