Ideal ZigZag

  1. The most expensive function is iBarShift which totally replaces all cycles in the code needed for peaks retrieval.
  2. All information needed to build ZZ for every bar is accessible not only in every moment but also for every extern code.
  3. No suspended peaks
  4. Efficient method to find peaks is available
  5. Very fast
  6. Works correct at history insertions and when switching TFs.
  7. Perfect for use in EA.

Disadvantages :

1. Memory requirements. This indicator uses 5 buffers instead of 2 (or even 1) in other similar implementations. But (imho) this is good price for advantages #6 and #7. None of fast ZigZags I have seen can process history insertions without full rebuild. Mine does it. Moreover it does it in efficient way

Thank you for reading this post, don't forget to subscribe!

2. Additional lines are available. This is required to make the data visible for any extern code. These lines should never be visible.


The ZZ is drawn by the channeling principle.

The channel width can be defined in Points (XLab_ZZ) or in Percent (XLab_ZZP)


MT4 Indicators – Download Instructions

[post-title] is a Metatrader 4 (MT4) indicator and the essence of the forex indicator is to transform the accumulated history data.

[post-title] provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye.

Based on this information, traders can assume further price movement and adjust their strategy accordingly.

How to install [post-title].mq4?

  • Download [post-title].mq4
  • Copy [post-title].mq4 to your Metatrader Directory / experts / indicators /
  • Start or restart your Metatrader Client
  • Select Chart and Timeframe where you want to test your indicator
  • Search “Custom Indicators” in your Navigator mostly left in your Metatrader Client
  • Right click on [post-title].mq4
  • Attach to a chart
  • Modify settings or press ok
  • Indicator [post-title].mq4 is available on your Chart

How to remove [post-title].mq4 from your Metatrader 4 Chart?

  • Select the Chart where is the Indicator running in your Metatrader Client
  • Right click into the Chart
  • “Indicators list”
  • Select the Indicator and delete

Download Metatrader 4 Trading Platform:

  • Free $30 To Start Trading Instantly
  • No Deposit Required
  • Automatically Credited To Your Account
  • No Hidden Terms

MT4 Indicators Download here: 

Ideal ZigZag