Write a script to modify settings of an indicator for all open charts

MQL4 Indicators Scripts

Specification

I need a script to change settings of an indicator for all open charts - all charts in a profile effectively. But it must not create a new template or overwrite the existing template, as each CCY pair has a different template, with different indicator settings.

I would like the script written so it is generic enough for me to change as i often change settings on different indicators, and so may need to change / adapt the script


In the first instance I need to change the Visualisation settings on an indicator - ie to set which timeframes are included.

I would also like the ability to change a parameter for an indicator. So would need to be able to modify the script easily to change the name of the indicator that it applies to and the relevant parameter and setting - -I am happy to just modify the script, I don't need it to input parameters. But again this needs to be for all open charts.

Not sure if this ends up being two separate scripts?



Responded

1
Developer 1
Rating
(58)
Projects
90
43%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
2
Developer 2
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
3
Developer 3
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes

Project information

Budget
50+ USD