看透趋势副图-精品通达信指标公式源码分享

通达信免费指标 06-30 阅读:87 评论:0

image.png

MA25:=MA(C,25);


EMA135:=EMA(C,135);


EMA250:=EMA(C,250);


涨停:=C>=ZTPRICE(REF(C,1),0.1);


LINE1:=MA25;


LINE2:=EMA250;


LINE3:=EMA135;


STICKLINE(NOT(涨停) AND C>LINE1 AND C>O,C,O,3,1),COLOR15CFD9;


STICKLINE(NOT(涨停) AND C<LINE1,C,O,3,0),COLORD32C5E;


STICKLINE(涨停,C,O,3,1),COLOR00FFFF;


STICKLINE(涨停,L,H,0.3,1),COLOR00FFFF;


STICKLINE( C>LINE1 AND H>=REF(H,1),LINE1*1.02,LINE1,0.3,0),COLOR00FFFF;


STICKLINE( C<LINE1,H,LINE1,0.3,0),COLORFF8080;


L01A:LINE1,LINETHICK3,COLOR0000FF;


L01B:IF(C<LINE1,LINE1,DRAWNULL),LINETHICK3,COLOR00FF00;


DRAWICON(CROSS(LINE2,C),LINE2,23);


DRAWICON(CROSS(LINE3,C),LINE3,23);


牛熊135A: LINE3,LINETHICK3,COLOR000080;


牛熊135B: IF(C<LINE3,LINE3,DRAWNULL),LINETHICK3,COLOR008000;


牛熊250A: LINE2,LINETHICK3,COLORC0C0C0;


牛熊250B: IF(C<LINE2,LINE2,DRAWNULL),LINETHICK3,COLORFF0080;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服