OPEN-SOURCE SCRIPT
Sweep Terminal

Sweep Terminal [erdensedat]
Description:
Welcome to Sweep Terminal, an elite all-in-one institutional trading indicator designed for maximum precision. Developed by erdensedat, this tool provides unparalleled clarity on price action, liquidity sweeps, market structure shifts, and daily biases—all without cluttering your chart. It seamlessly integrates Multi-Timeframe (MTF) analysis, an advanced Fair Value Gap (FVG) engine, dynamic BOS/CHoCH mapping, and real-time session tracking.
Core Features:
1. Live Market Info Panel
A dynamic, non-intrusive table situated at the top right of your screen providing instant, actionable data:
Directional Biases: Instantly know the Daily, Weekly, and VWAP bias (Bullish/Bearish).
Momentum & Trend: Real-time RSI momentum value and raw DI+ / DI- (Directional Movement) data. The dominant DI force is automatically color-coded for quick visual confirmation.
Active Structure: Displays the most recent character of the market (Bullish/Bearish Structure).
Session Status: Real-time sync with the Europe/Istanbul timezone. Displays exactly which session is active (Asian, London, NY) or which one is upcoming, indicated by active Green/Red LED dots.
2. MTF Sweep Logic & Opening Ranges
Understanding where liquidity lies is crucial. This module automatically detects and highlights major High/Low levels across key timeframes (1 Hour, 4 Hour, 1 Daily).
Sweep & Raid Detection: Highlights potential liquidity sweeps (shadow boxes) in real-time and explicitly marks confirmed "Raids" with directional triangles once the price deviates and closes back within the range.
Discount/Premium Pricing: H/L pivot lines clearly dictate "Premium" (Short) and "Discount" (Long) equilibrium zones.
Session Killzone Pivots (Optional): Tracks session highs and lows. Once a session level is breached, the line freezes at the breakout point, turns dotted, and marks the raid with a clean "X" at the center.
3. Advanced Fair Value Gap (FVG) Engine
Our refined FVG engine ensures you only see the most significant imbalances.
Clean Visualization: Bullish FVG boxes default to a deep teal (#006064) and bearish to a dark crimson (#801922), complete with lightly opaque mid-lines for precise entries.
Smart Filtering: Removes overlapping FVGs, filters by threshold sizes, and offers customizable mitigation triggers (Close, Wick, or Average price).
Breaker Blocks: Seamlessly toggle between standard FVGs or Breaker block tracking.
4. Dynamic BOS & CHoCH Mapping
Stay on the right side of the trend with an automated structure mapping algorithm based on pivot fractals.
Pre-Break Candidates: Anticipate structure shifts with dashed candidate lines marking unmitigated Pivot Highs and Lows.
Confirmed Breaks: Once a level is breached, the line solidifies. Includes smart alert routing for instant notifications on structural shifts.
How to Use:
Liquidity Traps: Use the MTF Sweep Logic to spot when retail stops are triggered above a 4H or Daily high, providing high-probability mean reversion setups.
Confluence Trading: Check the live Panel. If the Daily/Weekly bias is Bullish, look for a Discount zone test, wait for a Bullish CHoCH, and enter on a lower timeframe FVG mid-line.
Customization: The settings menu is highly compartmentalized. Isolate specific logic (e.g., only show 1D sweeps, VWAP, and FVG) allowing this indicator to adapt perfectly to any Smart Money Concept (SMC) or ICT-based strategy.
Dedicated to clean charts and precise execution.
Disclaimer:
The information, scripts, and features provided by this tool are for educational and informational purposes only and do not constitute financial, investment, or trading advice. Trading in financial markets (including cryptocurrencies, forex, and stocks) involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own thorough research, backtest thoroughly, and consult with a certified financial advisor before making any trading decisions. The author (erdensedat) assumes no responsibility for any financial losses or damages incurred while using this script.
Description:
Welcome to Sweep Terminal, an elite all-in-one institutional trading indicator designed for maximum precision. Developed by erdensedat, this tool provides unparalleled clarity on price action, liquidity sweeps, market structure shifts, and daily biases—all without cluttering your chart. It seamlessly integrates Multi-Timeframe (MTF) analysis, an advanced Fair Value Gap (FVG) engine, dynamic BOS/CHoCH mapping, and real-time session tracking.
Core Features:
1. Live Market Info Panel
A dynamic, non-intrusive table situated at the top right of your screen providing instant, actionable data:
Directional Biases: Instantly know the Daily, Weekly, and VWAP bias (Bullish/Bearish).
Momentum & Trend: Real-time RSI momentum value and raw DI+ / DI- (Directional Movement) data. The dominant DI force is automatically color-coded for quick visual confirmation.
Active Structure: Displays the most recent character of the market (Bullish/Bearish Structure).
Session Status: Real-time sync with the Europe/Istanbul timezone. Displays exactly which session is active (Asian, London, NY) or which one is upcoming, indicated by active Green/Red LED dots.
2. MTF Sweep Logic & Opening Ranges
Understanding where liquidity lies is crucial. This module automatically detects and highlights major High/Low levels across key timeframes (1 Hour, 4 Hour, 1 Daily).
Sweep & Raid Detection: Highlights potential liquidity sweeps (shadow boxes) in real-time and explicitly marks confirmed "Raids" with directional triangles once the price deviates and closes back within the range.
Discount/Premium Pricing: H/L pivot lines clearly dictate "Premium" (Short) and "Discount" (Long) equilibrium zones.
Session Killzone Pivots (Optional): Tracks session highs and lows. Once a session level is breached, the line freezes at the breakout point, turns dotted, and marks the raid with a clean "X" at the center.
3. Advanced Fair Value Gap (FVG) Engine
Our refined FVG engine ensures you only see the most significant imbalances.
Clean Visualization: Bullish FVG boxes default to a deep teal (#006064) and bearish to a dark crimson (#801922), complete with lightly opaque mid-lines for precise entries.
Smart Filtering: Removes overlapping FVGs, filters by threshold sizes, and offers customizable mitigation triggers (Close, Wick, or Average price).
Breaker Blocks: Seamlessly toggle between standard FVGs or Breaker block tracking.
4. Dynamic BOS & CHoCH Mapping
Stay on the right side of the trend with an automated structure mapping algorithm based on pivot fractals.
Pre-Break Candidates: Anticipate structure shifts with dashed candidate lines marking unmitigated Pivot Highs and Lows.
Confirmed Breaks: Once a level is breached, the line solidifies. Includes smart alert routing for instant notifications on structural shifts.
How to Use:
Liquidity Traps: Use the MTF Sweep Logic to spot when retail stops are triggered above a 4H or Daily high, providing high-probability mean reversion setups.
Confluence Trading: Check the live Panel. If the Daily/Weekly bias is Bullish, look for a Discount zone test, wait for a Bullish CHoCH, and enter on a lower timeframe FVG mid-line.
Customization: The settings menu is highly compartmentalized. Isolate specific logic (e.g., only show 1D sweeps, VWAP, and FVG) allowing this indicator to adapt perfectly to any Smart Money Concept (SMC) or ICT-based strategy.
Dedicated to clean charts and precise execution.
Disclaimer:
The information, scripts, and features provided by this tool are for educational and informational purposes only and do not constitute financial, investment, or trading advice. Trading in financial markets (including cryptocurrencies, forex, and stocks) involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own thorough research, backtest thoroughly, and consult with a certified financial advisor before making any trading decisions. The author (erdensedat) assumes no responsibility for any financial losses or damages incurred while using this script.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。