Please can someone help here, I think my sanity is starting to leave me. I have a strategy that I am busy coding and everything seemed to working ok right up until the point that the AND (&&) operator stopped functioning as expected.
Basically, I have a procedure to check a bunch of parameters and if they all evaluate to TRUE then go long. If any of the checks evaluate to FALSE, no signal is produced.
The code is pretty simple
if (bolOK && atrOK && adxOK && riskOK); { Print("Long Signal Triggered"); Signal = 1; } return Signal;
Is this a known problem or am I doing something stupid?
Thanks a lot
Kevin
Comment