How to calculate Linear Regression Channel?

 

Hello

I want to draw "LINEAR REGRESSION CHANNEL" by my hand, so i want to know how to do this mathematically !!

 
For ex:

Close 1 = 80.649
Close 2 = 80.685
Close 3 = 80.691

How to get the middle line value, upper line value and lower line value?

 
Linear Regression Channel, Calculating Method
Linear Regression Channel, Calculating Method
  • 2006.01.15
  • www.mql5.com
Slava, it says in the manual that Linear Regression Channel uses maximum closing price deviation for drawing the parallel lines, and Standard Devia...
 
Sorry … I posted here earlier a link external with a better explanation of the linear regression… I see is gone… is it against the rules? 
 
Carlos Albert Barbero Marcos #:

Calculation method

https://www.mql5.com/en/forum/45148

Totally gebirish … the guy is asking for method to calculate it with a 🖊… NOT code 
 
Ahmed Abd El Aziz #:
For ex:

Close 1 = 80.649
Close 2 = 80.685
Close 3 = 80.691

How to get the middle line value, upper line value and lower line value?

You need time also for this… check here w.statisticshowto.com/probability-and-statistics/regression-analysis/find-a-linear-regression-equation/#FindaLinear.  You put www in front 
Reason: