AYMERIC75:
Hi,
In my EA I want to have an input which can be chosen from MARGIN_LOTS_ALL , MARGIN_LOTS_CALL or MARGIN_LOTS_STOPOUT
I have tried :
But I get:
Any idea ?
Ok I just found out...
enum ENUM_MARGIN_LOTS_MODE { MARGIN_LOTS_ALL, MARGIN_LOTS_CALL, MARGIN_LOTS_STOPOUT }; input ENUM_MARGIN_LOTS_MODE themode = MARGIN_LOTS_CALL;
Then use "themode" as a variable for the mode in your code
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
In my EA I want to have an input which can be chosen from MARGIN_LOTS_ALL , MARGIN_LOTS_CALL or MARGIN_LOTS_STOPOUT
I have tried :
But I get:
Any idea ?