B1:=V/CAPITAL*100;
B2:=B1>4 AND C>REF(C,1);
A1:=COUNT(B2,13)>=13;
A2:=C/REF(C,1)>1.049 AND B1>5;
A3:=REF(SUMBARS(V,CAPITAL),13)>89;
A4:=HIGH/C<1.021;
A5:=COUNT(C/REF(C,1)>1.04,10)<5;
A6:=IF(COUNT(B1>4,5)>=3,0,1);
C1:=A1 AND A2 AND A3 AND A4 ;
C2:=A5 AND A6;
C1 AND C2 AND (REF(BARSLAST(C1),1)>20 OR BARSSINCE(C1)=0);