OPEN-SOURCE SCRIPT
Mis à jour Sessions & Point of interests + Buy/Sell signals

Devtrader Killzone Sweep & Reversal Pro
A professional session-based liquidity sweep and reversal indicator designed for intraday traders who focus on market timing, killzones, liquidity raids, and reversal confirmation.
This indicator combines session mapping, daily/session high-low tracking, liquidity sweep detection, engulfing confirmation, and an optional Moving Average Cross module into one clean visual tool.
━━━━━━━━━━━━━━━━━━━━━━
🔹 CORE PURPOSE
━━━━━━━━━━━━━━━━━━━━━━
Devtrader Killzone Sweep & Reversal Pro is built to help traders identify potential reversal zones after price sweeps liquidity above recent highs or below recent lows.
The logic focuses on a simple but powerful market behavior:
1. Price runs liquidity above a previous high or below a previous low.
2. The sweep candle shows a meaningful rejection wick.
3. The next candle confirms reversal intent with a full body engulfing close.
4. The chart highlights the confirmed bullish or bearish reversal setup.
This makes the indicator useful for traders who monitor stop hunts, liquidity grabs, false breakouts, and session-based reversals.
━━━━━━━━━━━━━━━━━━━━━━
🔹 LIQUIDITY SWEEP REVERSAL LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The indicator detects two main setup types:
🟢 Bullish Sweep Reversal
A bullish setup appears when:
• The previous candle sweeps below the lowest low of the selected lookback range.
• The previous candle has a large lower wick.
• The current candle closes bullish.
• The current candle body fully engulfs the previous candle body.
This suggests that sell-side liquidity may have been taken and buyers are stepping back in.
🔴 Bearish Sweep Reversal
A bearish setup appears when:
• The previous candle sweeps above the highest high of the selected lookback range.
• The previous candle has a large upper wick.
• The current candle closes bearish.
• The current candle body fully engulfs the previous candle body.
This suggests that buy-side liquidity may have been taken and sellers are stepping back in.
━━━━━━━━━━━━━━━━━━━━━━
🔹 CUSTOMIZABLE SWEEP FILTERS
━━━━━━━━━━━━━━━━━━━━━━
The sweep engine includes two important filters:
Liquidity Lookback
Controls how many bars are used to define the high or low that price must sweep.
Minimum Wick Percentage
Controls how strong the rejection wick must be as a percentage of the full candle range.
A higher wick percentage creates stricter signals.
A lower wick percentage creates more frequent signals.
━━━━━━━━━━━━━━━━━━━━━━
🔹 SESSION / KILLZONE MAPPING
━━━━━━━━━━━━━━━━━━━━━━
The indicator includes three customizable trading sessions:
• Tokyo
• London
• New York
Each session can be individually enabled or disabled.
For every session, the trader can customize:
• Session name
• Session time
• Session timezone
• Session separator color
Vertical dotted separators are drawn at session start and session end, helping the trader visually separate important trading windows.
The timezone input supports IANA timezone names such as:
• Asia/Tokyo
• Europe/London
• America/New_York
This makes the indicator suitable for traders working with global market sessions and daylight-saving changes.
━━━━━━━━━━━━━━━━━━━━━━
🔹 DAILY HIGH / LOW LEVELS
━━━━━━━━━━━━━━━━━━━━━━
The indicator can optionally display the current or historical daily high and low.
Daily level options include:
• Show Daily High
• Show Daily Low
• Display Current Active Day Only
• Display All Days
• Custom colors
• Custom line width
This helps traders monitor where price is forming the current daily range and where liquidity may be building.
━━━━━━━━━━━━━━━━━━━━━━
🔹 SESSION HIGH / LOW LEVELS
━━━━━━━━━━━━━━━━━━━━━━
The indicator can also track and display session highs and session lows.
Session level options include:
• Show Session High
• Show Session Low
• Display Current Active Session Only
• Display All Sessions
• Custom high/low colors
• Custom line width
Session highs and lows are useful for identifying intraday liquidity pools, especially around London and New York reversals.
The indicator also handles overlapping sessions with priority logic, so when multiple sessions overlap, the later session takes ownership of the active bars.
━━━━━━━━━━━━━━━━━━━━━━
🔹 OPTIONAL MOVING AVERAGE CROSS MODULE
━━━━━━━━━━━━━━━━━━━━━━
The indicator includes an optional Moving Average Cross module, disabled by default.
When enabled, it displays:
• Short moving average
• Long moving average
• MA cloud
• Trend-colored candles
• Cross markers
• Bullish trend-change background highlight
• Bearish trend-change background highlight
• Buy and sell arrows
Available moving average types:
• SMA
• EMA
• WMA
• Linear Regression
The module can use either:
• The current chart timeframe
• A custom selected timeframe
This gives traders an additional trend filter when reading liquidity sweep setups.
━━━━━━━━━━━━━━━━━━━━━━
🔹 ALERTS
━━━━━━━━━━━━━━━━━━━━━━
The indicator includes alert conditions for the Moving Average Cross module:
• Uptrend Alert
• Downtrend Alert
These alerts trigger when the short moving average crosses into a bullish or bearish trend state.
━━━━━━━━━━━━━━━━━━━━━━
🔹 VISUAL DESIGN
━━━━━━━━━━━━━━━━━━━━━━
The indicator uses a clean visual structure:
🟢 Bullish sweep reversals are shown with triangle-up markers below the candle.
🔴 Bearish sweep reversals are shown with triangle-down markers above the candle.
The confirmation candle receives a subtle background highlight, making reversal signals easier to notice without overcrowding the chart.
Session separators, daily levels, session levels, and moving averages are all customizable from the indicator settings.
━━━━━━━━━━━━━━━━━━━━━━
🔹 BEST USED FOR
━━━━━━━━━━━━━━━━━━━━━━
This indicator is especially useful for:
• Intraday trading
• Killzone trading
• Liquidity sweep analysis
• ICT / SMC-style market reading
• Session high/low trading
• False breakout detection
• Reversal confirmation
• London and New York session analysis
• Trend-filtered reversal setups
It can be used on indices, forex, commodities, crypto, and stocks, depending on the trader’s preferred market and timeframe.
━━━━━━━━━━━━━━━━━━━━━━
🔹 IMPORTANT NOTE
━━━━━━━━━━━━━━━━━━━━━━
This indicator is not a complete trading system and should not be used as a standalone buy or sell signal.
The sweep markers are designed to highlight potential reversal conditions after liquidity has been taken. Traders should still confirm setups using market structure, higher-timeframe bias, support/resistance, session context, risk management, and their own trading plan.
━━━━━━━━━━━━━━━━━━━━━━
🔹 SUMMARY
━━━━━━━━━━━━━━━━━━━━━━
Devtrader Killzone Sweep & Reversal Pro helps traders combine three important intraday concepts:
• When the market is trading
• Where liquidity is building
• When price confirms a potential reversal after a sweep
It is designed to keep the chart clean while giving the trader structured information about sessions, highs/lows, liquidity sweeps, engulfing reversals, and optional moving average trend context.
A professional session-based liquidity sweep and reversal indicator designed for intraday traders who focus on market timing, killzones, liquidity raids, and reversal confirmation.
This indicator combines session mapping, daily/session high-low tracking, liquidity sweep detection, engulfing confirmation, and an optional Moving Average Cross module into one clean visual tool.
━━━━━━━━━━━━━━━━━━━━━━
🔹 CORE PURPOSE
━━━━━━━━━━━━━━━━━━━━━━
Devtrader Killzone Sweep & Reversal Pro is built to help traders identify potential reversal zones after price sweeps liquidity above recent highs or below recent lows.
The logic focuses on a simple but powerful market behavior:
1. Price runs liquidity above a previous high or below a previous low.
2. The sweep candle shows a meaningful rejection wick.
3. The next candle confirms reversal intent with a full body engulfing close.
4. The chart highlights the confirmed bullish or bearish reversal setup.
This makes the indicator useful for traders who monitor stop hunts, liquidity grabs, false breakouts, and session-based reversals.
━━━━━━━━━━━━━━━━━━━━━━
🔹 LIQUIDITY SWEEP REVERSAL LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The indicator detects two main setup types:
🟢 Bullish Sweep Reversal
A bullish setup appears when:
• The previous candle sweeps below the lowest low of the selected lookback range.
• The previous candle has a large lower wick.
• The current candle closes bullish.
• The current candle body fully engulfs the previous candle body.
This suggests that sell-side liquidity may have been taken and buyers are stepping back in.
🔴 Bearish Sweep Reversal
A bearish setup appears when:
• The previous candle sweeps above the highest high of the selected lookback range.
• The previous candle has a large upper wick.
• The current candle closes bearish.
• The current candle body fully engulfs the previous candle body.
This suggests that buy-side liquidity may have been taken and sellers are stepping back in.
━━━━━━━━━━━━━━━━━━━━━━
🔹 CUSTOMIZABLE SWEEP FILTERS
━━━━━━━━━━━━━━━━━━━━━━
The sweep engine includes two important filters:
Liquidity Lookback
Controls how many bars are used to define the high or low that price must sweep.
Minimum Wick Percentage
Controls how strong the rejection wick must be as a percentage of the full candle range.
A higher wick percentage creates stricter signals.
A lower wick percentage creates more frequent signals.
━━━━━━━━━━━━━━━━━━━━━━
🔹 SESSION / KILLZONE MAPPING
━━━━━━━━━━━━━━━━━━━━━━
The indicator includes three customizable trading sessions:
• Tokyo
• London
• New York
Each session can be individually enabled or disabled.
For every session, the trader can customize:
• Session name
• Session time
• Session timezone
• Session separator color
Vertical dotted separators are drawn at session start and session end, helping the trader visually separate important trading windows.
The timezone input supports IANA timezone names such as:
• Asia/Tokyo
• Europe/London
• America/New_York
This makes the indicator suitable for traders working with global market sessions and daylight-saving changes.
━━━━━━━━━━━━━━━━━━━━━━
🔹 DAILY HIGH / LOW LEVELS
━━━━━━━━━━━━━━━━━━━━━━
The indicator can optionally display the current or historical daily high and low.
Daily level options include:
• Show Daily High
• Show Daily Low
• Display Current Active Day Only
• Display All Days
• Custom colors
• Custom line width
This helps traders monitor where price is forming the current daily range and where liquidity may be building.
━━━━━━━━━━━━━━━━━━━━━━
🔹 SESSION HIGH / LOW LEVELS
━━━━━━━━━━━━━━━━━━━━━━
The indicator can also track and display session highs and session lows.
Session level options include:
• Show Session High
• Show Session Low
• Display Current Active Session Only
• Display All Sessions
• Custom high/low colors
• Custom line width
Session highs and lows are useful for identifying intraday liquidity pools, especially around London and New York reversals.
The indicator also handles overlapping sessions with priority logic, so when multiple sessions overlap, the later session takes ownership of the active bars.
━━━━━━━━━━━━━━━━━━━━━━
🔹 OPTIONAL MOVING AVERAGE CROSS MODULE
━━━━━━━━━━━━━━━━━━━━━━
The indicator includes an optional Moving Average Cross module, disabled by default.
When enabled, it displays:
• Short moving average
• Long moving average
• MA cloud
• Trend-colored candles
• Cross markers
• Bullish trend-change background highlight
• Bearish trend-change background highlight
• Buy and sell arrows
Available moving average types:
• SMA
• EMA
• WMA
• Linear Regression
The module can use either:
• The current chart timeframe
• A custom selected timeframe
This gives traders an additional trend filter when reading liquidity sweep setups.
━━━━━━━━━━━━━━━━━━━━━━
🔹 ALERTS
━━━━━━━━━━━━━━━━━━━━━━
The indicator includes alert conditions for the Moving Average Cross module:
• Uptrend Alert
• Downtrend Alert
These alerts trigger when the short moving average crosses into a bullish or bearish trend state.
━━━━━━━━━━━━━━━━━━━━━━
🔹 VISUAL DESIGN
━━━━━━━━━━━━━━━━━━━━━━
The indicator uses a clean visual structure:
🟢 Bullish sweep reversals are shown with triangle-up markers below the candle.
🔴 Bearish sweep reversals are shown with triangle-down markers above the candle.
The confirmation candle receives a subtle background highlight, making reversal signals easier to notice without overcrowding the chart.
Session separators, daily levels, session levels, and moving averages are all customizable from the indicator settings.
━━━━━━━━━━━━━━━━━━━━━━
🔹 BEST USED FOR
━━━━━━━━━━━━━━━━━━━━━━
This indicator is especially useful for:
• Intraday trading
• Killzone trading
• Liquidity sweep analysis
• ICT / SMC-style market reading
• Session high/low trading
• False breakout detection
• Reversal confirmation
• London and New York session analysis
• Trend-filtered reversal setups
It can be used on indices, forex, commodities, crypto, and stocks, depending on the trader’s preferred market and timeframe.
━━━━━━━━━━━━━━━━━━━━━━
🔹 IMPORTANT NOTE
━━━━━━━━━━━━━━━━━━━━━━
This indicator is not a complete trading system and should not be used as a standalone buy or sell signal.
The sweep markers are designed to highlight potential reversal conditions after liquidity has been taken. Traders should still confirm setups using market structure, higher-timeframe bias, support/resistance, session context, risk management, and their own trading plan.
━━━━━━━━━━━━━━━━━━━━━━
🔹 SUMMARY
━━━━━━━━━━━━━━━━━━━━━━
Devtrader Killzone Sweep & Reversal Pro helps traders combine three important intraday concepts:
• When the market is trading
• Where liquidity is building
• When price confirms a potential reversal after a sweep
It is designed to keep the chart clean while giving the trader structured information about sessions, highs/lows, liquidity sweeps, engulfing reversals, and optional moving average trend context.
Notes de version
Added a new Higher Timeframe FVG Blocks module.This update allows the indicator to detect and display active higher-timeframe Fair Value Gaps on the right side of the chart as clean rectangular blocks.
What’s new:
- New HTF FVG Blocks settings group
- Custom comma-separated timeframe input, for example: 15, 60, 240, D
- Automatic timeframe sorting from lower to higher timeframe
- Clean right-side FVG rectangles with no arrows, lines, or projections
- Editable bullish and bearish block background colors
- Editable border color, border width, text size, and text prefix
- Adaptive text color for dark/light chart themes
- Configurable right offset, block width, and vertical spacing
- Option to show only the nearest active FVG per timeframe or multiple active FVGs
The module is disabled by default and keeps all existing indicator features unchanged.
Notes de version
-Notes de version
Multiple HTF FVGs in the Same Price ZoneThis update improves the Higher Timeframe FVG Blocks module by allowing multiple FVGs from different selected timeframes to remain visible even when they exist in the same or overlapping price zone.
Previously, overlapping FVG zones could visually cover each other, making it difficult to identify whether the same area contained multiple higher timeframe imbalances. With this update, each valid HTF FVG keeps its own rectangle and label, even when several timeframes point to the same price area.
What changed:
- Added overlap detection for HTF FVG blocks.
- Overlapping FVGs are now handled using the original FVG price boundaries.
- Each selected timeframe keeps its own separate FVG rectangle.
- Each selected timeframe keeps its own readable label.
- Existing ascending timeframe order is preserved.
- The user can now control how overlapping FVGs are visually separated.
New display modes:
1. Vertical Offset
- Overlapping FVG blocks are shifted slightly up or down.
- The FVG height is preserved.
- The spacing is editable in ticks.
- Useful when the user wants stacked visual separation.
2. Horizontal Stagger
- Overlapping FVG blocks keep their real top and bottom price levels.
- Only the horizontal chart position is shifted.
- The spacing is editable in bars.
- Recommended for preserving the most accurate price-zone visualization.
New settings:
- Overlapping FVG Display Mode
- Overlap Vertical Spacing In Ticks
- Overlap Horizontal Spacing In Bars
Example:
If the same price zone contains both a 1H FVG and a 4H FVG, the indicator will now show both blocks instead of hiding or visually covering one of them.
Result:
The right-side HTF FVG display is now clearer, more complete, and better suited for multi-timeframe SMC/ICT analysis.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.