Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

LinearRegression - indicator for MetaTrader 5

Published by:
Nikolay Kositsin
Views:
20388
Rating:
(35)
Published:
2012.02.09 12:30
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

tageiger

When applied to financial markets this method is usually used to determine the moments of prices extreme deviation from a "standard" level.

Creation of a trend line using linear regression is based on the least squares method. This method assumes that a straight line is created that pass through the price points so that the distance between the prices points to the line is as short as possible. In an attempt to predict tomorrow prices, it is logical to assume that they will be located close to the values of today's prices. If there is an uptrend, the best guess would be that the price value will be close to the current one with a certain upward deviation. Regression analysis provides statistical confirmation of these assumptions.

This indicator was first implemented in MQL4 and published in CodeBase at mql4.com 09.10.2007.

Linear Regression indicator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/765

J_TPO J_TPO

Normalized oscillator displayed as a histogram.

DailyRange DailyRange

The indicator calculates forecast prices of the daily price range. It shows resistance and support levels of current day using the prices of the previous day.

JBrainTrendSig1 JBrainTrendSig1

Signal indicator of the popular BrainTrend1 trading system with preliminary price timeseries smoothing.

3X_ParabolicRegression 3X_ParabolicRegression

Two rectilinear channels of standard deviations + curvelinear channel of the parabolic regression with interpolation of a price chart future values.