通达信超短突破指标公式

通达信阿哲买卖指标公式

通达信超短突破指标公式:

A1:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18));

R18:A1-0.5,COLORLIMAGENTA;

MR3:MA(R18,3),COLORYELLOW,DOTLINE;

操作:EMA(A1,5)-0.5,COLORRED,NODRAW;

阻力:EMA(A1,21)-0.5,COLORCYAN,NODRAW;

棒:=(操作-阻力),COLORstICK;

收盘价买:C<REF(C,1) AND A1>REF(A1,1),COLORMAGENTA,NODRAW;

反弹买:REF(棒<0,1) AND REF(COUNT(crOSS(R18,MR3),6)=1,1)AND CROSS(R18,MR3)AND 棒>REF(棒,1),COLORWHITE,NODRAW;

STICKLINE(棒>0,0,棒,0.1,0),COLORRED;

STICKLINE(棒<0,0,棒,0.1,1),COLORLICYAN;

STICKLINE(棒>0 AND 棒<REF(棒,1),0,棒,0.1,1),COLORLIGREEN;

STICKLINE(棒<0 AND 棒>REF(棒,1),0,棒,0.1,0),COLORLIRED;

STICKLINE(CROSS(操作,阻力),0,棒,0.1,0),COLORYELLOW;

DRAWTEXT(CROSS(操作,阻力) AND 阻力<0.1,棒,'突破'),COLORYELLOW;

DRAWTEXT(CROSS(阻力,操作) AND 阻力>0.25,棒,'破位'),COLORGREEN;

STICKLINE(收盘价买=1,0,0.2,0.1,0),COLORMAGENTA;

STICKLINE(反弹买=1,0,0.1,0.1,0),COLORWHITE;

0,COLORGRAY,DOTLINE;

通达信均线优化主图指标公式