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.
![Risk Reward Execution Matrix [AGPro Series] actual TradingView interface on BINANCE:BTCUSDT (4h)](../images/product-settings/138-1.jpg)
General settings
26 inputsExecution Mode
- Input type
string- Source default
"Auto"- Available options
["Auto", "Long Only", "Short Only"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Controls whether the execution matrix evaluates both sides, long-side plans only, or short-side plans only.
Effect on the script
This selects which documented analytical mode, source or directional context the workflow evaluates.
When to adjust it
Choose the mode that corresponds to your actual analysis before inspecting historical examples.
Interpretation and limits
A selected direction or model is a configuration choice, not evidence that price must follow it.
Original input tooltip
Controls whether the execution matrix evaluates both sides, long-side plans only, or short-side plans only.
Structure 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 recent structure window used for swing references and target-room context.
Effect on the script
This changes the swing or structural reference used by the documented detection or risk-reference calculation.
When to adjust it
Match the swing scale to the structure you intend to inspect, then review the resulting anchors and confirmation timing.
Interpretation and limits
Confirmed pivots require subsequent bars. Different settings create different structure and can change later events and observations.
Original input tooltip
Controls the recent structure window used for swing references and target-room context.
Pivot Strength
- 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 local swing strength for invalidation and structure references.
Effect on the script
This changes the swing or structural reference used by the documented detection or risk-reference calculation.
When to adjust it
Match the swing scale to the structure you intend to inspect, then review the resulting anchors and confirmation timing.
Interpretation and limits
Confirmed pivots require subsequent bars. Different settings create different structure and can change later events and observations.
Original input tooltip
Controls local swing strength for invalidation and structure references.
Invalidation Model
- Input type
string- Source default
"Hybrid"- Available options
["Hybrid", "Swing", "ATR"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Controls how the invalidation reference is selected. Swing uses recent structure, ATR uses volatility distance, and Hybrid uses the more practical nearby reference.
Effect on the script
This changes the swing or structural reference used by the documented detection or risk-reference calculation.
When to adjust it
Match the swing scale to the structure you intend to inspect, then review the resulting anchors and confirmation timing.
Interpretation and limits
Confirmed pivots require subsequent bars. Different settings create different structure and can change later events and observations.
Original input tooltip
Controls how the invalidation reference is selected. Swing uses recent structure, ATR uses volatility distance, and Hybrid uses the more practical nearby reference.
ATR Invalidation Buffer
- Input type
float- Source default
1.35- Available options
Not specified in source- Minimum
0.25- Maximum
6.0- Step
0.05
What it controls
ATR multiplier used when the matrix builds a volatility-based invalidation reference.
Effect on the script
This changes the documented volatility, risk-distance or location reference used by the analytical workflow.
When to adjust it
Set the relevant risk or distance assumption as part of a coherent plan, then inspect the resulting geometry.
Interpretation and limits
A chart reference is not an account-risk limit, a live stop or a guarantee of execution. Gaps and changing volatility can exceed the reference.
Original input tooltip
ATR multiplier used when the matrix builds a volatility-based invalidation reference.
Entry Zone Width ATR
- Input type
float- Source default
0.42- Available options
Not specified in source- Minimum
0.1- Maximum
2.0- Step
0.05
What it controls
Controls the width of the active entry zone around the qualified setup reference.
Effect on the script
This changes the documented volatility, risk-distance or location reference used by the analytical workflow.
When to adjust it
Set the relevant risk or distance assumption as part of a coherent plan, then inspect the resulting geometry.
Interpretation and limits
A chart reference is not an account-risk limit, a live stop or a guarantee of execution. Gaps and changing volatility can exceed the reference.
Original input tooltip
Controls the width of the active entry zone around the qualified setup reference.
Target 1 R
- Input type
float- Source default
1.0- Available options
Not specified in source- Minimum
0.25- Maximum
5.0- Step
0.25
What it controls
First target-ladder reference measured from the active risk distance.
Effect on the script
This changes the documented target or payoff geometry used by the plan, distance comparison or outcome model.
When to adjust it
Set the target assumption before evaluating observations and compare it with the active risk or volatility reference.
Interpretation and limits
A larger projected reward does not establish that the market can deliver it. References are not net returns or actual fills.
Original input tooltip
First target-ladder reference measured from the active risk distance.
Target 2 R
- Input type
float- Source default
2.0- Available options
Not specified in source- Minimum
0.5- Maximum
8.0- Step
0.25
What it controls
Second target-ladder reference measured from the active risk distance. The applied value remains at least 0.25R above Target 1.
Effect on the script
This changes the documented target or payoff geometry used by the plan, distance comparison or outcome model.
When to adjust it
Set the target assumption before evaluating observations and compare it with the active risk or volatility reference.
Interpretation and limits
A larger projected reward does not establish that the market can deliver it. References are not net returns or actual fills.
Original input tooltip
Second target-ladder reference measured from the active risk distance. The applied value remains at least 0.25R above Target 1.
Target 3 R
- Input type
float- Source default
3.0- Available options
Not specified in source- Minimum
0.75- Maximum
12.0- Step
0.25
What it controls
Third target-ladder reference measured from the active risk distance. The applied value remains at least 0.25R above Target 2.
Effect on the script
This changes the documented target or payoff geometry used by the plan, distance comparison or outcome model.
When to adjust it
Set the target assumption before evaluating observations and compare it with the active risk or volatility reference.
Interpretation and limits
A larger projected reward does not establish that the market can deliver it. References are not net returns or actual fills.
Original input tooltip
Third target-ladder reference measured from the active risk distance. The applied value remains at least 0.25R above Target 2.
Execution Review Score
- Input type
int- Source default
72- Available options
Not specified in source- Minimum
40- Maximum
95- Step
Not specified in source
What it controls
Minimum heuristic score for review readiness. Valid geometry, entry-zone location, age, remaining R and confirmed structure room must also pass. This is not an order or a success probability.
Effect on the script
This supplies the documented value to the associated analytical component.
When to adjust it
Change it when intentionally defining a different analytical assumption, keeping the other settings stable for comparison.
Interpretation and limits
A different configuration changes the model being reviewed; it does not promise a better trading outcome.
Original input tooltip
Minimum heuristic score for review readiness. Valid geometry, entry-zone location, age, remaining R and confirmed structure room must also pass. This is not an order or a success probability.
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 entry and target labels by quality. Invalidation, uncertainty and expiry labels remain eligible. Active geometry, panel and alerts remain visible.
Effect on the script
This filters the labels drawn on the chart; the internal workflow, dashboard and alert logic remain active.
When to adjust it
Change it when the active reference is hard to inspect or when historical annotations compete with current price action.
Interpretation and limits
A missing lower-score label does not mean that its analytical context or alert conditions have been disabled.
Original input tooltip
Filters non-critical historical entry and target labels by quality. Invalidation, uncertainty and expiry labels remain eligible. Active geometry, panel and alerts remain visible.
Matrix Projection Bars
- Input type
int- Source default
48- Available options
Not specified in source- Minimum
16- Maximum
180- Step
Not specified in source
What it controls
Controls how far active zones, target bands, and execution references project to the right.
Effect on the script
This controls the visibility, placement, extent or retained history of the documented visual element. It is part of the chart presentation layer.
When to adjust it
Change it when the active reference is hard to inspect or when historical annotations compete with current price action.
Interpretation and limits
Reducing visible history or hiding an element does not improve the underlying observations. A visual projection is not a price forecast.
Original input tooltip
Controls how far active zones, target bands, and execution references project 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. Balanced keeps the centered execution verdict, reward-risk spine, target ladder, and selective history visible.
Effect on the script
This controls the visibility, placement, extent or retained history of the documented visual element. It is part of the chart presentation layer.
When to adjust it
Change it when the active reference is hard to inspect or when historical annotations compete with current price action.
Interpretation and limits
Reducing visible history or hiding an element does not improve the underlying observations. A visual projection is not a price forecast.
Original input tooltip
Controls chart annotation density. Balanced keeps the centered execution verdict, reward-risk spine, target ladder, and selective history visible.
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
This controls the visibility, placement, extent or retained history of the documented visual element. It is part of the chart presentation layer.
When to adjust it
Change it when the active reference is hard to inspect or when historical annotations compete with current price action.
Interpretation and limits
Reducing visible history or hiding an element does not improve the underlying observations. A visual projection is not a price forecast.
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
This changes presentation and legibility of the relevant chart element, rather than the underlying analytical model.
When to adjust it
Change it when the chart background, screen size or other overlays make the current presentation difficult to read.
Interpretation and limits
A visual preference does not strengthen the measured setup or alter its uncertainty.
Original input tooltip
Controls visible chart label size.
Entry Wait Limit (Bars)
- Input type
int- Source default
24- Available options
Not specified in source- Minimum
1- Maximum
300- Step
Not specified in source
What it controls
Maximum later completed candles allowed for an OHLC entry-zone touch. The plan-creation candle never counts as entry. Untouched plans expire separately from entered observations.
Effect on the script
This sets the documented age, waiting period or forward observation deadline used by the event lifecycle.
When to adjust it
Match the review horizon to the question being studied and keep the deadline explicit in historical comparisons.
Interpretation and limits
Changing a deadline changes which observations resolve, expire or remain eligible. A timed model observation is not a broker trade.
Original input tooltip
Maximum later completed candles allowed for an OHLC entry-zone touch. The plan-creation candle never counts as entry. Untouched plans expire separately from entered observations.
Plan 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 the active plan. Timeout is disclosed separately; frozen entry, invalidation and targets do not move.
Effect on the script
This sets the documented age, waiting period or forward observation deadline used by the event lifecycle.
When to adjust it
Match the review horizon to the question being studied and keep the deadline explicit in historical comparisons.
Interpretation and limits
Changing a deadline changes which observations resolve, expire or remain eligible. A timed model observation is not a broker trade.
Original input tooltip
Maximum completed-candle age of the active plan. Timeout is disclosed separately; frozen entry, invalidation and targets do not move.
Minimum Remaining T1 R
- Input type
float- Source default
0.75- Available options
Not specified in source- Minimum
0.1- Maximum
5- Step
0.05
What it controls
Minimum remaining distance to T1 divided by current distance to invalidation, required for execution review. It is gross price geometry, not a net return estimate.
Effect on the script
This changes the documented volatility, risk-distance or location reference used by the analytical workflow.
When to adjust it
Set the relevant risk or distance assumption as part of a coherent plan, then inspect the resulting geometry.
Interpretation and limits
A chart reference is not an account-risk limit, a live stop or a guarantee of execution. Gaps and changing volatility can exceed the reference.
Original input tooltip
Minimum remaining distance to T1 divided by current distance to invalidation, required for execution review. It is gross price geometry, not a net return estimate.
Require Confirmed Structure Room
- 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
Blocks readiness if the nearest confirmed opposing pivot is before T1 or provides less room than Minimum Remaining T1 R. Targets remain fixed mathematical R references.
Effect on the script
This changes the swing or structural reference used by the documented detection or risk-reference calculation.
When to adjust it
Match the swing scale to the structure you intend to inspect, then review the resulting anchors and confirmation timing.
Interpretation and limits
Confirmed pivots require subsequent bars. Different settings create different structure and can change later events and observations.
Original input tooltip
Blocks readiness if the nearest confirmed opposing pivot is before T1 or provides less room than Minimum Remaining T1 R. Targets remain fixed mathematical R references.
Invalidation Observation Rule
- Input type
string- Source default
"Closed Breach"- Available options
["Closed Breach", "Level Touch"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Closed Breach invalidates on a completed close beyond the fixed reference. Level Touch uses completed-candle high/low. Neither proves exchange fills. Target plus invalidation-level touch on one candle remains uncertain under either rule.
Effect on the script
This changes the documented volatility, risk-distance or location reference used by the analytical workflow.
When to adjust it
Set the relevant risk or distance assumption as part of a coherent plan, then inspect the resulting geometry.
Interpretation and limits
A chart reference is not an account-risk limit, a live stop or a guarantee of execution. Gaps and changing volatility can exceed the reference.
Original input tooltip
Closed Breach invalidates on a completed close beyond the fixed reference. Level Touch uses completed-candle high/low. Neither proves exchange fills. Target plus invalidation-level touch on one candle remains uncertain under either rule.
Active Plan Policy
- Input type
string- Source default
"Replace on New Candidate"- Available options
["Replace on New Candidate", "Keep Until Terminal"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Replacement explicitly closes the old plan as superseded and stops its observations. Keep Until Terminal ignores new candidates while the same plan is active. Already resolved T1 observations remain recorded under their original plan.
Effect on the script
This selects how a new qualified context interacts with an already active owner or plan.
When to adjust it
Decide in advance whether the current context should survive until terminal closure or be superseded by a new qualified candidate.
Interpretation and limits
Replacing a context changes the selected observation history and can exclude pending observations. It is not merely a visual preference.
Original input tooltip
Replacement explicitly closes the old plan as superseded and stops its observations. Keep Until Terminal ignores new candidates while the same plan is active. Already resolved T1 observations remain recorded under their original plan.
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 shows primary decision geometry and lifecycle. Full adds side-specific observation counts and exclusions. Both run the same engine.
Effect on the script
This selects which part of the existing analytical readout is visible in the dashboard. It does not create a different event engine.
When to adjust it
Use a compact or overview page for routine reading and the detailed pages when inspecting assumptions, observations or exclusions.
Interpretation and limits
Information hidden by a page choice can still matter. Check the evidence and model assumptions before relying on a headline score.
Original input tooltip
Compact shows primary decision geometry and lifecycle. Full adds side-specific observation counts and exclusions. Both run the same engine.
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 execution panel. The panel summarizes side, entry zone, risk distance, current R, target ladder, invalidation, execution score, bars active, T1 hit rate, setup quality, state, and next review.
Effect on the script
This controls the visibility, placement, extent or retained history of the documented visual element. It is part of the chart presentation layer.
When to adjust it
Change it when the active reference is hard to inspect or when historical annotations compete with current price action.
Interpretation and limits
Reducing visible history or hiding an element does not improve the underlying observations. A visual projection is not a price forecast.
Original input tooltip
Shows or hides the AGPro execution panel. The panel summarizes side, entry zone, risk distance, current R, target ladder, invalidation, execution score, bars active, T1 hit rate, setup quality, 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
Sets panel location within the current controls.
Effect on the script
This changes presentation and legibility of the relevant chart element, rather than the underlying analytical model.
When to adjust it
Change it when the chart background, screen size or other overlays make the current presentation difficult to read.
Interpretation and limits
A visual preference does not strengthen the measured setup or alter its uncertainty.
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
Sets panel theme within the current controls.
Effect on the script
This changes presentation and legibility of the relevant chart element, rather than the underlying analytical model.
When to adjust it
Change it when the chart background, screen size or other overlays make the current presentation difficult to read.
Interpretation and limits
A visual preference does not strengthen the measured setup or alter its uncertainty.
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
Sets panel font size within the current controls.
Effect on the script
This changes presentation and legibility of the relevant chart element, rather than the underlying analytical model.
When to adjust it
Change it when the chart background, screen size or other overlays make the current presentation difficult to read.
Interpretation and limits
A visual preference does not strengthen the measured setup or alter its uncertainty.
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