rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;a:=ma(c,20);b:=ma(c,60);xg:j<0 and j>ref(j,1) and a>b;测试通过,希望能够帮助你!
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;d<33 and d<k and k>j and k<5;这是通达信的公式,只能满足你备注的条件,金叉前那一天的公式是不存在的。因为公式不能超前引导,如果有那是坑人的。如果有的话,我想要大...
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指标是均线类指...