PROTECTED SOURCE SCRIPT
Updated

ATR Reversal Wick ZigZag, Swing P2-P3 Labels

128
This indicator plots a wick-based ZigZag where swing points are confirmed by a minimum counter-move (ATR multiple) and a minimum number of bars between swings. Confirmed swing highs are labeled P2, swing lows P3. Optional IDs, labels, and a trend-colored ZigZag line.

  • Wick-based ZigZag (High/Low wicks)
  • Swing confirmation via ATR reversal threshold + minimum bars between swings
  • Labels: P2 = confirmed swing high, P3 = confirmed swing low (optional IDs)
  • Optional ZigZag line colored by simple HH/HL vs LL/LH trend state
  • Note: potential swings can move until confirmed
Release Notes
This indicator plots a wick-based ZigZag where swing points are confirmed by a minimum counter-move (ATR multiple) and a minimum number of bars between swings. Confirmed swing highs are labeled P2, swing lows P3. Optional IDs, labels, and a trend-colored ZigZag line.

  • Wick-based ZigZag (High/Low wicks)
  • Swing confirmation via ATR reversal threshold + minimum bars between swings
  • Labels: P2 = confirmed swing high, P3 = confirmed swing low (optional IDs)
  • Optional ZigZag line colored by simple HH/HL vs LL/LH trend state
  • Note: potential swings can move until confirmed

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.