Search This Blog

Tuesday

Corridor and the angle of inclination of the method of least squares

After a set of points can be made directly y = a x + b, while the distance from each point to the line will be approximately balanced.

To build the line and HighLine LowLine used a lot of points, respectively, High and Low for the period MyPeriod.

If CalculateDeflection enabled, then the timetable introduced two more lines HighDeflection and LowDeflection, which indicate a possible price variation (mean error). Hidden Line b shows the importance of free membership in the equation of the line.

Indicator MLS-HL4-Angle calculates the value of a indicates the angle and hit straight to the horizon.

The archive MLS.zip presented mathematics calculation method of least squares.

Forex Indicators

Download forex - Indicators:


MLSOnGraphics.mq4 MLSOnGraphics.mq4
MLS-HL4-Angle.mq4 MLS-HL4-Angle.mq4

No comments: