Download MetaTrader 5

Indicators: Linear Regression Indicator

To add comments, please log in or register
What is MetaQuotes ID? Find that out from the article!
MetaQuotes Software Corp.
Moderator
181216
MetaQuotes Software Corp. 2008.06.22 13:05 

Linear Regression Indicator:

It's a complete analog of indicator LSMA

Author: Victor Nikolaev

MQL4 Comments
16319
MQL4 Comments 2011.03.06 15:33  
Thanks a lot!
Carl Schreiber
6591
Carl Schreiber 2016.02.19 09:53  
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
14505
Victor Nikolaev 2016.02.19 11:17  
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