ZT:=C/ref(C,1)>1.097;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
H1:=BH=1;
H2:=BH=2;
H4:=BH=4;
H7:=BH=7;
H12:=BH=12;
C1:=ALL(C>REF(L,BH),1);
C2:=ALL(C>REF(L,BH),2);
C4:=ALL(C>REF(L,BH),4);
C7:=ALL(C>REF(L,BH),7);
C12:=ALL(C>REF(L,BH),12);
AA:=BETWEEN(C,REF(L,BH)*1.01,REF(L,BH)*0.987);
TJ1:=AA AND H1 AND C1;
TJ2:=AA AND H2 AND C2;
TJ4:=AA AND H4 AND C4;
TJ7:=AA AND H7 AND C7;
TJ12:=AA AND H12 AND C12;
XG:TJ1 OR TJ2 OR TJ4 OR TJ7 OR TJ12; |