Hi,
How can I create a combo box for different symbols? For example I would like a dropdown box from which I can select different symbols to trade? I am trying the following and it is not working...
input string Currency1="GBPUSD.SBg"; enum Currencies{ GBP="GBPUSD.Sbg", EUR="EURUSD.Sbg", }; input Currencies Currency1=GBP;
Also, in a more generic sense, how to create a combo box for other variable types apart from integer.
Thx
I am not sure what you are asking
enum Currencies{ GBP,//GBPUSD.Sbg EUR,//EURUSD.Sbg };
is that what you want?
You agree to website policy and terms of use
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
Hi,
How can I create a combo box for different symbols? For example I would like a dropdown box from which I can select different symbols to trade? I am trying the following and it is not working...
Also, in a more generic sense, how to create a combo box for other variable types apart from integer.
Thx