MA1:=EXPMA(CLOSE,5);
MA3:=EXPMA(CLOSE,20);
MA5:=EXPMA(CLOSE,2);
P10:=EXPMA(CLOSE,10);
P60:=EXPMA(CLOSE,60);
M5:=EXPMA(C,5),COLORGREEN;
K:=SMA(RSV,3,1);
J:=3*K-2*D;
R1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
R3:=SMA(MAX(CLOSE-LC,0),20,1)/SMA(ABS(CLOSE-LC),20,1)*100;
CCI:=(TYP-MA(TYP,42))/(0.015*AVEDEV(TYP,42));
快线:=100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
EXIST(CROSS(20,慢线),2) AND LONGCROSS(CCI,200,5) AND EXIST(L<P60,3)COLORRED,LINETHICK3;
LONGCROSS(20,慢线,5) AND EXIST(L<P60,3)COLORRED,LINETHICK3;
MA1>REF(MA1,1) AND REF(MA1<REF(MA1,1),1) AND MA2>MA3 AND
MA1>REF(MA1,1) AND REF(MA1<REF(MA1,1),1) AND MA2>MA3 AND
MA1>MA2 AND EXIST(CROSS(MA2,MA1),3) AND CROSS(MA1,MA2),1,13);
买1:J>REF(J,1) AND REF(J<REF(J,1),1) AND
MA1>REF(MA1,1) AND REF(MA1<REF(MA1,1),1) AND MA2>MA3 AND MA3>MA4 AND EXIST(K<D,2) AND EXIST(L<MA1,2);
MA1>=MA2 AND MA2>MA3 AND MA3>MA4 AND EXIST(K<D,2) AND EXIST(L<MA2,2);
MA1>REF(MA1,1) AND REF(MA1<REF(MA1,1),1) AND MA2>MA3 AND MA3>MA4 AND EXIST(K<D,2) AND EXIST(L<MA2,2)COLORCYAN,LINETHICK1;
MA1>REF(MA1,1) AND REF(MA1<REF(MA1,1),1) AND MA2>MA3 AND MA3>MA4 AND EXIST(K<D,2) AND EXIST(MA1<MA2,2) AND EXIST(L<MA3,2)COLORCYAN;
LONGCROSS(20,慢线,5) AND EXIST(L<P60,3),0.2,34);
EXIST(CROSS(20,慢线),2) AND LONGCROSS(CCI,200,5) AND EXIST(L<P60,3),0.5,14);
提前埋伏1:DRAWICON(CROSS(R1,50) AND R2>50 AND R3>50 AND C>O AND MA5<MA1,1,40);