X_1:=9991121;
X_2:=31;
XG:DATEOPEN AND LOW>MA(HIGH,5),1),1) AND OPEN>REF(HIGH,1) AND (OPEN[REF(HIGH,1),3))) AND (MA(CLOSE,5)>=REF(MA(CLOSE,5),1) OR MA(CLOSE,10)>REF(MA(CLOSE,10),1)) AND (REF(REF(LLV(LOW,20),1),REF(BArslAST(CLOSE<=REF(LLV(LOW,20),1)),1)+1)>REF(REF(LLV(LOW,240),1),REF(BARSLAST(CLOSE<=REF(LLV(LOW,240),1)),1)+1) OR REF(REF(LLV(LOW,20),1),REF(BARSLAST(CLOSE<=REF(LLV(LOW,20),1)),1)+1)=DRAWNULL OR REF(REF(LLV(LOW,240),1),REF(BARSLAST(CLOSE<=REF(LLV(LOW,240),1)),1)+1)=DRAWNULL) AND MA(CLOSE,5)>MA(CLOSE,20) AND HIGH>MAX(MAX(MA(CLOSE,5),MA(CLOSE,10)),MA(CLOSE,15)) AND BARSLASTCOUNT(COUNT(MA(CLOSE,20)>REF(MA(CLOSE,20),BARSLASTCOUNT(MA(CLOSE,20)>REF(MA(CLOSE,20),2))*2),BARSLASTCOUNT(REF(REF(LLV(LOW,20),1),REF(BARSLAST(CLOSE<=REF(LLV(LOW,20),1)),1)+1)=REF(REF(REF(LLV(LOW,20),1),REF(BARSLAST(CLOSE<=REF(LLV(LOW,20),1)),1)+1),1)))=1)=1);]