This is an idea which might be useful. On property sheets, when you are asked to input an enumerant as a value the user can often be left guessing as to what it means. As an alternative to displaying numbers, why not make a drop down list display from which the user can make a selection. This would have the added advantage of restricting the input value to an index into the list. For example, in the code below, PriceMode would only return a value from 0 to 4. This idea could also be applied to the bool type, so we could have yes/no or on/off as an alternative to true/false.
- Lists of Objects Applied - Additional Features - Price Charts, Technical and Fundamental Analysis
- Creating an indicator - MQL4/MQL5 Wizard
- Indicators - Charts - MetaTrader 5 for Android
This feature was scheduled but I don't know when it will be implemented
Thanks Slawa. Glad to know that it is at least on your list. It's not too critical, but helpful nonetheless.
I was also looking for a feature like this, that could allow a user to select from a drop down list with predefined values (strings, number or anything). I will look forward for it.
Regards,
Cleon
Regards,
Cleon
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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