Number of True/False conditions

Hello,

I have lots of subconditions that can be true/false.

C1=C>O;
C2=C>Ref(C,-1);
C3=C>Ref(H,-1);
.. Etc.

How can I count number of True values of all my conditions on a given bar?

Thank you.

Just add them:

Count = C1 + C2 + C3;
1 Like