va1:=100-3*sma((close-llv(low,65))/(hhv(high,80)-llv(low,65))*100,20,1)+2*sma(sma((close -llv(low,65))/(hhv(high,80)-llv(low,65))*100,20,1),15,1); va2:=100-3*sma((open-llv(low,65))/(hhv(high,80)-llv(low,65))*100,20,1)+2*sma(sma((open -llv(low,65))/(hhv(high,80)-llv(low,65))*100,20,1),15,1); va3:=va1<ref(va2,1) and vol>ref(vol,1) and close>ref(close,1); r:=winner(close+close*15/100)*100; w:=winner(close+close*0/100)*100; hh:=r-w; g:=(winner(close-close*0.1/100)-winner(close-close*15/100))*100; e:=hh<3 and g<0.5 and open!=low; q1:=dyna**(6); q2:=if(low>q1,0,if(high<q1,1,(q1-low+0.01)/(high-low+0.01))); q3:=vol/winner(low); q4:=ref(hhv(close,120),1); q5:=ref(llv(close,120),1); q6:=100*(close-q5)/(q4-q5); q7:=q2>0 or q2=1; q8:=q7 and q3/ref(q3,3)>=3 and q6<80; q9:=ref(q8,1) or ref(q8,2) or ref(q8,3) or ref(q8,4); q10:=q8 and q9; q11:=if(filter(q8,3),5,0); q12:=if(filter(q10,3) or e,10,0); xg1:filter(q8,3)>0;{资金进场日} xg2:filter(q10,3)>0 or e>o;{资金加仓日} 20210311