X_1:=1;
X_2:=MA(CLOSE,60);
X_3:=MA(CLOSE,120);
DRAWBAND(X_2,RGB(90,0,0),X_3,RGB(0,90,0));
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_4:=REF(CLOSE,1);
X_5:=IF((CLOSE-X_4)*100/X_4>=10-0.01*100/X_4,1,0);
STICKLINE(X_5,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(X_5,HIGH,LOW,0,0),COLORRED;
X_6:=IF((X_4-CLOSE)*100/X_4>=10-0.01*100/X_4,1,0);
STICKLINE(X_6,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(X_6,HIGH,LOW,0,1),COLORGREEN;
X_7:=IF(REF(CLOSE,1)>REF(OPEN,1) AND OPEN>REF(CLOSE,1)*1.014 AND CLOSE<OPEN*1.02,1,3);
X_8:=MA(vol,5);
X_9:=MA(VOL,12);
X_10:=MA(CLOSE,6);
X_11:=crOSS(CLOSE,X_10);
X_12:=VOL>X_8*1.2 AND VOL>X_9*1.2;
X_13:=X_7>2 AND CLOSE>HIGH*0.975;
X_14:=X_11 AND X_12 AND X_13;
X_15:=CLOSE<=OPEN;
X_16:=COUNT(X_15,5)>=4;
X_17:=REF(X_16,1);
X_18:=X_14 AND X_17;
X_19:=VOL>=HHV(VOL,20);
X_20:=VOL/REF(VOL,1)>1.5;
X_21:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_22:=EMA(X_21,9);
X_23:=2*(X_21-X_22);
X_24:=REF(CLOSE>OPEN OR OPEN>CLOSE,65) AND REF(CLOSE>OPEN OR OPEN>CLOSE,116) AND REF(CLOSE>OPEN OR OPEN>CLOSE,10);
X_25:=REF(X_23,1)<REF(X_23,2) AND X_23>=0 AND X_23>REF(X_23,1);
X_26:=CAPITAL<6000000;
X_27:=CLOSE/REF(CLOSE,1)>1.04;
X_28:=REF(CLOSE<OPEN,1) AND CLOSE>OPEN;
X_29:=(X_18 AND X_19 AND X_20 AND X_25 AND X_26 AND X_27 AND X_28 AND X_24)*X_1;
DRAWICON(X_29,LOW*0.98,9);
DRAWICON(X_29,LOW*0.99,5);