Indicators do not keep settings. Charts do. If you close the chart those settings are lost.
If you want a default chart save a template as default.tpl or tester.tpl
WHRoeder:
I have an Indicator that saves it's settings "maprofit.mq4" what part of the code would enable it to save.
Indicators do not keep settings. Charts do. If you close the chart those settings are lost.
If you want a default chart save a template as default.tpl or tester.tpl
Roddo:
I have an Indicator that saves it's settings "maprofit.mq4" what part of the code would enable it to save.
It uses Terminal Global Variables to save its settings. In that EA, the functions that manage them are "SendVars()", "GetVars()" and "DelVars()".
I have an Indicator that saves it's settings "maprofit.mq4" what part of the code would enable it to save.
FMIC:
It uses Terminal Global Variables to save its settings. In that EA, the functions that manage them are "SendVars()", "GetVars()" and "DelVars()".
It uses Terminal Global Variables to save its settings. In that EA, the functions that manage them are "SendVars()", "GetVars()" and "DelVars()".
Thank you FMIC I am only starting my MQL4 journey and I have a long road ahead of me.
Regards
Rod
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
Hello Community
Sorry if this is a double post but I couldn't find anything related by searching this huge forum.
Could anybody please tell me how to get an indicator save AND keep settings?
Quite frequently I encounter a problem related to indicators that do not keep the setting such as colors and other features once the chart is reloaded or reopened and they get back to the default settings.
That's quite annoying!
Thanks in advance for your help with that.