Indicators: Linear Regression Indicator

 

Linear Regression Indicator:

It's a complete analog of indicator LSMA

Author: Victor Nikolaev

 
Thanks a lot!
 
MetaQuotes Software Corp.:

Linear Regression Indicator:

Author: Victor Nikolaev

Have you mixed up the name?

There is no linear regression but:

      tmp1=iMA(Symbol(),0,period,0,MODE_SMA,price,i);
      tmp2=iMA(Symbol(),0,period,0,MODE_LWMA,price,i);
      tmp3=3.0*tmp2-2.0*tmp1;

And behind your link the original (but slower) indicator is named LSMA in Color.mt4

 
calli:

Have you mixed up the name?

There is no linear regression but:

And behind your link the original (but slower) indicator is named LSMA in Color.mt4

Yes
Reason: