Download MetaTrader 5

Indicators: Linear Regression Indicator

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
192432
MetaQuotes Software Corp.  

Linear Regression Indicator:

It's a complete analog of indicator LSMA

Author: Victor Nikolaev

MQL4 Comments
16316
MQL4 Comments  
Thanks a lot!
Carl Schreiber
Moderator
7943
Carl Schreiber  
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

Victor Nikolaev
Moderator
15906
Victor Nikolaev  
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
To add comments, please log in or register