dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);var1:=(2*close+high+low)/4;var2:=expma(expma(expma(var1,4),4),4);j: =(var2-ref(var2,1))/ref(var2,1)*100, colorstick;d: =ma(j,3);k: =ma(j,1);xg:dea>ref(dea,1) and ref(j,2)>ref(j,1) and ref(j,1)<j and ref(d,2)>ref(d,1) and ref(d,1)<j 20210311
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg:macd>0 and dif-dea<0.1 and dif>dea;你设计这样的条件会出现大量金zhidao叉时或者死叉前dif与dea离的很近符版合选股条件. 如果你要是想选dif与dea一段时间离的很近,缺少时间条件. 至于在30分钟选...