M5:=MA(C,5);
HH:=MA(C,10);
JJ:=MA(C,20);
KK:=MA(C,30);
AAAD1:=COUNT(C/REF(C,1)>=1.095,10)=1;
AAAD2:=BARSLAST(V=HHV(V,180));
CG:=BARSLAST(V=FINDHIGH(V,1,179,2));
XG:C/REF(C,1)>=1.095 AND AAAD1 AND C>M5 AND C>HH AND C>JJ AND C>KK AND (AAAD2=0 OR CG=0);