将大智慧版的薛斯通道指标改成通达信版
2020/1/13 18:37:23
公式编写说明:
请老师们帮忙将大智慧版的薛斯通道指标改成通达信版,非常感谢指标公式如下:VAR2:=CLOSE*VOL;VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,13);VAR4:=EMA(CLOSE,9);SUP:1.06*VAR3,PRECIS2;SDN:VAR3*0.94,PRECIS2;LUP:EMA(VAR4*1.14,5),PRECIS2;LDN:EMA(VAR4*0.86,5),PRECIS2;a:=c>ref(h,3) and cross(c,sdn) and c>0;DRAWTEXT(a,sdn,'★'),COLORYELLOW;SPJ:CLOSE,PRECIS0,LINETHICK0 ; MA250:MA(SPJ,120),COLOR0000FF ;
公式源码示例:
var2:=close*vol;
var3:=ema((ema(var2,3)/ema(vol,3)+ema(var2,6)/ema(vol,6)
+ema(var2,12)/ema(vol,12)+ema(var2,24)/ema(vol,24))/4,13);
var4:=ema(close,9);
sup:1.06*var3;
sdn:var3*0.94;
lup:ema(var4*1.14,5);
ldn:ema(var4*0.86,5);
a:=c>ref(h,3) and cross(c,sdn) and c>0;
drawtext(a,sdn,'★'),coloryellow;
spj:intpart(close),nodraw;
ma250:ma(spj,120),color0000ff;
看股吧 公式 www.kanguba .com
其它股票公式列表