趋势压力支撑-精品通达信指标公式源码分享

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

image.png

N:=10;P:=3;

 VAR1:=(C+L+H)/3;

 VAR2:=EMA(VAR1,6);

 VAR3:=EMA(VAR2,5);

 VAR4:=EMA(VAR3,12);

 VAR5:=EMA(VAR4,5);

 STICKLINE(VAR2>=VAR3,VAR2,VAR3,4,1),LINETHICK2,COLORRED;

 STICKLINE(VAR2<VAR3,VAR2,VAR3,4,1),LINETHICK2, COLORYELLOW;

 STICKLINE(VAR4>=VAR5,VAR4,VAR5,4,1),LINETHICK2,COLORRED;

 STICKLINE(VAR4<VAR5,VAR4,VAR5,4,1),LINETHICK2, COLORYELLOW;

强弱分界: MA(CLOSE,27),LINETHICK1,CIRCLEDOT,COLORCYAN;

卖: 强弱分界+2*STD(CLOSE,27),LINETHICK1,CIRCLEDOT,COLORMAGENTA;

买: 强弱分界-2*STD(CLOSE,27),LINETHICK1,CIRCLEDOT,COLORBLUE;

 BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,DOTLINE,COLORWHITE;

 UPR:BBI+P*STD(BBI,N),DOTLINE,COLORRED;

 DWN:BBI-P*STD(BBI,N),DOTLINE,COLORGREEN;


版权声明

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

服务热线

18020657357

微信客服

微信客服