X_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9 AND HIGH>LOW;
X_2:=REF(EMA((HIGH+LOW+CLOSE)/3,10),1);
X_3:=EMA(HHV(HIGH,10),3);
X_4:=EMA(LLV(LOW,10),3);
X_5:=EMA(X_2*2-X_4,3);
X_6:=DATE<1290920;
X_7:=DMA(CLOSE,vol/CAPITAL);
X_8:=(CLOSE/REF(CLOSE,1)-1)*100>9;
X_9:=(CLOSE/REF(CLOSE,1)-1)*100<40;
X_10:=100*VOL/(FINANCE(7)/100);
X_11:=SUM(X_10,10);
X_12:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_13:=REF(X_12,1);
MK:=X_11<500 AND OPEN<X_5 AND CLOSE>X_5 AND VOL<REF(VOL,1)*1.9 AND X_8 AND X_9 AND X_6 AND COUNT(X_1,30)>=2;
XG:FILTER(MK,10) COLORMAGENTA LINETHICK3;