Hi everyone, I want to make a drop down list with the option of yes and no. I need 2 enum with those option. Since enum can't have duplicate data, is there's another way to have 2 drop down list with yes and no option?
- Enumerate TimeFrames
- Opening, closing in Expert Advisor generated by MQL5 Wizard
- using ENUM as input
is it for input, using the input modifier? You can just create 2 variables
input enum_yes_no var1 = no; input enum_yes_no var2 = yes;
Luandre Ezra: I need 2 enum with those option.
No, you need one enum with two variables. enum yn{no,yes}; input yn var1 = no; input yn var2 = yes;
Thanks for the help guys!

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