这是不含当天收盘价的,即t-1,t-2,t-3,112只符合条件(hhv(h,3)-llv(low,3))/ref(close,3)*100<5 and abs((close-ref(close,3))/ref(close,3))*100<1.5;这是含当天收盘价的,即t,t-1,t-2,可以盘中选股,1只符合条件(hhv(h,3)-llv(low,3))/ref(close,3...
你要的选来股公式代码如下源 n:=9;m1:=3;m2:=3;var1:=(high+low+close)/3;var2:=(var1-ma(var1,14))/(0.015***edev(var1,14));var3:=if(trou**ars(3,16,1)=0 and high>low+0.04,80,0);var4:=if(zig(3,22)>ref(zig(3,22),1)a...
p:=(high+low+close)/3;cci:=(p-ma(p,84))*100/(1.5***edev(p,84));a:=cross(cci,100);dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=2*(diff-dea);b:=macd>0 and corss(dif,dea);rsv:=(close-llv(low...