X_1:=EMA(CLOSE,5);
X_2:=EMA(CLOSE,13);
X_3:=EMA(CLOSE,21);
X_4:=EMA(CLOSE,34);
X_5:=EMA(CLOSE,55);
X_6:=EMA(CLOSE,89);
X_7:=EMA(CLOSE,144);
X_8:=EMA(CLOSE,233);
X_9:=IF(CLOSE>=EMA(CLOSE,5),1,0);
X_10:=IF(EMA(CLOSE,5)>=EMA(CLOSE,13),2,0);
X_11:=IF(EMA(CLOSE,13)>=EMA(CLOSE,21),3,0);
X_12:=IF(EMA(CLOSE,21)>=EMA(CLOSE,34),4,0);
X_13:=IF(EMA(CLOSE,34)>=EMA(CLOSE,55),5,0);
X_14:=IF(EMA(CLOSE,55)>=EMA(CLOSE,89),6,0);
X_15:=IF(EMA(CLOSE,89)>=EMA(CLOSE,144),7,0);
X_16:=IF(EMA(CLOSE,144)>=EMA(CLOSE,233),8,0);
X_17:=IF(CLOSE>=EMA(CLOSE,5) AND EMA(CLOSE,5)>=EMA(CLOSE,13) AND EMA(CLOSE,13)>=EMA(CLOSE,21) AND EMA(CLOSE,21)>=EMA(CLOSE,34) AND EMA(CLOSE,34)>=EMA(CLOSE,55) AND EMA(CLOSE,55)>=EMA(CLOSE,89) AND EMA(CLOSE,89)>=EMA(CLOSE,144) AND EMA(CLOSE,144)>=EMA(CLOSE,233),9,0);
X_18:=IF(CLOSE>=EMA(CLOSE,5),0,1);
X_19:=IF(EMA(CLOSE,5)>=EMA(CLOSE,13),0,2);
X_20:=IF(EMA(CLOSE,13)>=EMA(CLOSE,21),0,3);
X_21:=IF(EMA(CLOSE,21)>=EMA(CLOSE,34),0,4);
X_22:=IF(EMA(CLOSE,34)>=EMA(CLOSE,55),0,5);
X_23:=IF(EMA(CLOSE,55)>=EMA(CLOSE,89),0,6);
X_24:=IF(EMA(CLOSE,89)>=EMA(CLOSE,144),0,7);
X_25:=IF(EMA(CLOSE,144)>=EMA(CLOSE,233),0,8);
X_26:=IF(CLOSE<=EMA(CLOSE,5) AND EMA(CLOSE,5)<=EMA(CLOSE,13) AND EMA(CLOSE,13)<=EMA(CLOSE,21) AND EMA(CLOSE,21)<=EMA(CLOSE,34) AND EMA(CLOSE,34)<=EMA(CLOSE,55) AND EMA(CLOSE,55)<=EMA(CLOSE,89) AND EMA(CLOSE,89)<=EMA(CLOSE,144) AND EMA(CLOSE,144)<=EMA(CLOSE,233),9,0);
X_27:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(X_9,X_10),X_11),X_12),X_13),X_14),X_15),X_16),X_17);
X_28:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(X_18,X_19),X_20),X_21),X_22),X_23),X_24),X_25),X_26);
X_29:=CLOSE>=X_1 AND X_1>=X_2 AND X_2>=X_3 AND X_3>=X_4 AND X_4>=X_5 AND X_5>=X_6 AND X_6>=X_7 AND X_7>=X_8;
X_30:=CLOSE<=X_1 AND X_1<=X_2 AND X_2<=X_3 AND X_3<=X_4 AND X_4<=X_5 AND X_5<=X_6 AND X_6<=X_7 AND X_7<=X_8;
X_31:=BARSLAST(X_29)+1;
X_32:=BARSLAST(X_30)+1;
X_33:=NAMELIKE(3);
X_34:=NAMELIKE(4);
X_35:=NAMELIKE(5);
X_36:=DYNAINFO(8)>0 AND (DYNAINFO(20)>0 OR DYNAINFO(21)>0);
X_37:=NOT(X_33 OR X_34 OR X_35) AND X_36;
XG:X_28>2 AND X_31<X_32 AND LLV(LOW,X_31)=LOW AND X_37;
|