Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2014.10.02 10:46
Indicators

Linear Regression - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
6986
Rating:
votes: 34
LRMA.mq5 (3.55 KB)view

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

Indicator linear regression

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/11898

AwesomeModPips AwesomeModPips

This indicator is a modification of classical Awesome Oscillator indicator.

PipsToAverage PipsToAverage

This indicator measures the (smoothed) distance in pips between the close and an exponential moving average.

Color Linear Regression Color Linear Regression

Color version of the Linear Regression indicator.

Apply Template Apply Template

Simple script for apply template and/or timeframe to all charts opened.