X_1:=COST(95);
X_2:=(COST(95)+COST(5))/2;
X_3:=COST(5);
X_4:=IF(X_1 REF(X_1,1),X_1,DRAWNULL);
X_5:=IF(X_2 REF(X_2,1),X_2,DRAWNULL);
X_6:=IF(X_3 =REF(X_3,1),X_3,DRAWNULL);
X_7:=EVERY(MA(CLOSE,250) =REF(MA(CLOSE,250),1),3);
X_8:=X_7 AND REF(CLOSE OPEN,2) AND REF(CLOSE OPEN,1) AND CLOSE OPEN AND CLOSE X_3 AND CLOSE X_2 AND X_3=X_6 AND X_2=X_5 OR (X_7 AND X_2=X_5 AND X_3=X_6 AND REF(OPEN X_3 AND CLOSE X_3,1) AND LOW X_3 AND CLOSE X_3);
X_9:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
X_10:=EMA(X_9,9);
X_11:=(X_9-X_10)*2*60;
X_12:=CROSS(X_11-REF(X_11,1),15);
XG:X_12 AND X_8;