MT4 Indicator Won't Save Settings

Back to topics list To post a new topic, please log in or register
avatar
1
mcodex 2014.01.02 19:09
 

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.



avatar
12985
WHRoeder 2014.01.02 20:13 #
 

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

avatar
21
Roddo 2016.06.28 06:33 #
 
WHRoeder:

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

I have an Indicator that saves it's settings "maprofit.mq4" what part of the code would enable it to save.
avatar
1200
FMIC 2016.06.28 08:42 #
 
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()".
avatar
21
Roddo 2016.06.28 11:10 #
 
FMIC:
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 

Back to topics list  

To add comments, please log in or register