OPEN-SOURCE SCRIPT

ATR based ZigZag

785
An ATR-based ZigZag indicator that adapts automatically to any timeframe without requiring parameter changes. Uses ATR(20) × 2.0 to determine swing significance — swings smaller than this threshold are filtered out as noise, while genuine trend reversals are connected with clean diagonal lines.

Two display modes:
- Classic ZigZag: diagonal lines connecting confirmed swing highs and lows, with a dashed line for the current unconfirmed leg
- Stepped ZigZag: horizontal stepped line tracking the current swing level

Default settings: ATR Lookback 20, Multiplier 2.0.

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。