ka1:=ref(close,2)/ref(open,2)<0.95
and ref(c,2)<ref(c,3);
ka2:=ref(open,1)<ref(close,2) and
ref(close,1)>ref(close,2) and
ref(close,1)>(ref(close,2)+ref(open,2))/2; ka3:=close>ref(close,1);
k
CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)<REF(CLOSE,3) AND
IF(REF(CLOSE,3)<REF(CLOSE,4),1,IF(REF(CLOSE,4)<REF(CLOSE,5),REF(CLOSE,1)<REF(CLOSE,4),
REF(CLOSE,5)<REF(CLOSE,6)));
GET:ZIG(3,5),COLORYELLOW;
PL5:=ZIG(3,5);
EN1:=pl5>REF(pl5,1) AND REF(pl5,1)<=REF(pl5,2) AND REF(pl5,2)<=REF(pl5,3);
EX1:=pl5<REF(pl5,1) AND REF(pl5,1)>=REF(pl5,2) AND REF(pl5,2)>=REF(pl5,3);
PL10:=ZIG(3,10);
GET:ZIG(3,5),COLORYELLOW;
PL5:=ZIG(3,5);
EN1:=pl5>REF(pl5,1) AND REF(pl5,1)<=REF(pl5,2) AND REF(pl5,2)<=REF(pl5,3);
EX1:=pl5<REF(pl5,1) AND REF(pl5,1)>=REF(pl5,2) AND REF(pl5,2)>=REF(pl5,3);
PL10:=ZIG(3,10);
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
xj:=FILTER(BB13>1.7 AND EMA(X1,3)>EMA(X1,5),5);
A1:=V=HHV(V,100);
A2:=C/OPEN>1.030;
TJ:=A1 AND A2; xx:=REF(BARSLAST(TJ),1)>90 OR BAR