X_1:=MA(CLOSE,3);
X_2:=MA(CLOSE,30);
X_3:=MA(CLOSE,60);
X_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=3*X_5-2*X_6;
X_8:=(HIGH+LOW+CLOSE)/3;
X_9:=(X_8-MA(X_8,14))/(0.015*AVEDEV(X_8,14));
XG:CROSS(X_7,X_6) AND CROSS(X_7,X_5) AND X_7<20 AND X_2>X_3 AND X_1<X_2 AND X_9<(-80);