Puneet55: Is it possible to do this combo enum type in MQL5.
Of course, 5 or 4
enum IndiType { IT_SMA=MODE_SMA, // moving_average IT_EMA=MODE_EMA // exponential_avg } input IndiType indic; ⋮ hMa= iMA(…, (ENUM_MA_METHOD)indic, …); // Only SMA/EMA will be allowed here
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
Hello,
I am trying to create EA where I want to take user input based on the input he selects in the drop down window. Is it possible to do this combo enum type in MQL5.
Thanks MQL5 community.
Best Regards,