Boolean or what?
-
If I want to be able to pick 1,2,3 from a list in the EA, how should that be done?
The boolean is only used for true or false, right?But if I want to set a block that is doing this if the user picked 1 and doing that if they picked 2 and a third block if they picked number 3.
I have tried to figure out how to do this, but not sure...
Anyone? -
Yes, boolean is true/false, which is like 1/0
Use "int" data type for whole numbers
-
But then I won't get a dropdown menu in MT4 when making the choice.
Or how is that one with int? To set the ones the user can pick from (1,2 or 3). -
Dropdowns are not supported in fxDreema. Yes, in MQL you can define custom... dropdowns. Enumerations, this is how actually they call them. But this is currently not available from fxDreema. But you can use all predefined enumeration, for example ENUM_MA_METHOD. To do that write ENUM_MA_METHOD for data type (instead of int)