Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2015.12.08 09:35
ZigZag Dual Buffer

ZigZag Dual Buffer - indicator for MetaTrader 4

| English Español Português Русский Deutsch 日本語

votes: 10
zigzagdb.mq4 (28.44 KB)view

This ZigZag indicator uses dual buffers to store high and low points. A point is considered as a new high/low point if its high/low is higher/lower than the high/low of N earlier bars' high/low, where parameter N is the number of earlier bars represented by Bars. Default value is 2.

This indicator uses the idea of fractal whereby a point is considered high (or low) if the point is higher than its previous 2 bars' high (or lower than its previous 2 bars low) in forward motion. Hence, it doesn't wait for the next 2 bars to determine if it is higher or lower.

This indicator also eliminates the problem of outside bar as explained by Aleksandr Chugunov in his article Professional ZigZag. See Figure 2 below. What it does is that it will scan to the last node to check if there exists any point higher (or lower) than the current point. If there is, then that point will be set to be the ZigZag node.

Figure 2

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.