Skip to content
All library documents

Zigzag Peak Channel Breakouts and Trend Alerts

Article MQL5 code base

Summary

This indicator describes a breakout approach built around a channel drawn through peaks from a Zigzag2_R indicator. It generates alerts when price moves outside the channel, with the stated purpose of signaling a possible change in direction. After a breakout, candle colors distinguish the indicated trend: green for rising prices and pink for falling prices. Bright shades mark candles moving in the same direction as the trend, while darker shades mark candles moving against it.

The main caveat is that the source ZigZag indicator repaints, meaning its peaks can change as later prices arrive. That can alter the channel and make historical signals look more stable or timely than they were in real time. The description explains the display and notification behavior but provides no entry or exit rules, risk controls, backtest, or performance evidence. The channel can therefore serve as a visual signal aid, but the text does not establish that its breakouts are profitable or robust.

Key ideas

  • The indicator draws a channel through peaks identified by a Zigzag2_R indicator.
  • It signals when price breaks outside the channel and can send notifications.
  • Candle colors encode the trend direction and whether the candle agrees with that direction.
  • Because the source ZigZag repaints, past peaks and channel signals may change over time.
  • The description provides no trading rules or performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.