X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=MA(CLOSE,250);
X_4:=OPEN
X_5:=OPEN
X_6:=OPEN
X_7:=MA(CLOSE,60);
XG:X_4+X_5+X_6>2 AND CLOSE>MA(CLOSE,60) AND COUNT(X_7>REF(X_7,1),3)>2;
X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=MA(CLOSE,250);
X_4:=OPEN
X_5:=OPEN
X_6:=OPEN
X_7:=MA(CLOSE,60);
XG:X_4+X_5+X_6>2 AND CLOSE>MA(CLOSE,60) AND COUNT(X_7>REF(X_7,1),3)>2;