X_1:=12;
X_2:=26;
X_3:=200;
X_4:=9;
X_5:=34;
X_6:=1;
X_7:=1;
X_8:=EMA(CLOSE,X_1)-EMA(CLOSE,X_2);
X_9:=EMA(X_8,X_3);
X_10:=(X_8-X_9)*2*X_7;
X_11:=EMA(CLOSE,X_4)-EMA(CLOSE,X_5);
X_12:=EMA(X_11,200);
X_13:=(X_11-X_12)*2*X_7;
X_14:=MA(CLOSE,30);
X_15:=X_14+2*stD(CLOSE,30);
XG:CLOSE>X_15 AND CLOSE>=OPEN;