这是不含当天收盘价的,即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)*100<5 and abs((ref(close,0)-ref(close,2))/ref(close,2))*100<1.5;以600332为例 11月14-16日振幅;(最高价9.68元-最低价9.26)/9.44元=0.42=4.45%涨跌幅 (9.55-9.44)/9.44=1.17%20%的幅度太夸张了。 20210311
v1:=ema(close,60)-ema(close,300);v2:=ema(v1,300);v3:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;v4:=sma(v3,2,1);v5:=sma(v4,2,1);v6:=close/ref(close,3)>=1.1;v7:=backset(v6,3);买入:if((v7 and coun...