TJ:=EVERY(L>REF(L,1),3) AND EVERY(REF(L,3)<REF(L,4),3) AND REF(L,3)=LLV(L,10);
A1:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(TJ))+4);
ZD:=REF(L,A1);
T1:=(COUNT(ZD>L,A1)=1 AND ZD>L) AND A1>5 AND H/L>1.04;
A2:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(T1))+1);
ZG:=REF(H,A2);
COUNT(COUNT(C>ZG,A2)=1 AND C>ZG AND A2<30,5);