Dropdown lists for Inputs are done using enumerations:
enum enum_types { TYPE1, TYPE2, TYPE3, TYPE4, TYPE5 }; input enum_types Strategy = TYPE1;
The values of enumerations are integers, so you can use a switch or if-else statement to test the value.
sakibco:but it giving me some warning in compiler and its not appearing with a scroll box.Can anyone please provide me the proper codding idea for making this.
extern bool a,b,c; a=false; b=false; c=false; | Why are you trying to run it if you can't get it to compile?#property strict extern bool a=true; extern bool b=false; extern bool c=true; |
honest_knave:
Dropdown lists for Inputs are done using enumerations:
The values of enumerations are integers, so you can use a switch or if-else statement to test the value.
whroeder1:
Why are you trying to run it if you can't get it to compile? |
Thanks a lot for all the help.Now the Dropdown lists are working fine.
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
Halo guys, I am newly learning coding and currently, I am making an EA where I wanted to use this scroll box with boolean idea for different EA strategy.
I'm trying to do this in this way but it giving me some warning in compiler and its not appearing with a scroll box.Can anyone please provide me the proper codding idea for making this.