diff=ema(close,12)-ema(close,26);dea=ema(diff,9);t1:=macd>0 and macd-dea>0.03;t2:=diff-dea>1.0;if(26>12) { if(t1=1 and ref(t1,1)=0) buy;if(t2=1 and ref(t2,1)=0) sell;} 没明白这买卖依据,macd指标是均线类指...
wr1:100*(hhv(h,10)-c)/(hhv(h,10)-llv(l,10));wr2:100*(hhv(h,6)-c)/(hhv(h,6)-llv(l,6));xg: wr1=wr2 and wr1>=80;这就可以了,不过貌似会选出很多的票哦,没有实战功能。轻松学会用通达信软件编写公式和指标5, 选股公式,指标,主副图之间任意转换。自己写的,请多多捧场。