Maybe this works:
sinput string something="...";
https://www.mql5.com/en/docs/basis/variables/inputvariables
Documentation on MQL5: Language Basics / Variables / Input Variables
- www.mql5.com
modifier is indicated before the data type. A variable with the input modifier can't be changed inside mql5-programs, such variables can be accessed for reading only. Values of input variables can be changed only by a user from the program properties window. External variables are always reinitialized immediately before the OnInit() is called...
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
In previous version I used
input const string something="/---Next Values are for simulation--";
to display a readonly string in the input grid.
This approach does not work anymore in the current version.
How can set a readonly sentence or input?
Thanks