通达信压力线-支撑线 -主图源码 选股贴图通达信公式
2017-10-15 来源:原创 编辑:翔博软件
压力线: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;
压力线: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;