X_1:=CLOSE/MA(CLOSE,60)*100<75;
X_2:=CLOSE/MA(CLOSE,40)*100<80;
X_3:=HIGH>LOW*1.052;
X_4:=X_3 AND COUNT(X_3,5)>1;
X_5:=CLOSE=LOW AND HIGH=LOW;
X_6:=X_4 AND (X_2 OR X_1) AND NOT(X_5);
X_7:=CLOSE>OPEN AND EXIST(X_6,10) AND EMA(CLOSE,5)>REF(EMA(CLOSE,5),1);
买入:FILTER(X_7,20),COLORMAGENTA;