Join our fan page
- Views:
- 16821
- Rating:
- Published:
- 2014.10.02 10:46
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Linear regression is a statistical tool used to predict future prices based on past data.
The indicator uses the least squares method for the construction of the "most suitable" straight line through a series of points of price values.
As input parameters used the number of bars (candles) to use in the calculation. This indicator is a good for use in Expert Advisors.
Input parameters:
- input int LRMAPeriod=14; // Period LRMA
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/11898
![AwesomeModPips](https://c.mql5.com/i/code/indicator.png)
This indicator is a modification of classical Awesome Oscillator indicator.
![PipsToAverage](https://c.mql5.com/i/code/indicator.png)
This indicator measures the (smoothed) distance in pips between the close and an exponential moving average.
![Color Linear Regression](https://c.mql5.com/i/code/indicator.png)
Color version of the Linear Regression indicator.
![Apply Template](https://c.mql5.com/i/code/script.png)
Simple script for apply template and/or timeframe to all charts opened.