Consider two formula's A and B. For example, A checks if RSI (for example >50) and B checks if CCI (for example >50).
In a normal trade setup we could have (pseudo-code) IF (A>50 && B>50) THEN {....trade....}
How to weight the formula's?
Using a % factor may help. Consider X and Y which are factors;
IF ((X/100 * A + Y/100 * B) / 2) > 50) THEN {....trade....}
But, there is clearly a problem here; a result of 0.10 on the first bit (X/100 * A) and a result of 0.60 on the second bit (Y/100 * B) have the same outcome as 0.60 on the first and 0.10 on the second, while they are very different values.
Another problem is that if check A is >50 and check B > 70 we now have to do something like " > (50+70/2=60) " - all very messy.
Instead, how does one write a formula with proper weights (and && statements) which produces a single yes/no trade outcome?
In a normal trade setup we could have (pseudo-code) IF (A>50 && B>50) THEN {....trade....}
How to weight the formula's?
Using a % factor may help. Consider X and Y which are factors;
IF ((X/100 * A + Y/100 * B) / 2) > 50) THEN {....trade....}
But, there is clearly a problem here; a result of 0.10 on the first bit (X/100 * A) and a result of 0.60 on the second bit (Y/100 * B) have the same outcome as 0.60 on the first and 0.10 on the second, while they are very different values.
Another problem is that if check A is >50 and check B > 70 we now have to do something like " > (50+70/2=60) " - all very messy.
Instead, how does one write a formula with proper weights (and && statements) which produces a single yes/no trade outcome?
Not financial advice. For testing purposes only. Do not use on live account