X_1:=MA(vol,10);
X_2:=MA(CLOSE,20);
X_3:=ATAN((X_1/REF(X_1,1)-1)*100)*180/3.141593;
X_4:=EVERY(X_3>75,5);
X_5:=MA(VOL,5);
X_6:=MA(VOL,10);
X_7:=ATAN((X_5/REF(X_5,1)-1)*100)*180/3.141593;
X_8:=BArslAST(X_4);
X_9:=X_8<=3;
X_10:=REF(X_5,X_8);
X_11:=VOL/REF(VOL,1);
X_12:=FINDHIGHBARS(X_11,X_8,13,1);
X_13:=FINDHIGHBARS(X_5,X_12+5,20,1);
X_14:=REF(X_5,X_13);
X_15:=HHV(X_5,X_12)/X_14>1.18;
X_16:=REF(X_11,X_12)>=1.91;
X_17:=X_15 AND X_16 AND X_9;
X_18:=BARSLAST(X_17);
X_19:=MA((2*CLOSE+HIGH+LOW)/4,5);
X_20:=X_19*102/100;
X_21:=X_19*(200-102)/100;
X_22:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
X_23:=DMA(CLOSE,X_22);
X_24:=(1+7/100)*X_23;
X_25:=(1-7/100)*X_23;
X_26:=(X_24+X_25)*0.5;
X_27:=ATAN((X_25/REF(X_25,1)-1)*100)*180/3.141593<=15;
X_28:=EXIST(HIGH
X_30:=(X_29-MA(X_29,14))/(0.015*AVEDEV(X_29,14));
X_31:=FINDHIGHBARS(X_30,1,20,1);
X_32:=REF(X_30,X_31)>100;
X_33:=FINDLOWBARS(X_30,0,X_31,1);
X_34:=REF(X_30,X_33)<(-100);
X_35:=X_31>3 AND X_32 AND X_34 AND X_33=1;
X_36:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),20)-1)*100)*180/3.141593;
X_37:=MA(CLOSE,20)>REF(MA(CLOSE,20),1);
X_38:=EVERY(X_36>75,4) AND EVERY(X_37,X_18) AND EVERY(X_36<88,4);
XG:X_35 AND X_28 AND X_38;