Not possible. MQL does not support dynamically selectable parameters for MQL programs. All parameters declaration are presented.
Not possible. MQL does not support dynamically selectable parameters for MQL programs. All parameters declaration are presented.
Sadly you are correct it seems, compiler error is received saying:
"'switch' - expressions are not allowed on a global scope asdf.mq5 42 1"
You must be mistaken. What you might of seen was a program that created their your own graphics panel for inputs which appears AFTER the standard parameters Properties dialogue box.
Sadly you are correct it seems, compiler error is received saying:
"'switch' - expressions are not allowed on a global scope asdf.mq5 42 1"
You have to code your own "css" so to speak for this . or your own jQuerry to be more precise .
There was a Russian that underwent the endeavor of building his own gui system if i recall .

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
How can I create an indicator that has multiple MAs, but not showing all the MA options at once, but instead revealing the settings for the MA chosen by the first drop down menu?
Would I use something like this?
Would that work? This is just what I think would work. I haven't tried it, yet. If anyone has a better solution that works, lemme know. Much appreciated.