VAR1:=REF(OPEN>CLOSE,3) AND REF(OPEN>CLOSE,2) AND REF(OPEN<CLOSE,1);
VAR2:=OPEN>CLOSE;
VAR3:=REF(CLOSE,1)/CLOSE>=1.03;
VAR4:=CLOSE/LOW<1.03;
VAR5:=vol<REF(VOL,3)*1.2 AND VOL>REF(VOL,3)*0.9;
VAR6:=HIGH<REF(HIGH,1);
VAR7:=EMA(C,5)>MA(C,14)*1.017;
VAR8:=REF(OPEN<CLOSE,3) AND REF(OPEN<CLOSE,2) AND REF(OPEN>CLOSE,1);
VAR9:=REF(C,2)<REF(C,1)*1.01;
VAR10:=V<LLV(V,16)*9.5;
VAR11:=(C-L)<(O-C)*0.6;
VAR12:=REF(C,1)/REF(C,2)<1.0995;
VAR13:=REF(H,1)/C<1.07;
VAR14:=H-O>(C-L);
VAR15:=REF(H/MIN(O,C),3)>1.011;
X_15:=IF(CLOSE<OPEN,(CLOSE-LOW)/(HIGH-LOW),0);
涨幅:=C/REF(C,1);
XG1:=VAR8 AND VAR2 AND 涨幅<1.098 AND VAR3 AND VAR4 AND VAR6 AND VAR11 AND VAR12 AND VAR10 AND VAR13 AND VAR14 AND VAR15 AND VAR9 AND X_15>0.03 AND X_15<0.3;
XG2:=VAR1 AND VAR2 AND VAR3 AND VAR4 AND VAR5 AND VAR6 AND VAR7,COLORRED,LINETHICK2;
尾盘淘金:XG1 OR XG2 AND IF(CODELIKE('300'),0,1) AND IF(CODELIKE('688'),0,1) AND IF(CODELIKE('ST'),0,1);