ZigZag on Parabolic SAR for MetaTrader 5

My latest conversion from MT4 to MT5 code is the ZigZagOnParabolic indicator. The original indicator (as well as its MT5 version) is an improvement over standard ZigZag indicator that uses the data from Parabolic SAR (also a standard indicator) to calculate ZigZag peaks and bottoms. The indicator is also moderately customizable. Unfortunately, the MT5 version of the indicator became really worse than the MT4 one. MQL5 code is bulkier and much slower than the previous version — it lags heavily on M1 timeframe. The one important thing that is better with the MT5 version of ZigZagOnParabolic is the better readability of the code.
You can get the code of MT5 version or read more ZigZagOnParabolic indicator about the indicator.

If you find some bugs in this MT5 indicator or want to make a suggestion regarding its functionality or what should be my next MT4->MT5 conversion, please, use the commentary form below.

Leave a Reply

Your email address will not be published. Required fields are marked *