Trouble checking a Boolean Variable
-
Hi,
I have used a condition block to try and check a value.
Left Side:
Value
Numerical
[myBooleanValue]== Equal to
Right Side
Value
Boolean
TrueI cannot seem to get a positive output even though I have set the variable to True and tested using Print showing true in the Journal during backtesting. I also set the Left Side to Boolean just in case it was that.
What am I doing wrong? Thank you very much for your help.
Update: I created a new project and did a simple test it worked. For some reason I doesn't work in my main project.
-
Here is something that I tried now:
[MQL4] https://fxdreema.com/shared/Y7hn2uq1d
[MQL5] https://fxdreema.com/shared/uWj3Hc36bI also defined the variable as int and I used values like 0 and 1 for it, but I can't find something wrong. Can you give me some project or tell me which one of your projects should I look at?
-
Sorry to waste your time, I realised it was a purely a problem of block execution order, my numbering was all out.
Thanks again.