Friday 21 November 2008

TrendLinearReg


download
Author: Watasi

How a trend changes? How to determine a flat? How to trade? ... etc. This indicator will help to answer these questions.

If you assume that the trend within N bars is a straight line you can calculate the parameters of that line. You know the equation of the straight line from the school, it is y = bx + с. The inclination of the line is characterized by the "b" coefficient or tangent of the angle of slope. The indicator calculates this parameter using the linear regression on every bar and display it in a separate window. If the color is green it means that the value is greater than the previous one, i.e. the angle of slope increases, the red color means the opposite.

0 Comments: