Hi,
I am trying to code in an input option to my EA that will allow me to disable the 'enter trade logic (Buy/Sell)' whilst still allowing the EA to run on the chart. I have tried to do this by using a boolean variable to create a 'true/false' condition in the code, however I am getting compilation errors as per the screenshot below. Could you kindly have a look and let me know what I need to do in order to fix this? Cheers.
N
......
Capture.PNG