I need some guidance figuring out the AND & OR logic execution. I got an entry with code 1, but not code 2 and code 3 stated below. I couldn’t figure out how did that happen with code 1.
Hi Grahal, in Backtest yes code 1 resulted entry 10/10. Let me relaunch the PRT to test it.
In principle (and by design), how should code 1 run? Eg. it is (x or y) and z? x or (y and z)? Note, The brackets are not written with code 1, I just put them here to elaborate the logic.
Both above mean the same in PRT Code and should gives the same Trades.
code 3 : X AND Z
code 4: Y AND Z
Either of above should give some Trades coincident with code 1 and code 2, but not the same Qty of Trades as either code 1 or code 2 … assuming you use either code 3 OR code 4 in 1 System.
If you use code 3 and code 4 in 1 System (as x and z OR y and z) then the results should be the same as using either code 1 or code 2.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok