I understand how this can be confusing, but that's how the AP is intended to work. The idea is that the user enters the value first and only then ticks the checkbox. Having a zero value in that condition is a totally valid situation.
Email address (and other related settings) are controlled via MetaTrader's options: Tools->Options->Email.
I'm not sure what exactly you mean here, but you might want to look at the DoNotDisableConditions and DoNotDisableActions input parameters.
You mean something like a global "Enable/Disable" button? I will consider adding this. Thanks!
Thanks a lot for the answer.
--> "Having a zero value in that condition is a totally valid situation."
I think the user will be able to input a zero, but input a zero and then checking the option in the checkbox, in my opinion two options should be considered:
1- when you tick the checkbox and you have a zero value a message should appear
2- when you tick the checkbox and you have a zero value, nothing should happen in case you have open orders.
Because I have input a zero and then tick the chekbox and the EA automatically has removed the orders I had open. And when you are dealing with money that's not easy (although I have done it in a demo account).
Another nice to have, in my opinion, would be to not allow the user to input negative values. Specially in the conditions fields.
--> "I'm not sure what exactly you mean here, but you might want to look at the
DoNotDisableConditions and
DoNotDisableActions input parameters."
What I meant was an option to save to the disk your EA defaults. This way when you open the EA you could automatically populate the fields/options with your configuration.
--> "You mean something like a global "Enable/Disable" button? I will consider adding this. Thanks!"
Yes. This way you could change the options without any risk of kicking off the EA inadvertently.
The default behavior would be Disable, then only when the user selects Enable the EAs kicks off.
Thanks