N:=0;
{N默认为0是指选当日上影线股,N=1为上日,N=2为前日以此类推}
上影线:IF(N=0,vol/REF(VOL,1)>=1.2 AND VOL/REF(VOL,1)<3 AND (H-REF(C,1))/REF(C,1)>0.05 AND (C-REF(C,1))/REF(C,1)>0.048,
REF(VOL,N)/REF(VOL,N+1)>=1.2 AND REF(VOL,N)/REF(VOL,N+1)<3 AND (REF(H,N)-REF(C,N+1))/REF(C,N+1)>0.05 AND (REF(C,N)-REF(C,N+1))/REF(C,N+1)>0.048);