通达信实用分时指标(源码)
2014-10-17 22:20:00来源:本站整理浏览:313
MA30:=EMA(CLOSE,30);
强弱:EMA(CLOSE,900);
STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;
STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;
LC:=REF(CLOSE,1);
H1:=MAX(LC,HIGH);
L1:=MIN(LC,LOW);
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撑:L1+P1*0.5/8,COLOR00DD00;
现价:CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;
DRAWTEXT(CROSS(支撑,现价),支撑*1.001,'★B'),COLORYELLOW;{吸}
DRAWTEXT(CROSS(现价,阻力),现价,'★'),COLORRED;{抛};
- 上一篇公式:通达信牛市杀庄主图指标(源码)
- 下一篇公式:通达信逃离升天主图指标(源码)