This very simple script to apply same template to all charts opened at the moment.
I work with binary option, for me is useful.
I hope this screenshot will be useful to explain this script:
The result, after running:
Color version of the Linear Regression indicator.Linear Regression
The indicator uses the least squares method for the construction of the "most suitable" straight line through a series of points of price values.