OPEN-SOURCE SCRIPT
Recovery Raid Index

Recovery Raid Index is a price-action overlay designed to help traders separate real breakouts from liquidity raids that quickly reverse.
Breakouts are not all the same. Some represent genuine expansion, while others are stop-runs through obvious liquidity before price reclaims the level. Recovery RAID Index detects sweeps of important liquidity levels, tracks whether price recovers or accepts beyond them, and scores the quality of that outcome using structure, rejection, flow, relative volume, fair value gap context, session behavior, and optional lower-timeframe confirmation.
The goal is simple: show traders what happened after liquidity was taken.
Overview
Retail traders are often trapped by breakouts that sweep a prior high or low, trigger stops, and then reverse sharply. Recovery RAID Index was built to study that exact sequence.
The script identifies liquidity raids above or below key levels, waits for either a reclaim or an accepted continuation, and classifies the outcome directly on the chart. Instead of only marking that a sweep happened, it evaluates the quality of the recovery and gives traders a structured way to understand whether the move looks like a trap reversal, a real breakout, or an abandoned setup.
This is part of the broader Structure Flow research approach: structure first, confirmation second, visual clarity always.
What it does
Recovery RAID Index is designed to track the full life cycle of a liquidity sweep.
It can:
Detect sweeps of swing highs/lows, equal highs/lows, previous day highs/lows, previous week highs/lows, and developing session highs/lows.
Track pending reclaim levels after a sweep occurs.
Confirm when price reclaims the swept level within a configurable time window.
Classify failed reversals as accepted breakouts or accepted breakdowns.
Score recoveries using level importance, sweep depth, reclaim speed, wick rejection, RVOL, directional flow, close-back strength, FVG confluence, and volatility regime.
Display R and R+ recovery signals.
Show ACCEPT UP / ACCEPT DOWN labels when price accepts beyond the swept level instead of reversing.
Draw recovery boxes around the sweep zone.
Plot optional stop and target planning lines based on the sweep extreme and next liquidity level.
Maintain outcome statistics by liquidity source.
Optionally validate reclaim quality using lower-timeframe closes.
Why it is different
Most liquidity sweep tools focus on the moment price takes a high or low. Recovery RAID Index focuses on the decision that follows.
A sweep by itself is not enough. Price can sweep liquidity and reverse, sweep liquidity and continue, or sweep liquidity and do nothing meaningful. This script is built around that distinction.
Recovery RAID Index separates:
Trap recoveries — price sweeps liquidity, then reclaims the level.
Strong recoveries — recoveries with stronger confluence and higher score.
Accepted breakouts/breakdowns — price sweeps a level and continues beyond it.
Expired sweeps — price fails to confirm either outcome within the reclaim window.
The script also includes outcome memory, so traders can see how different liquidity sources are resolving recently. For example, previous day sweeps may be recovering well while session-level sweeps are failing. That makes the tool more than a marker; it becomes a live read on sweep behavior.
Core logic
Liquidity sources
The script can monitor multiple sources of obvious liquidity:
Swing highs and swing lows
Equal highs and equal lows
Previous day high and low
Previous week high and low
Developing session high and low
Each source has a different importance value. Previous week and previous day levels generally carry more weight than ordinary swing levels, while equal highs/lows add context where liquidity is visibly clustered.
Recovery model
A sweep occurs when price trades beyond a tracked liquidity level by a configurable ATR buffer.
For a bullish recovery setup, price sweeps below a liquidity level and then must close back above the swept level within the reclaim window.
For a bearish recovery setup, price sweeps above a liquidity level and then must close back below the swept level within the reclaim window.
If price does not reclaim and instead remains beyond the swept level after the acceptance window, the script can classify the event as accepted continuation rather than reversal.
This creates a complete sweep framework:
Liquidity is taken.
The script tracks the reclaim level.
Price either recovers, accepts, or expires.
The event is labeled and recorded.
Score model
Each recovery receives a score from 0 to 100.
The score is based on several components:
Level importance
Higher-value liquidity sources receive more weight. A previous week high or low is treated as more important than a simple local swing.
Sweep depth
Measures how far price moved beyond the swept level in ATR terms. A meaningful sweep should take liquidity clearly, but not become so extended that the reclaim loses quality.
Reclaim speed
Fast recoveries are generally stronger than delayed recoveries. The script rewards price that reclaims the level quickly.
Wick rejection
Large rejection wicks can show that price rejected the sweep area. The script measures the wick relative to the candle range.
Relative volume
RVOL compares current volume to average volume. Higher participation can increase confidence that the sweep was meaningful.
Flow proxy
The script estimates directional pressure using candle position and volume. This is not true bid/ask delta, but it helps approximate whether buying or selling pressure supported the reclaim.
Close-back strength
Measures how far price closes back through the swept level after reclaiming.
Fair value gap confluence
If a recovery aligns with an active FVG near the sweep zone, the score can receive an additional boost.
Volatility regime
The script adapts scoring behavior based on volatility. In higher-volatility regimes, sweep depth is weighted differently than in normal or low-volatility conditions.
Fair value gap confluence
Recovery RAID Index can detect recent fair value gaps and check whether they overlap the sweep/reclaim area.
This matters because a sweep that reclaims into an imbalance or displacement zone may carry more context than a simple wick through a level.
The FVG engine considers:
bullish and bearish FVG formation
impulse requirement
FVG age
distance from the swept level
whether the gap is still active
FVG confluence is optional and can be turned off.
Optional lower-timeframe confirmation
The script includes optional lower-timeframe reclaim confirmation.
When enabled, the reclaim candle is checked using lower-timeframe closes. For example, on a 15-minute chart, the script can inspect lower-timeframe candles to see how many closed back through the swept level.
This helps distinguish a clean structural reclaim from a single end-of-candle close. Because lower-timeframe confirmation is more computationally demanding, it is optional and off by default.
Session intelligence
The script identifies broad session context using UTC time:
London
New York
Other
The reclaim window can adjust based on session behavior. This is useful because sweeps can behave differently during active sessions compared with quieter market periods.
Session information is also included in tooltips.
Outcome memory
Recovery RAID Index records recent sweep outcomes by source category:
Swing
Equal high/low
Previous day
Previous week
Session
The outcome table shows how many recent sweeps recovered, accepted, or failed by source. This helps traders understand which liquidity pools are currently producing cleaner reactions.
This is intended as a transparency feature, not a performance claim.
Signal types
R LONG
A bullish recovery signal. Price swept below a liquidity level, then reclaimed back above the swept level within the configured reclaim window.
R+ LONG
A stronger bullish recovery. This is an R LONG signal with a higher recovery score.
R SHORT
A bearish recovery signal. Price swept above a liquidity level, then reclaimed back below the swept level within the configured reclaim window.
R+ SHORT
A stronger bearish recovery. This is an R SHORT signal with a higher recovery score.
ACCEPT UP
Price swept above a liquidity level and then accepted beyond it instead of rejecting. This suggests continuation rather than reversal.
ACCEPT DOWN
Price swept below a liquidity level and then accepted beyond it instead of reclaiming. This suggests continuation rather than reversal.
Pending reclaim level
A sweep has occurred and the script is waiting to see whether price recovers, accepts, or expires.
How to use it
Basic workflow
Identify a meaningful liquidity level.
Wait for price to sweep that level.
Watch the pending reclaim level.
Let the script classify the outcome as recovery, strong recovery, acceptance, or expiry.
Use the recovery score and tooltip context to evaluate the setup.
Use recovery boxes and optional stop/target lines as planning references.
Example use cases
Previous day low raid
Price trades below the previous day low, forms a rejection wick, then closes back above the level with strong RVOL. The script may print R LONG or R+ LONG depending on score.
Previous day high acceptance
Price sweeps above the previous day high and holds above it beyond the acceptance window. The script may print ACCEPT UP, showing that the sweep behaved more like continuation than reversal.
Equal high trap
Price takes a visible equal high, fails to hold above it, and quickly reclaims below the level. The script may classify the event as R SHORT.
Filtering weak sweeps
Users can require stronger wick rejection, higher RVOL, FVG confluence, or lower-timeframe confirmation to reduce weaker signals.
Inputs
Liquidity Levels
This section controls which levels the script monitors.
Use Swing High / Low
Tracks confirmed pivot highs and lows.
Use Equal High / Low
Tracks equal highs/lows within an ATR-based tolerance.
Use Previous Day High / Low
Adds prior daily extremes as liquidity levels.
Use Previous Week High / Low
Adds prior weekly extremes.
Use Developing Session High / Low
Tracks current session extremes using the previous bar value to avoid same-bar self-reference.
Swing Pivot Length
Controls how sensitive swing detection is.
Equal High/Low Tolerance ATR
Controls how close two swing levels must be to count as equal highs or equal lows.
Hide Far Liquidity Levels
Keeps the chart cleaner by hiding levels far from current price.
Raid Detection
This section controls sweep and reclaim behavior.
Sweep Buffer ATR
Minimum distance beyond a level required to count as a sweep.
Reclaim Buffer ATR
Minimum close-back buffer required to confirm a reclaim.
Accepted Breakout Buffer ATR
Distance beyond the swept level used to classify acceptance.
Max Sweep Depth ATR
Prevents extremely distant breaks from being treated as clean liquidity sweeps.
Base Max Bars To Reclaim
Maximum number of bars allowed for price to reclaim the swept level.
Bars Before Acceptance Check
Minimum number of bars before the script checks whether the sweep has become accepted continuation.
Minimum Recovery Score
Minimum score required to print an R signal.
Strong Recovery Score
Minimum score required to print an R+ signal.
Flow / Volume Scoring
This section controls participation and rejection scoring.
RVOL Length
Lookback used to calculate relative volume.
RVOL Target
Target relative-volume value used in scoring.
Flow Smoothing
Smoothing length for the directional flow proxy.
Flow Target
Target directional-flow value used in scoring.
Ideal Rejection Wick Ratio
Wick-to-range ratio used to score rejection quality.
FVG Confluence
This section controls fair value gap context.
Use FVG Confluence Boost
Enables or disables FVG scoring.
Max Active FVG Age
Controls how long an FVG can remain active for confluence.
FVG Near Sweep Tolerance ATR
Controls how close the FVG must be to the sweep level.
Minimum FVG Impulse ATR
Requires enough displacement before counting an FVG.
Show Active FVG Zones
Displays active FVG areas on the chart.
Optional LTF Confirmation
This section controls lower-timeframe reclaim validation.
Use Lower-TF Reclaim Confirmation
Requires a configurable portion of lower-timeframe closes to confirm the reclaim.
Lower Timeframe
The lower timeframe used for confirmation.
Minimum LTF Reclaim Ratio
Minimum portion of lower-timeframe closes required beyond the reclaim level.
This feature can improve confirmation quality but may increase computation. It is off by default.
Targets / Trade Plan
This section controls planning references.
Show Auto Stop / Target
Draws optional stop and target reference lines after recovery signals.
Plan Line Forward Bars
Controls how far stop/target lines extend.
Max Plan Sets Kept
Limits how many historical planning lines remain on the chart.
Stops are based on the sweep extreme. Targets are based on the next available liquidity level.
Display and Object Management
This section controls visual layers.
Users can toggle:
liquidity levels
sweep markers
recovery boxes
accepted breakout labels
dashboard
outcome statistics table
EMA 50
yearly VWAP
FVG zones
stop/target planning lines
Object limits are included to keep the chart clean and responsive.
Best markets and timeframes
Recovery RAID Index is designed for liquid markets where stop-runs and liquidity sweeps are common.
It is most useful on:
indices
futures
forex
crypto
liquid large-cap stocks
It can be used across many timeframes, but the strongest general range is usually 5-minute to 4-hour charts.
Lower timeframes may produce more signals and require more filtering. Higher timeframes may produce fewer but cleaner events.
Lower-timeframe confirmation works best when the chart timeframe is meaningfully higher than the selected confirmation timeframe.
Limitations
Recovery RAID Index does not predict every reversal.
Important limitations:
Strong trends can sweep liquidity and continue.
Not every reclaim leads to follow-through.
The flow model is an approximation based on candle position and volume, not true bid/ask order flow.
Pivot-based levels require confirmation and are delayed by design.
Lower-timeframe confirmation depends on available intrabar data.
FVG confluence is contextual, not a guarantee.
Outcome statistics are recent script memory, not a backtest or performance claim.
This script should be used with market context, session awareness, and risk management.
Originality statement
Recovery RAID Index is not a generic liquidity-line overlay.
Its core idea is the post-sweep decision model: it detects when liquidity has been raided, then evaluates whether the market recovered the level, accepted beyond it, or abandoned the setup. The script scores that process using level importance, sweep depth, reclaim speed, rejection quality, relative volume, directional flow, FVG confluence, volatility regime, session context, and optional lower-timeframe reclaim validation.
The result is a workflow tool for studying liquidity sweeps, not just a marker for highs and lows.
Usage notes
Use R and R+ signals to study potential reversal setups after liquidity sweeps.
Use ACCEPT UP and ACCEPT DOWN labels to study continuation after sweeps.
Use R+ signals for stricter filtering.
Use R signals for broader monitoring.
Use the outcome table to see which liquidity sources are resolving best recently.
Use FVG confluence when you want more structure-based filtering.
Use lower-timeframe confirmation only when you need stricter reclaim validation.
If the chart becomes too busy, disable some liquidity sources, hide far levels, or turn off recovery boxes.
Disclaimer
This indicator is for educational and analytical purposes only. It does not provide financial advice and does not guarantee future performance.
Breakouts are not all the same. Some represent genuine expansion, while others are stop-runs through obvious liquidity before price reclaims the level. Recovery RAID Index detects sweeps of important liquidity levels, tracks whether price recovers or accepts beyond them, and scores the quality of that outcome using structure, rejection, flow, relative volume, fair value gap context, session behavior, and optional lower-timeframe confirmation.
The goal is simple: show traders what happened after liquidity was taken.
Overview
Retail traders are often trapped by breakouts that sweep a prior high or low, trigger stops, and then reverse sharply. Recovery RAID Index was built to study that exact sequence.
The script identifies liquidity raids above or below key levels, waits for either a reclaim or an accepted continuation, and classifies the outcome directly on the chart. Instead of only marking that a sweep happened, it evaluates the quality of the recovery and gives traders a structured way to understand whether the move looks like a trap reversal, a real breakout, or an abandoned setup.
This is part of the broader Structure Flow research approach: structure first, confirmation second, visual clarity always.
What it does
Recovery RAID Index is designed to track the full life cycle of a liquidity sweep.
It can:
Detect sweeps of swing highs/lows, equal highs/lows, previous day highs/lows, previous week highs/lows, and developing session highs/lows.
Track pending reclaim levels after a sweep occurs.
Confirm when price reclaims the swept level within a configurable time window.
Classify failed reversals as accepted breakouts or accepted breakdowns.
Score recoveries using level importance, sweep depth, reclaim speed, wick rejection, RVOL, directional flow, close-back strength, FVG confluence, and volatility regime.
Display R and R+ recovery signals.
Show ACCEPT UP / ACCEPT DOWN labels when price accepts beyond the swept level instead of reversing.
Draw recovery boxes around the sweep zone.
Plot optional stop and target planning lines based on the sweep extreme and next liquidity level.
Maintain outcome statistics by liquidity source.
Optionally validate reclaim quality using lower-timeframe closes.
Why it is different
Most liquidity sweep tools focus on the moment price takes a high or low. Recovery RAID Index focuses on the decision that follows.
A sweep by itself is not enough. Price can sweep liquidity and reverse, sweep liquidity and continue, or sweep liquidity and do nothing meaningful. This script is built around that distinction.
Recovery RAID Index separates:
Trap recoveries — price sweeps liquidity, then reclaims the level.
Strong recoveries — recoveries with stronger confluence and higher score.
Accepted breakouts/breakdowns — price sweeps a level and continues beyond it.
Expired sweeps — price fails to confirm either outcome within the reclaim window.
The script also includes outcome memory, so traders can see how different liquidity sources are resolving recently. For example, previous day sweeps may be recovering well while session-level sweeps are failing. That makes the tool more than a marker; it becomes a live read on sweep behavior.
Core logic
Liquidity sources
The script can monitor multiple sources of obvious liquidity:
Swing highs and swing lows
Equal highs and equal lows
Previous day high and low
Previous week high and low
Developing session high and low
Each source has a different importance value. Previous week and previous day levels generally carry more weight than ordinary swing levels, while equal highs/lows add context where liquidity is visibly clustered.
Recovery model
A sweep occurs when price trades beyond a tracked liquidity level by a configurable ATR buffer.
For a bullish recovery setup, price sweeps below a liquidity level and then must close back above the swept level within the reclaim window.
For a bearish recovery setup, price sweeps above a liquidity level and then must close back below the swept level within the reclaim window.
If price does not reclaim and instead remains beyond the swept level after the acceptance window, the script can classify the event as accepted continuation rather than reversal.
This creates a complete sweep framework:
Liquidity is taken.
The script tracks the reclaim level.
Price either recovers, accepts, or expires.
The event is labeled and recorded.
Score model
Each recovery receives a score from 0 to 100.
The score is based on several components:
Level importance
Higher-value liquidity sources receive more weight. A previous week high or low is treated as more important than a simple local swing.
Sweep depth
Measures how far price moved beyond the swept level in ATR terms. A meaningful sweep should take liquidity clearly, but not become so extended that the reclaim loses quality.
Reclaim speed
Fast recoveries are generally stronger than delayed recoveries. The script rewards price that reclaims the level quickly.
Wick rejection
Large rejection wicks can show that price rejected the sweep area. The script measures the wick relative to the candle range.
Relative volume
RVOL compares current volume to average volume. Higher participation can increase confidence that the sweep was meaningful.
Flow proxy
The script estimates directional pressure using candle position and volume. This is not true bid/ask delta, but it helps approximate whether buying or selling pressure supported the reclaim.
Close-back strength
Measures how far price closes back through the swept level after reclaiming.
Fair value gap confluence
If a recovery aligns with an active FVG near the sweep zone, the score can receive an additional boost.
Volatility regime
The script adapts scoring behavior based on volatility. In higher-volatility regimes, sweep depth is weighted differently than in normal or low-volatility conditions.
Fair value gap confluence
Recovery RAID Index can detect recent fair value gaps and check whether they overlap the sweep/reclaim area.
This matters because a sweep that reclaims into an imbalance or displacement zone may carry more context than a simple wick through a level.
The FVG engine considers:
bullish and bearish FVG formation
impulse requirement
FVG age
distance from the swept level
whether the gap is still active
FVG confluence is optional and can be turned off.
Optional lower-timeframe confirmation
The script includes optional lower-timeframe reclaim confirmation.
When enabled, the reclaim candle is checked using lower-timeframe closes. For example, on a 15-minute chart, the script can inspect lower-timeframe candles to see how many closed back through the swept level.
This helps distinguish a clean structural reclaim from a single end-of-candle close. Because lower-timeframe confirmation is more computationally demanding, it is optional and off by default.
Session intelligence
The script identifies broad session context using UTC time:
London
New York
Other
The reclaim window can adjust based on session behavior. This is useful because sweeps can behave differently during active sessions compared with quieter market periods.
Session information is also included in tooltips.
Outcome memory
Recovery RAID Index records recent sweep outcomes by source category:
Swing
Equal high/low
Previous day
Previous week
Session
The outcome table shows how many recent sweeps recovered, accepted, or failed by source. This helps traders understand which liquidity pools are currently producing cleaner reactions.
This is intended as a transparency feature, not a performance claim.
Signal types
R LONG
A bullish recovery signal. Price swept below a liquidity level, then reclaimed back above the swept level within the configured reclaim window.
R+ LONG
A stronger bullish recovery. This is an R LONG signal with a higher recovery score.
R SHORT
A bearish recovery signal. Price swept above a liquidity level, then reclaimed back below the swept level within the configured reclaim window.
R+ SHORT
A stronger bearish recovery. This is an R SHORT signal with a higher recovery score.
ACCEPT UP
Price swept above a liquidity level and then accepted beyond it instead of rejecting. This suggests continuation rather than reversal.
ACCEPT DOWN
Price swept below a liquidity level and then accepted beyond it instead of reclaiming. This suggests continuation rather than reversal.
Pending reclaim level
A sweep has occurred and the script is waiting to see whether price recovers, accepts, or expires.
How to use it
Basic workflow
Identify a meaningful liquidity level.
Wait for price to sweep that level.
Watch the pending reclaim level.
Let the script classify the outcome as recovery, strong recovery, acceptance, or expiry.
Use the recovery score and tooltip context to evaluate the setup.
Use recovery boxes and optional stop/target lines as planning references.
Example use cases
Previous day low raid
Price trades below the previous day low, forms a rejection wick, then closes back above the level with strong RVOL. The script may print R LONG or R+ LONG depending on score.
Previous day high acceptance
Price sweeps above the previous day high and holds above it beyond the acceptance window. The script may print ACCEPT UP, showing that the sweep behaved more like continuation than reversal.
Equal high trap
Price takes a visible equal high, fails to hold above it, and quickly reclaims below the level. The script may classify the event as R SHORT.
Filtering weak sweeps
Users can require stronger wick rejection, higher RVOL, FVG confluence, or lower-timeframe confirmation to reduce weaker signals.
Inputs
Liquidity Levels
This section controls which levels the script monitors.
Use Swing High / Low
Tracks confirmed pivot highs and lows.
Use Equal High / Low
Tracks equal highs/lows within an ATR-based tolerance.
Use Previous Day High / Low
Adds prior daily extremes as liquidity levels.
Use Previous Week High / Low
Adds prior weekly extremes.
Use Developing Session High / Low
Tracks current session extremes using the previous bar value to avoid same-bar self-reference.
Swing Pivot Length
Controls how sensitive swing detection is.
Equal High/Low Tolerance ATR
Controls how close two swing levels must be to count as equal highs or equal lows.
Hide Far Liquidity Levels
Keeps the chart cleaner by hiding levels far from current price.
Raid Detection
This section controls sweep and reclaim behavior.
Sweep Buffer ATR
Minimum distance beyond a level required to count as a sweep.
Reclaim Buffer ATR
Minimum close-back buffer required to confirm a reclaim.
Accepted Breakout Buffer ATR
Distance beyond the swept level used to classify acceptance.
Max Sweep Depth ATR
Prevents extremely distant breaks from being treated as clean liquidity sweeps.
Base Max Bars To Reclaim
Maximum number of bars allowed for price to reclaim the swept level.
Bars Before Acceptance Check
Minimum number of bars before the script checks whether the sweep has become accepted continuation.
Minimum Recovery Score
Minimum score required to print an R signal.
Strong Recovery Score
Minimum score required to print an R+ signal.
Flow / Volume Scoring
This section controls participation and rejection scoring.
RVOL Length
Lookback used to calculate relative volume.
RVOL Target
Target relative-volume value used in scoring.
Flow Smoothing
Smoothing length for the directional flow proxy.
Flow Target
Target directional-flow value used in scoring.
Ideal Rejection Wick Ratio
Wick-to-range ratio used to score rejection quality.
FVG Confluence
This section controls fair value gap context.
Use FVG Confluence Boost
Enables or disables FVG scoring.
Max Active FVG Age
Controls how long an FVG can remain active for confluence.
FVG Near Sweep Tolerance ATR
Controls how close the FVG must be to the sweep level.
Minimum FVG Impulse ATR
Requires enough displacement before counting an FVG.
Show Active FVG Zones
Displays active FVG areas on the chart.
Optional LTF Confirmation
This section controls lower-timeframe reclaim validation.
Use Lower-TF Reclaim Confirmation
Requires a configurable portion of lower-timeframe closes to confirm the reclaim.
Lower Timeframe
The lower timeframe used for confirmation.
Minimum LTF Reclaim Ratio
Minimum portion of lower-timeframe closes required beyond the reclaim level.
This feature can improve confirmation quality but may increase computation. It is off by default.
Targets / Trade Plan
This section controls planning references.
Show Auto Stop / Target
Draws optional stop and target reference lines after recovery signals.
Plan Line Forward Bars
Controls how far stop/target lines extend.
Max Plan Sets Kept
Limits how many historical planning lines remain on the chart.
Stops are based on the sweep extreme. Targets are based on the next available liquidity level.
Display and Object Management
This section controls visual layers.
Users can toggle:
liquidity levels
sweep markers
recovery boxes
accepted breakout labels
dashboard
outcome statistics table
EMA 50
yearly VWAP
FVG zones
stop/target planning lines
Object limits are included to keep the chart clean and responsive.
Best markets and timeframes
Recovery RAID Index is designed for liquid markets where stop-runs and liquidity sweeps are common.
It is most useful on:
indices
futures
forex
crypto
liquid large-cap stocks
It can be used across many timeframes, but the strongest general range is usually 5-minute to 4-hour charts.
Lower timeframes may produce more signals and require more filtering. Higher timeframes may produce fewer but cleaner events.
Lower-timeframe confirmation works best when the chart timeframe is meaningfully higher than the selected confirmation timeframe.
Limitations
Recovery RAID Index does not predict every reversal.
Important limitations:
Strong trends can sweep liquidity and continue.
Not every reclaim leads to follow-through.
The flow model is an approximation based on candle position and volume, not true bid/ask order flow.
Pivot-based levels require confirmation and are delayed by design.
Lower-timeframe confirmation depends on available intrabar data.
FVG confluence is contextual, not a guarantee.
Outcome statistics are recent script memory, not a backtest or performance claim.
This script should be used with market context, session awareness, and risk management.
Originality statement
Recovery RAID Index is not a generic liquidity-line overlay.
Its core idea is the post-sweep decision model: it detects when liquidity has been raided, then evaluates whether the market recovered the level, accepted beyond it, or abandoned the setup. The script scores that process using level importance, sweep depth, reclaim speed, rejection quality, relative volume, directional flow, FVG confluence, volatility regime, session context, and optional lower-timeframe reclaim validation.
The result is a workflow tool for studying liquidity sweeps, not just a marker for highs and lows.
Usage notes
Use R and R+ signals to study potential reversal setups after liquidity sweeps.
Use ACCEPT UP and ACCEPT DOWN labels to study continuation after sweeps.
Use R+ signals for stricter filtering.
Use R signals for broader monitoring.
Use the outcome table to see which liquidity sources are resolving best recently.
Use FVG confluence when you want more structure-based filtering.
Use lower-timeframe confirmation only when you need stricter reclaim validation.
If the chart becomes too busy, disable some liquidity sources, hide far levels, or turn off recovery boxes.
Disclaimer
This indicator is for educational and analytical purposes only. It does not provide financial advice and does not guarantee future performance.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.