Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Nonparametric Zig Zag, Out of Price Walk

Nonparametric zigzag. The monotonicity condition for the ascending segment of the zigzag: the High of any subsequent bar must not be lower than any Low of the ascending segment. Similarly, for the descending segments of the ZigZag.

The ZigZag line (ZigZagLineBuffer) is plotted from the lowest High to the highest Low and vice versa. The "outer" extermums are marked with blue and red lines (HighBuffer and LowBuffer). The arrows ordering may be "wrong" (two consecutive red or two blue arrows may appear).

The indicator doesn't repaint.

I think that this ZigZag can be used to convert the chart into the segments for further analysis.

MetaTrader Experts, Indicators, Scripts and Libraries

278

Best MetaTrader Indicators + Profitable Expert Advisors