【通达信源码分享】精品指标公式-分时很准源码

通达信免费指标 03-12 阅读:653 评论:0

公式源码:


DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,' ',0),LINETHICK2;


MA30:=EMA(CLOSE,30);


强弱:EMA(CLOSE,900);


STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;


STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;


H1:=MAX(DYNAINFO(3),DYNAINFO(5));


L1:=MIN(DYNAINFO(3),DYNAINFO(6));


P1:=H1-L1;


阻力:L1+P1*7/8,COLOR00DD00;


支撑:L1+P1*0.5/8,COLOR00DD00;


现价:CLOSE,COLORWHITE,LINETHICK1;


STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;


DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★B'),COLORYELLOW;{吸}


DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★'),COLORRED;{抛};


 


N:=34;M1:=3;M2:=3;N1:=55;M3:=3;M4:=3;


RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;


K:SMA(RSV,M1,1),LINETHICK2;


D:SMA(K,M2,1),LINETHICK2;


RSV1:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;


K1:SMA(RSV1,M3,1),LINETHICK2;


D1:SMA(K1,M4,1);


DRAWTEXT(CROSS(K1,D),K,'★低吸 '),COLORFFFFFF;


DRAWICON(CROSS(K1,D1), K1 ,25),LINETHICK2;


DRAWICON(CROSS(K,D), K ,15),LINETHICK2;

30-1G0241IH5.png

版权声明

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

服务热线

18020657357

微信客服

微信客服