
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
so if you have an indicator that is made of other (iCustom) indi's signals,
A,B & C, which are boolean (only 1/0 values). And I want this for result, which type of loop should I use
If
none of the 3 (A,B,C) is =1 and all 3 are = 0 then result is 0
1 of the 3 (A or B or C) is =1 and the other 2 are =0 then result is 0
2 of the 3 (A&B or B&C or A&C) is =1 and the other 2 are =0 then result is 1
all the 3 (A,B,C) are =1 so none of the 3 =0 then result is 1
so 0 if maximally 1 is 1, 1 if 2 or more are 1..