dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg:ref(dif,2)>ref(dif,1)and dif>ref(dif,1) and dif>dea and dif-dea<0.02;测试通过,希望能够帮助你!
你好,帮你编写了,希望能帮到你。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;typ:=(high+low+close)/3;cci1:=(typ-ma(typ,14))/(0.015***edev(typ,14));条件选股:cross(k,d) and ...
ma5:=ma(c,5);ma10:=ma(c,10);ma20:=ma(c,20);zf:=(c-o)/o*100>4;bias20:=(close-ma(close,5))/ma(close,5)*100*vol;bias21:=(close-ma(close,5))/ma(close,5)*100*c;量:barslast(barslast(bias20>0 and ref(bi...