Viprasol Session Sweep Structure## Overview
The Session Sweep Structure (SSS) indicator is a session-based ICT tool that automates the TJR trading methodology: identify the Asia session range, wait for a liquidity sweep during the London/NY killzone, then enter on a confirmed Market Structure Shift (MSS). It combines session tracking, sweep detection, displacement filtering, order blocks, fair value gaps, OTE zones, and smart TP/SL into one clean overlay with a confluence scoring system.
Designed for intraday traders who follow ICT session-based concepts, this indicator removes the guesswork from identifying high-probability reversal setups that occur when price sweeps overnight liquidity before shifting structure.
## How It Works
**Session Engine:**
The indicator defines two key windows: the Asia session (liquidity accumulation) and the Trading session (London + NY Morning). During Asia, the high and low are tracked as the liquidity range. During the Trading session, the indicator watches for price to sweep above or below the Asia range.
**MSS Detection:**
After a sweep occurs, the indicator monitors for a Market Structure Shift — a break of the most recent swing high (after a low sweep) or swing low (after a high sweep). Each MSS event is validated through:
- Displacement filter: ensures the break candle has institutional momentum (large body + above-average range)
- Session limiter: prevents excessive signals within one trading window
- Swing sensitivity: configurable pivot detection for different timeframes
**Confluence Scoring (0-10):**
Every MSS signal receives a quality rating based on:
- Asia range sweep confirmation (+2)
- PDH/PDL sweep bonus (+1)
- Displacement candle quality (+2)
- Active trading session (+1)
- Above-average volume (+1)
- Candle close position (+1)
- Proximity to Asia levels (+1)
- Proximity to PDH/PDL (+1)
## Key Features
- **Session Range Tracking** — automatic Asia session high/low with extending dashed lines
- **Liquidity Sweep Detection** — flags when Asia high or low is taken during the killzone
- **Market Structure Shift (MSS)** — validated break of swing points after a sweep event
- **Displacement Filter** — ensures MSS candles show institutional momentum (ATR multiple + body ratio)
- **Order Blocks** — automatically drawn at the MSS origin candle with mitigation tracking
- **Fair Value Gaps** — 3-candle imbalance detection with configurable fill threshold and auto-mitigation
- **OTE Zone** — 62-79% Fibonacci retracement zone drawn after sweep + MSS events
- **Smart TP/SL** — structure-aware R:R targets (TP1/TP2/TP3) with stop loss below/above the swept level
- **Previous Day H/L** — additional liquidity reference levels (optional PWH/PWL)
- **Confluence Scoring** — 0-10 quality rating with star system and detailed tooltip breakdown
- **Session Candle Coloring** — visual context showing which session is active
- **Info Dashboard** — real-time panel showing session status, sweep flags, MSS counts, and scores
- **Dynamic v6 Alerts** — ticker, timeframe, price, and confluence score in every alert message
- **6 Alert Conditions** — bullish/bearish MSS, sweep events, and high-confidence filters
## How to Use
1. **Apply to a standard candlestick chart** on a liquid instrument (crypto, forex, indices)
2. **Use 5m or 15m timeframe** for optimal signal frequency
3. **Watch the Asia session** — the blue-shaded area defines the liquidity range
4. **During the Trading session** (green shading), wait for a sweep of the Asia high or low
5. **MSS labels appear** when structure shifts after a sweep — check the star rating and tooltip
6. **Order blocks** mark potential re-entry zones at the MSS origin
7. **FVGs** highlight imbalances price is likely to revisit
8. **OTE zone** shows the optimal pullback area for entries
9. **TP/SL lines** give clear R:R targets based on the swept level
**Recommended Timeframes:**
- Scalping: 1m-5m (increase swing sensitivity to 3-4)
- Day Trading: 5m-15m (default settings)
- Swing entries: 30m-1H (reduce swing sensitivity to 1-2)
## Settings
| Group | Description |
|---|---|
| Session Times | Asia and Trading session windows, timezone |
| Liquidity Levels | Previous Day/Week high & low visibility |
| Market Structure | Swing sensitivity, MSS labels, signal limit per session |
| Order Blocks | OB visibility, max age, mitigation on touch |
| Fair Value Gaps | FVG visibility, fill threshold, max age |
| OTE Zone | Fibonacci levels and display duration |
| Take Profit / Stop Loss | R:R ratios for TP1/TP2/TP3, display length |
| Displacement Filter | ATR multiple and body ratio requirements |
| Dashboard | Position, size, visibility |
| Style | Colors, candle coloring, session backgrounds |
## Alerts
**Dynamic Alerts (v6):**
- Bullish/Bearish MSS with confluence score, ticker, timeframe, and price
- Asia High/Low sweep events with price level
**Static Alert Conditions:**
- Bullish MSS / Bearish MSS
- Asia High Swept / Asia Low Swept
- High Confidence Bull MSS (7+/10)
- High Confidence Bear MSS (7+/10)
## Limitations & Disclaimer
- This is an analytical overlay, NOT a trading system. Always use proper risk management.
- Best suited for liquid markets where session-based order flow is visible (forex, crypto, indices).
- The confluence score is a heuristic guide — higher scores correlate with but do not guarantee better outcomes.
- Session times are based on EST (New York timezone) and should be adjusted if your broker uses a different timezone.
- Use standard candlestick charts, NOT Heikin Ashi, for accurate sweep and MSS detection.
- Past signal performance does not guarantee future results.
## Credits
Based on the TJR Trades Strategy concept. Significantly enhanced with order block detection, FVG mitigation tracking, OTE zones, smart TP/SL, displacement filtering, PDH/PDL liquidity levels, confluence scoring, candle coloring, and full dashboard under Viprasol branding.
Indicador Pine Script®






















