Download MetaTrader 5

require help with indicator color and width settings

To add comments, please log in or register
sergiodv
310
sergiodv  

I don't know anything about programming.

I have a custom indicator 3 Level ZZ Semafor which allows me to change colors of the signal and the width.

However when I close MT4 , the indicator reverts back to default.

Is there a simple setting in the code where I can tell it to remember the users setting or hard code the various colors I want and color width I need.

Thanks in advance.

Alain Verleyen
Moderator
33271
Alain Verleyen  
sergiodv:

I don't know anything about programming.

I have a custom indicator 3 Level ZZ Semafor which allows me to change colors of the signal and the width.

However when I close MT4 , the indicator reverts back to default.

Is there a simple setting in the code where I can tell it to remember the users setting or hard code the various colors I want and color width I need.

Thanks in advance.

You can use a template : attach the indicator, adjust your settings, save a template. Then you just have to attach the template to a chart.

Alternatively you need to change the default values in the code.

To add comments, please log in or register