n:=9;m1:=3;m2:=3;rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;k:=sma(rsv,m1,1);d:=sma(k,m2,1);j:=3*k-2*d;kdj金叉:=cross(j,k);short:=7;long:=10;mid:=5;dif:=ema(close,short)-ema(close,long);dea:ema(dif,mid);macd:=(dif-dea)*2;macd金叉:=cross(dif,dea);xg:kdj金叉 and macd金叉;... 20210311
diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);select:cross(diff,dea)and dea>-1.0 and dea<0.5 and close>ref(close,1)and close>=ma(c,60);复制粘贴以上内容后就可选股