OPEN-SOURCE SCRIPT

Rolling ATR Momentum - Enhanced

349
ATR Rolling Momentum Indicator โ€“ User Manual

---

๐Ÿ” Overview
The ATR Rolling Momentum Indicator is a dynamic volatility tool built on the Average True Range (ATR). It not only tracks increasing or decreasing momentum but also provides early warnings and confirmation signals for potential breakout moves. Itโ€™s especially powerful for futures and options traders looking to align with expanding price action.

---

๐Ÿ“Š Core Components

โœ… ATR Delta (Rolling ATR)
- Definition: Difference between current ATR and past ATR (user-defined lookback).
- Use: Tells whether volatility is expanding (positive delta) or contracting (negative delta).
- Visual: Green line for rising momentum, red for declining.

๐ŸŸฃ ATR Delta Slope
- Definition: Measures acceleration in momentum.
- Use: Helps identify early signs of breakout buildup.
- Visual: Purple line. Watch for slope turning up from below.

๐ŸŸก Volatility Squeeze (Yellow Dot)
- Definition: Current ATR is significantly lower than its 20-period average.
- Use: Indicates the market is coilingโ€”possible breakout ahead.

๐Ÿ”ผ Momentum Start (Green Triangle)
- Definition: ATR Delta slope turns from negative to positive.
- Use: Early warning to prepare for volatility expansion.

๐Ÿ”ท Breakout Confirmation (Blue Label Up)
- Definition: ATR Delta exceeds its high of the last 10 candles.
- Use: Confirms volatility breakoutโ€”trade opportunity if direction aligns.

๐ŸŸฉ/๐ŸŸฅ Background Color
- Green Background: Momentum rising (positive ATR delta)
- Red Background: Momentum falling (negative ATR delta)
- Yellow Tint: Active squeeze zone

---

โœ… How to Use It (Futures/Options Focus)

Step-by-Step:
1. Squeeze Detected (Yellow Dot) โ†’ Stay alert. Market is coiling.
2. Green Triangle Appears โ†’ Momentum is starting to rise.
3. Background Turns Green โ†’ Confirmed rising momentum.
4. Blue Label Appears โ†’ Confirmed breakout (enter trade if trend aligns).

Directional Bias:
- Use your main chart setup (price action, EMAs, trendlines, etc.) to decide direction (Call or Put, Long or Short).
- ATR Momentum only tells you how strong the move isโ€”not which way.

---

โš™๏ธ Inputs & Settings
- ATR Period: Default 14 (core volatility measure)
- Rolling Lookback: Used to calculate delta (default 5)
- Slope Length: Used to measure acceleration (default 3)
- Squeeze Factor: Default 0.8 โ€” lower = more sensitive squeeze detection
- Breakout Lookback: Checks ATR delta against last X bars (default 10)

---

๐Ÿง  Pro Tips
- Works great when paired with EMA stacks, price structure, or breakout patterns.
- Avoid taking trades based only on squeeze or momentumโ€”combine with chart confirmation.
- If background turns red after a breakout, it may be losing momentumโ€”book partials or tighten stops.

---

๐Ÿงญ Ideal For:
- Nifty/BankNifty Futures
- Option directional trades (call/put buying)
- Index scalping and momentum swing setups

---

Use this tool as your volatility compassโ€”it won't tell you where to go, but it'll tell you when the wind is strong enough to move fast.

End of Manual


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.