Easy way to use or not an indicator (bool on/off)
-
Hello traders,
I want to make an EA with multiple strategies with a bool option (True/False) to use one indicator, deactivate it or use multiple of them. By making tests with boolean option, the EA does not work.
Please, could anyone tell me if I did something wrong here?
Thanks a lot for your help.
-
@diane1313 Put your bool conditions into a comment block so you can see if they work, you could also change the status so you get the information of what the last block is that passed.
-
@diane1313 If you want all possible combinations to be available you will have to create them separatedly. I know it is exhausting, but otherwisi you will need custom code.