Linear Regression Tool Colors

Is there a way to shade the area above the center line as green and below the center line as red?
Any help will be much appreciated.

Hi,

We do have a Shade() function, however, it can only be used with other script functions plotted on the chart (say Bollinger Bands, calculated from the bars). The Linear Regression requires you to manually place the tool on the chart, so won’t work with scripting.