M1:EXPMA(C,5),LINETHICK1;
M2:EXPMA(C,10),LINETHICK1;
M3:EXPMA(C,17),LINETHICK1;
M4:EXPMA(C,35),DOTLINE;
M5:EXPMA(C,70),DOTLINE;
M6:EXPMA(C,120),DOTLINE;
M7:EXPMA(C,250),COLORBLUE,LINETHICK3;
M8:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K1:=EMA(RSV,3);
D1:=MA(K1,3);
CJL:=V>MA(V,5) AND V>MA(V,55);
XG:=EXIST((CROSS(K,D) OR CROSS(K,0)),2) AND EXIST(CROSS(K1,D1),2)
AND C>M1 AND C>M2 AND C>M3 AND C>M4 AND C>M5 AND C>M6
AND M4>REF(M4,1) AND M5>REF(M5,1) AND M6>REF(M6,1)
AND M1>REF(M1,1) AND M2>REF(M2,1) AND M3>REF(M3,1)
AND M4>M5 AND M5>M6 AND CJL AND NOT(REF(CJL,1));
BUYSHORT_BUY(XG,L);