I liked the Volatility Stop indicator, so I made ZigZag based on it.

The display of points from Volatility Stop can be disabled in the indicator settings.

The indicator is recalculated at the opening of a new candle.
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/50597
Indicator loader for strategy testing
A system to test up to four indicators concurrently in the strategy tester
Consolidation
This indicator calculate count of one direction movement in selected period.
MACD Histogram MC
MACD Histogram
StopLoss trailing classes library for MQL5
A set of classes for automatic moving of StopLoss of open positions by fixed indentation or by values of Parabolic SAR and moving averages indicators, or by specified position stop level.