通达信——波段多空副图指标,献给稳健的操...

通达信——波段多空副图指标,献给稳健的操作者

关于用法,我就不一一说明了,指标在每个人手里,表现出的效果都不一样,实在搞不明白的可以单独问我!

源码:

VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,34);
VAR3:=SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1);
VAR4:=SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1);
DRAWBAND(VAR3,RGB(155,50,50),50,RGB(0,100,50));
做多力量:VAR3,COLORRED;
做空力量:VAR4,COLORGREEN;
VAR5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;
操作:EMA(VAR5,3),COLORYELLOW;
STICKLINE(C,80,80,1,0),COLOR3C3CFF;
STICKLINE(C,50,50,1,0),COLORYELLOW;
STICKLINE(C,20,20,1,0),COLORCYAN;
DRAWTEXT_FIX(C!=0,0.05,0.1,0,'做多力量大于50持股'),COLOR00FFFF;
DRAWTEXT_FIX(C!=0,0.05,0.15,0,'做多力量小于50持币'),COLOR00FFFF;

(0)

相关推荐