这是不含当天收盘价的,即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...
ma1:ma(close,5);ma2:ma(close,10);ma3:ma(close,20);ma4:ma(close,60);x:=barslast(v/ref(v,1)>2);aa:stickline(x>=0 and x,ref(c,x),ref(c,x),4,0)coloryellow,linethick2;
r:=backset(ref(low,2)=llv(low,5) and low>ref(low,1) and high>ref(high,1),3);t:=backset(ref(high,2)=hhv(high,5),3);t1:cross(t,0.9);t2:cross(r,0.9);买进:=cross(r,0.9),stick,linethick9,colorred;卖出:=t1,stic...