{提前埋伏吃肉}
X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,12);
X_3:=MA(CLOSE,26);
X_4:=MA(CLOSE,60);
X_5:=X_1 AND X_1>X_2 AND X_2>X_3 AND X_3>X_4 AND CLOSE>DTPRICE(REF(CLOSE,1),0.1);
X_6:=CLOSE/REF(CLOSE,1)>1.098;
X_7:=COUNT(X_6,6)>=2;
X_8:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
X_9:=REF(CLOSE,1);
X_10:=SMA(MAX(CLOSE-X_9,0),2,1)/SMA(ABS(CLOSE-X_9),2,1)*100;
X_11:=45;
X_12:=20;
X_13:=X_10<X_11 AND REF(X_10,1)>X_11;
X_14:=X_10<X_12 AND REF(X_10,1)>X_12;
X_15:=COUNT(X_8,13)>=1;
X_16:=SMA(LOW,4,3);
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
A:=LLV(DMA(CLOSE,VOL/CAPITAL),120);
区1:=100*(CLOSE-A)/A,COLORWHITE;
TU:=IF(X_16 AND REF(X_13,1) AND X_15 OR (X_16 AND REF(X_14,1) AND X_15),1,0) AND X_7 AND X_5;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
AM:=L1+P1*7/8,COLORGREEN;
AC:=L1+P1*0.5/8,COLORRED;
AD:=(AC+AM)/2,COLORWHITE,POINTDOT;
V11:=3*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-2*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3,1);
区2:=EMA(V11,3),LINETHICK2,COLORLIMAGENTA;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=(SMA(RSV,3,1));
D:=(SMA(K,3,1));
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
N:=KK+DD,;
预:=IF(CROSS(N,50),90,50),COLOR00FF00;
潜:IF(CROSS(N,99.5) AND 区1>0 AND 区2>50 AND 区2>REF(区2,1) ,100,50),COLORYELLOW;
TA:=BARSSINCE(CLOSE);
MA5:=IF(TA>=5,MA(CLOSE,5),0);
MA10:=IF(TA>=10,MA(CLOSE,10),0);
MA20:=IF(TA>=20,MA(CLOSE,20),0);
MA60:=IF(TA>=60,MA(CLOSE,60),0);
A1:=MA5>MA10 AND MA10>MA20 AND MA20>MA60;
LMAX:=MAX(MAX(MA5,MA10),MAX(MA20,MA60));
穿:=CROSS (CLOSE,MA5) AND VOL>=REF(VOL,1),LINETHICK1,COLORRED;