Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

ZigZag_Oscillator - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

ZigZag_Oscillator - indicator for MetaTrader 5

ZigZag_Oscillator - indicator for MetaTrader 5

ZigZag_Oscillator - indicator for MetaTrader 5

ZigZag_Oscillator - indicator for MetaTrader 5

The ZigZag oscillator displays a colored histogram of the closing price's distance from the ZigZag pivot point (breakout) in a separate chart window.

It has four configurable parameters:

ZZOsc = 100 * (Closing Price - LastZZ) / LastZZ

LastZZ - ZigZag price on pivot point

If the pivot point equals 0, counting will start from the nearest left ZigZag breakout point or the end of its last ray.

ZigZag_Oscillator - indicator for MetaTrader 5

Figure 1. ZigZag Oscillator + ZigZag, ZigZag Pivot Point = 0

ZigZag_Oscillator - indicator for MetaTrader 5

Figure 2. ZigZag Oscillator + ZigZag, ZigZag Pivot Point = 1

ZigZag_Oscillator - indicator for MetaTrader 5

Figure 3. ZigZag Oscillator + ZigZag, ZigZag Pivot Point = 2


Attachment download

📎 zigzag_oscillator.mq5 (12.55 KB)

📎 zigzag.mq5 (9.33 KB)

Source: MQL5 #23420

Verification code Refresh