Linear Regression Channel

 
Hi,

Can you please elaborate how the top and bottom channel lines are calculated for the linear regression channel. Is it a standard deviation like the standard deviation channel?

Also is it possible to draw the linear regression channel without these channel lines? Maybe a base function in code?

Thanks
Des