OPEN-SOURCE SCRIPT
Güncellendi

ATR Bands PRO + Sweep Label + Divergence [MASTER]

352
🔰 ATR Bands PRO + Liquidity Sweep & Divergence (RSI/MACD)


## 🔰 ATR Bands PRO + Liquidity Sweep & Divergence

A powerful institutional-grade toolkit that combines advanced ATR band visualization, customizable stop bands, dynamic grid lines, real-time liquidity sweep detection, and built-in swing-point divergence signals (RSI/MACD) – all fully adjustable.

**Key Features:**
- **Multi-Timeframe ATR Bands:**
Visualize ATR-based bands from any higher timeframe, fully customizable in color, width, style, and extension.
- **Smart Stops & Grid:**
Add stop bands and dynamic ATR grid lines with user control over appearance and step.
- **Liquidity Sweep Detection:**
Instantly see “Bull Sweep” or “Bear Sweep” labels every time price touches high/low liquidity sweeps from your chosen timeframe.
- **Divergence Alerts (RSI/MACD):**
Detect bullish or bearish divergence at swing highs/lows (on the main timeframe) – complete with highly visible, color-customizable labels.
- **Professional, Non-Cluttered Visuals:**
All labels and lines are managed with smart array handling – zero repaint, zero overlay clutter.

**How to Use:**
1. Choose your ATR “base” timeframe and customize band/stop/grid appearance.
2. Pick the Liquidity Sweep timeframe (e.g., H1, H4, D1) for institutional swing levels.
3. Enable divergence detection (RSI or MACD) to reveal hidden reversal signals at market pivots.
4. Adjust label offsets and colors for maximum clarity on your chart.

**Perfect for:**
- Liquidity-driven scalping, swing, and positional strategies.
- Spotting liquidity grabs, institutional sweeps, and “trap” price action.
- Fast visual confirmation of potential reversal zones using built-in divergence signals.
- Traders who demand high-performance, flexible visuals without chart clutter.

---

**Credit:**
Original logic inspired by RunStrat, AlgoAlpha, and custom adaptations by MILO888.

---

*For educational and professional use. Test on your own symbol/timeframe before live trading. Enjoy an edge!*
Sürüm Notları
What's New in This Version

Added “Liquidity Sweep Label” customizations:
 — Now you can set background color, text color, and label size for both Bull and Bear Sweep events

Added advanced “Divergence Label” (Bullish/Bearish) options
 — Set custom background color, text color, and label size for both Bullish/Bearish Divergence

Fully restructured & commented: Clean section layout for easy reading and editing

All grid and ATR Band lines can have customizable width, style, and color

New Helper Functions for label size and line style

Improved label/line logic to support all new features, with master-level script structure

Master Version – use as a base for all future upgrades and feature extensions

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.