{今日价过5日均价.今日量过5日均量.macd的dif向上.kd金叉.今日价在20日均线上的选股}xg:cross(c,ma(c,5)) and cross(v,ma(v,5)) and macd.dif>ref(macd.dif,1) and cross(kdj.j,kdj.d) and c>ma(c,20); 20210311
m1:=ma(close,5);m2:=ma(close,10);m3:=ma(close,20);m4:=ma(close,30);dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);xg:m1>m2>m3>m4 and high>m1 and dif>dea and ma(v,5)>ma(v,10);公式大概如...
mv5:=ma(amount,5);mv10:=ma(amount,10);mv20:=ma(amount,20);mv30:=ma(amount,30);tj1:=mv5>mv10 and mv10>mv20 and mv20>mv30;tj2:=mv5>ref(mv5,1) and mv10>ref(mv10,1) and mv20>ref(mv20,1) ...