通达信压力支撑线主图及选股指标(源码)
2014-03-18 08:46:00来源:本站整理浏览:551
压力线:hhv(h,25),colorff00ff;
支撑线:llv(L,10),color00ffff;
趋势线:=sma(ma((c-支撑线)/(压力线-支撑线)*4,5),5,1);
ma5:ma(c,5),color00ff00;
ma10:ma(c,10),colorff00ff;
ma25:ma(c,25),color0000ff;
K:=SLOPE(c ,7);
DRAWTEXT(CROSS(k,-0.01),l*0.99,'买'),colorffffff;
ar1:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100;
ar2:=SMA(ar1,9,1);
a2:=EMA(ar2,3);
a3:=EMA(a2,3);
a4:=EMA(a3,3);
a5:=EMA(a4,3);
aa:=EMA(a5,6);
a:=LLV(aa,13);
DRAWTEXT(CROSS(a2,a) AND a<50,l*0.98,'买1'),color00ffff;
{
选股公式:
K:=SLOPE(C ,7);
AR1:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100;
AR2:=SMA(AR1,9,1);
A2:=EMA(AR2,3);
A3:=EMA(A2,3);
A4:=EMA(A3,3);
A5:=EMA(A4,3);
AA:=EMA(A5,6);
A:=LLV(AA,13);
买1:CROSS(A2,A) AND A<50 ,COLOR00FFFF;
买:=CROSS(K,-0.01) ,COLORFFFFFF;
}
- 上一篇公式:通达信常蛾起舞指标(源码)
- 下一篇公式:通达信看强庄股指标(源码)