X_1:=IF(FINANCE(3)=4 OR (FINANCE(3)=3 AND DATE>=1200824),1.2,1.1);
X_2:=CLOSE=HIGH AND CLOSE>REF(CLOSE,1)*X_1-0.01;
X_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_4:=(HIGH-LOW)/REF(CLOSE,1)*100;
X_5:=COUNT(X_2,7) OR SUM(X_3,7)>20;
X_6:=EVERY(CLOSE>MA(CLOSE,13),4);
X_7:=X_4>3 AND CLOSE
X_9:=REF(X_7,1) AND CLOSE>OPEN AND X_3>3.5 AND CLOSE>REF(OPEN,1)*0.98 AND AMOUNT/100000000>3;
X_10:=X_5 AND X_6 AND X_9 AND X_8;
XG:X_10;