How do I add something of a "separator" or "header" to visually separate different Input parameters in the Expert Properties of an EA?
V
Hi Verpa,
Use the following to add separators in the input section:
input string = "---Separator---";
Use as many as you need...and change the word "separator" to whatever your inputs are for that section...
Example:
input string = "---RSI Settings---";
Hope this helps,
Robert
On, nice! Great, that works :))
Just one note for all who will see the post in the future, it should be :
input string variable_name = "---RSI Settings---";
Thanks, cosmicbeing ;)
On, nice! Great, that works :))
Just one note for all who will see the post in the future, it should be :
input string variable_name = "---RSI Settings---";
Thanks, cosmicbeing ;)
Hi Verpa...
Glad that helped...and thanks for adding the variable name that I missed...
Have fun!
Isn't there a better way to do this? A way that looks a bit more formal.
input group "Group name #1" |
input group "Group name #1" |
I don't believe that works with MQL4
Here's the reference if anyone is interested: https://www.mql5.com/en/docs/basis/variables/inputvariables (around the bottom of the page)
- www.mql5.com
I literally just wanted to post this, haha. Thanks guys :)
Here's the reference if anyone is interested: https://www.mql5.com/en/docs/basis/variables/inputvariables (around the bottom of the page)
That's MQL5 documentation, it doesn't all apply to MQL4.
- input group does not work in the current MT4.
-
input string = "---Separator---";
This is the equivalent. You can also create a completely blank line.
How do I create a Comment Line in the Input Tab? - MQL4 and MetaTrader 4 - MQL4 programming forum
- 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 do I add something of a "separator" or "header" to visually separate different Input parameters in the Expert Properties of an EA?
V