Use your browser’s Find (Ctrl+F / ⌘F) to locate a setting. Open its row for the full explanation and limits. Source-check time is a verification timestamp, not a script publication date.
![Sweep Reclaim Decision Matrix [AGPro Series] actual TradingView interface on ETHUSDT (4h)](../images/product-settings/66-1.png)
General settings
24 inputsSweep Mode
- Input type
string- Source default
"Auto"- Available options
["Auto", "Upper Only", "Lower Only"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Controls whether the matrix evaluates both sides, upper sweeps only, or lower sweeps only.
Effect on the script
Applies the documented directional filter before the workflow evaluates eligible context.
When to adjust it
Select a side only when the chart study is deliberately restricted to that scenario.
Interpretation and limits
Choosing a side does not validate that directional thesis or predict the next move.
Original input tooltip
Controls whether the matrix evaluates both sides, upper sweeps only, or lower sweeps only.
Liquidity Lookback
- Input type
int- Source default
80- Available options
Not specified in source- Minimum
30- Maximum
300- Step
Not specified in source
What it controls
Controls the prior liquidity reference window used to locate sweepable highs and lows.
Effect on the script
Changes the measurement horizon used by the oscillator, trend, range, or context component named by the setting.
When to adjust it
Change it when comparing a different analytical horizon and record the configuration alongside the observations.
Interpretation and limits
Different windows produce different contexts and are not evidence of an improved future result.
Original input tooltip
Controls the prior liquidity reference window used to locate sweepable highs and lows.
Pivot Context
- Input type
int- Source default
3- Available options
Not specified in source- Minimum
2- Maximum
10- Step
Not specified in source
What it controls
Controls confirmed local pivot context.
Effect on the script
Pivot references older than Liquidity Lookback are discarded; confirmation introduces a delay.
When to adjust it
Adjust it when studying a different structural scale or the spacing allowed between compared pivots.
Interpretation and limits
Confirmed pivots require later information; a displayed historical pivot was not necessarily known at its own bar.
Original input tooltip
Controls confirmed local pivot context. Pivot references older than Liquidity Lookback are discarded; confirmation introduces a delay.
Sweep Sensitivity
- Input type
string- Source default
"Balanced"- Available options
["Relaxed", "Balanced", "Strict"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Controls how much ATR tolerance is allowed around the swept reference level.
Effect on the script
Changes the threshold or sensitivity of the documented qualification or review component.
When to adjust it
Compare requirements under a fixed symbol, timeframe, and remaining configuration.
Interpretation and limits
A more selective or stronger heuristic score is not a calibrated success probability or a guarantee of reversal or continuation.
Original input tooltip
Controls how much ATR tolerance is allowed around the swept reference level.
Reclaim Zone ATR Width
- Input type
float- Source default
0.24- Available options
Not specified in source- Minimum
0.05- Maximum
1.5- Step
0.01
What it controls
Controls how wide the reclaim review zone is around the swept level.
Effect on the script
Changes the width, depth, or allowed distance of the documented review area or qualification reference.
When to adjust it
Adjust it when deliberately comparing a narrower or broader structural review definition.
Interpretation and limits
A wider area or larger allowed distance does not make the context more reliable or guarantee containment.
Original input tooltip
Controls how wide the reclaim review zone is around the swept level.
Failure Sensitivity
- Input type
string- Source default
"Balanced"- Available options
["Relaxed", "Balanced", "Strict"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Controls how quickly failure pressure increases when price moves back beyond the swept reference.
Effect on the script
Changes the threshold or sensitivity of the documented qualification or review component.
When to adjust it
Compare requirements under a fixed symbol, timeframe, and remaining configuration.
Interpretation and limits
A more selective or stronger heuristic score is not a calibrated success probability or a guarantee of reversal or continuation.
Original input tooltip
Controls how quickly failure pressure increases when price moves back beyond the swept reference.
Heat Sensitivity
- Input type
string- Source default
"Balanced"- Available options
["Relaxed", "Balanced", "Strict"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Controls how strongly sweep depth, wick pressure, and proximity contribute to the heat score.
Effect on the script
Changes the threshold or sensitivity of the documented qualification or review component.
When to adjust it
Compare requirements under a fixed symbol, timeframe, and remaining configuration.
Interpretation and limits
A more selective or stronger heuristic score is not a calibrated success probability or a guarantee of reversal or continuation.
Original input tooltip
Controls how strongly sweep depth, wick pressure, and proximity contribute to the heat score.
Sweep Reach (ATR)
- Input type
float- Source default
3.0- Available options
Not specified in source- Minimum
1.0- Maximum
8.0- Step
0.5
What it controls
Maximum completed-close distance from the swept reference for an active review state.
Effect on the script
Further price is EVENT DISTANT. This does not extend the event lifetime or stop follow observations.
When to adjust it
Adjust it when deliberately comparing a narrower or broader structural review definition.
Interpretation and limits
This does not extend the event lifetime or stop follow observations.
Original input tooltip
Maximum completed-close distance from the swept reference for an active review state. Further price is EVENT DISTANT. This does not extend the event lifetime or stop follow observations.
Follow Target (ATR)
- Input type
float- Source default
1.0- Available options
Not specified in source- Minimum
0.5- Maximum
4.0- Step
0.25
What it controls
Defines the follow-through target, measured from the confirmed sweep close in anchor ATR units.
Effect on the script
The fixed target is shown as a follow-through observation reference, not a trade target or proof of a fill.
When to adjust it
Adjust it only when deliberately changing the descriptive follow-through question being measured.
Interpretation and limits
The fixed target is shown as a follow-through observation reference, not a trade target or proof of a fill.
Original input tooltip
Defines the follow-through target, measured from the confirmed sweep close in anchor ATR units. The fixed target is shown as a follow-through observation reference, not a trade target or proof of a fill.
Follow Window (Bars)
- Input type
int- Source default
160- Available options
Not specified in source- Minimum
20- Maximum
600- Step
Not specified in source
What it controls
Maximum later completed bars to observe the fixed follow reference.
Effect on the script
The final allowed candle is evaluated before timeout. Same-candle target and failure-edge touches are uncertain, not assigned an intrabar execution order.
When to adjust it
Change it when studying another explicitly defined event or observation horizon.
Interpretation and limits
Same-candle target and failure-edge touches are uncertain, not assigned an intrabar execution order.
Original input tooltip
Maximum later completed bars to observe the fixed follow reference. The final allowed candle is evaluated before timeout. Same-candle target and failure-edge touches are uncertain, not assigned an intrabar execution order.
Minimum Label Score
- Input type
int- Source default
75- Available options
Not specified in source- Minimum
60- Maximum
95- Step
Not specified in source
What it controls
Filters non-critical historical reclaim and follow-through labels by quality.
Effect on the script
Failure, uncertainty and expiry remain eligible; active geometry and alerts are unaffected.
When to adjust it
Adjust it when lower-priority annotations compete with the current chart context.
Interpretation and limits
Failure, uncertainty and expiry remain eligible; active geometry and alerts are unaffected.
Original input tooltip
Filters non-critical historical reclaim and follow-through labels by quality. Failure, uncertainty and expiry remain eligible; active geometry and alerts are unaffected.
Zone Projection Bars
- Input type
int- Source default
44- Available options
Not specified in source- Minimum
15- Maximum
220- Step
Not specified in source
What it controls
Controls how far the active sweep-reclaim zones are projected to the right.
Effect on the script
Controls the horizontal extent or placement of the relevant chart drawing in bars.
When to adjust it
Adjust it when the available forward chart space or the intended visual review area changes.
Interpretation and limits
Drawing farther to the right does not extend event validity or establish that price will reach a reference.
Original input tooltip
Controls how far the active sweep-reclaim zones are projected to the right.
Visual Preset
- Input type
string- Source default
"Balanced"- Available options
["Clean", "Balanced", "Rich"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Controls chart annotation density.
Effect on the script
Balanced is the default publication style.
When to adjust it
Use a calmer preset when annotations obscure current structure, or a richer one when reviewing the documented historical context.
Interpretation and limits
More visible labels do not mean more independent evidence, trades, or profitable opportunities.
Original input tooltip
Controls chart annotation density. Balanced is the default publication style.
State Label Cooldown
- Input type
int- Source default
55- Available options
Not specified in source- Minimum
50- Maximum
180- Step
Not specified in source
What it controls
Controls the minimum number of bars between historical state labels.
Effect on the script
Changes the spacing or acceptance cooldown described by the control; the tooltip identifies which events it affects.
When to adjust it
Adjust only after distinguishing display-label spacing from a cooldown that changes accepted-event selection.
Interpretation and limits
A selection cooldown can change the sample. Display spacing alone must not be interpreted as better analytical performance.
Original input tooltip
Controls the minimum number of bars between historical state labels.
Label Font Size
- Input type
string- Source default
"Normal"- Available options
["Small", "Normal", "Large"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Controls visible chart label size.
Effect on the script
Controls the text-size mapping used by the relevant panel or chart-label renderer.
When to adjust it
Adjust it for the chart size and viewing distance while preserving readable boundaries and state information.
Interpretation and limits
A larger font can increase chart overlap. Text size does not change the analytical observations.
Original input tooltip
Controls visible chart label size.
Reclaim Hold Closes
- Input type
int- Source default
2- Available options
Not specified in source- Minimum
1- Maximum
5- Step
Not specified in source
What it controls
Consecutive later completed closes on the reclaim side required for RECLAIM HOLDING.
Effect on the script
The sweep candle is not a later holding confirmation. A later zone touch with a reclaim-side close can then confirm a retest.
When to adjust it
Compare requirements under a fixed symbol, timeframe, and remaining configuration.
Interpretation and limits
The sweep candle is not a later holding confirmation.
Original input tooltip
Consecutive later completed closes on the reclaim side required for RECLAIM HOLDING. The sweep candle is not a later holding confirmation. A later zone touch with a reclaim-side close can then confirm a retest.
Event Lifetime (Bars)
- Input type
int- Source default
160- Available options
Not specified in source- Minimum
5- Maximum
1000- Step
Not specified in source
What it controls
Maximum completed-candle age of one sweep event.
Effect on the script
Expired, failed, uncertain and completed events are terminal and cannot reactivate without a new accepted sweep. The shorter of this lifetime and Follow Window controls the observation deadline.
When to adjust it
Change it when studying another explicitly defined event or observation horizon.
Interpretation and limits
Expired, failed, uncertain and completed events are terminal and cannot reactivate without a new accepted sweep.
Original input tooltip
Maximum completed-candle age of one sweep event. Expired, failed, uncertain and completed events are terminal and cannot reactivate without a new accepted sweep. The shorter of this lifetime and Follow Window controls the observation deadline.
Same-Level Sweep Cooldown
- Input type
int- Source default
8- Available options
Not specified in source- Minimum
0- Maximum
100- Step
Not specified in source
What it controls
Suppresses repeated same-side sweeps of the exact tick-level reference within this many bars.
Effect on the script
Zero disables the filter. Different levels or sides remain separate events.
When to adjust it
Adjust only after distinguishing display-label spacing from a cooldown that changes accepted-event selection.
Interpretation and limits
A selection cooldown can change the sample. Display spacing alone must not be interpreted as better analytical performance.
Original input tooltip
Suppresses repeated same-side sweeps of the exact tick-level reference within this many bars. Zero disables the filter. Different levels or sides remain separate events.
Active Event Policy
- Input type
string- Source default
"Replace on New Sweep"- Available options
["Replace on New Sweep", "Keep Until Terminal"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Replacement explicitly marks the old event superseded and excludes its unresolved observation.
Effect on the script
Keep Until Terminal ignores candidates while the current event is active. Chart, panel and observations always share one event owner.
When to adjust it
Change it only when deliberately comparing event-retention and replacement rules.
Interpretation and limits
Replacement changes sample selection and pending-observation accounting; compare results under the same policy.
Original input tooltip
Replacement explicitly marks the old event superseded and excludes its unresolved observation. Keep Until Terminal ignores candidates while the current event is active. Chart, panel and observations always share one event owner.
Panel Detail
- Input type
string- Source default
"Compact"- Available options
["Compact", "Full"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Compact prioritizes event identity, confirmed state, reason, zone, failure edge, follow reference, quality, live distance, observations and next review.
Effect on the script
Full retains every diagnostic row. Both views use identical calculations.
When to adjust it
Use the current-state view for orientation and the available evidence/audit view when checking observation provenance and exclusions.
Interpretation and limits
A compact or hidden view does not remove the limitations of the underlying observations.
Original input tooltip
Compact prioritizes event identity, confirmed state, reason, zone, failure edge, follow reference, quality, live distance, observations and next review. Full retains every diagnostic row. Both views use identical calculations.
Show Panel
- Input type
bool- Source default
true- Available options
Not specified in source- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Shows or hides the AGPro sweep-reclaim panel.
Effect on the script
The panel summarizes sweep side, swept level, reclaim state, failure risk, heat score, distance, setup quality, observed follow rate, Wilson interval, bars active, workflow state, and next review.
When to adjust it
Show the panel to inspect the state and evidence, or hide it when chart space is the immediate priority.
Interpretation and limits
Hiding the panel is a presentation choice; do not treat missing rows as missing risk.
Original input tooltip
Shows or hides the AGPro sweep-reclaim panel. The panel summarizes sweep side, swept level, reclaim state, failure risk, heat score, distance, setup quality, observed follow rate, Wilson interval, bars active, workflow state, and next review.
Panel Location
- Input type
string- Source default
"Top Right"- Available options
["Top Right", "Top Left", "Bottom Right", "Bottom Left"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Selects where the workflow panel is placed on the chart.
Effect on the script
Selects the table position used by the panel renderer.
When to adjust it
Move the panel when it overlaps active candles, the current workflow zone, or reference labels.
Interpretation and limits
Panel placement changes presentation, not the detected context or observation accounting.
Panel Theme
- Input type
string- Source default
"Dark"- Available options
["Dark", "Light"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Selects the available panel contrast theme.
Effect on the script
Selects the panel background, border, and text color scheme used for contrast.
When to adjust it
Choose the available theme that keeps the panel readable against the chart background.
Interpretation and limits
A theme changes appearance; it does not change event qualification or statistical evidence.
Panel Font Size
- Input type
string- Source default
"Normal"- Available options
["Small", "Normal", "Large"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Controls the text size for panel font size.
Effect on the script
Controls the text-size mapping used by the relevant panel or chart-label renderer.
When to adjust it
Adjust it for the chart size and viewing distance while preserving readable boundaries and state information.
Interpretation and limits
A larger font can increase chart overlap. Text size does not change the analytical observations.
Keep the settings in context
Change one analytical assumption at a time and compare the same instrument, timeframe and history. A chart reference, score, observation rate or input default does not establish a trade fill, a forward probability or a guaranteed outcome.
Return to the product overview · View this script on TradingView