Download MetaTrader 5
To add comments, please log in or register
All activity at is clearly visible. Have a look at the Wall!
Automated-Trading 2013.10.18 17:55 


A smooth non-normalized oscillator implemented in the form of a color histogram.

How does trend change? How to select flat? How to trade? ... etc. If we assume that the trend of N bars is a straight line, we can calculate the parameters of this line. Equation of the line is y = bx + c. The line slope is characterized by the "b" coefficient.

The indicator calculates this parameter by linear regression for every bar and displays it in a separate window. Color green shows that the value that is greater than the previous one, i.e. the angle increases, the red means just the opposite.

Fig. 1. The TrendLinearReg indicator

Author: Nikolay Kositsin

To add comments, please log in or register