AGProLabsBack to product

Full settings reference

Edge Confidence Gauge [AGPro Series]
Full settings reference

Understand each input before changing your chart. The values below are the source-declared defaults; verified preset overrides and editability conditions are shown separately where available.

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.

Edge Confidence Gauge [AGPro Series] actual TradingView interface on SOLUSDT (1D)
Edge Confidence Gauge on SOLUSDT, 1D: the Wilson interval, tolerance-adjusted test floor and resolved-sample context. Actual historical interface capture associated with the source verified for this reference. Screenshot inputs may differ from source defaults; shown outcomes are not a performance promise.

Edge Source

4 inputs
Win-rate sourcestringDefault: "Measured"
Input type
string
Source default
"Measured"
Available options
["Measured", "Manual"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Measured: win rate and sample count are read from a built-in trigger + proof engine.

Effect on the script

Manual: you enter both yourself.

When to adjust it

Use the source that matches the question being studied and keep its origin clear when comparing outputs.

Interpretation and limits

A built-in proxy is not a personal account record. Manual assumptions are not automatically verified by the script.

Original input tooltip

Measured: win rate and sample count are read from a built-in trigger + proof engine. Manual: you enter both yourself.

Manual win rate (%)floatDefault: 45.0
Input type
float
Source default
45.0
Available options
Not specified in source
Minimum
1
Maximum
99
Step
0.5

What it controls

Assumed win rate for a supplied sample.

Effect on the script

Manual inputs are not observations verified by this script.

When to adjust it

Update it when the independently documented scenario or evidence supporting the manual assumption changes.

Interpretation and limits

Manual inputs are not observations verified by this script.

Original input tooltip

Assumed win rate for a supplied sample. Manual inputs are not observations verified by this script.

Manual sample count (N)intDefault: 40
Input type
int
Source default
40
Available options
Not specified in source
Minimum
2
Maximum
Not specified in source
Step
Not specified in source

What it controls

Assumed sample size for the manual Wilson scenario.

Effect on the script

The supplied rate and count may imply a fractional win count.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

Assumed sample size for the manual Wilson scenario. The supplied rate and count may imply a fractional win count.

Payoff R (reward : risk)floatDefault: 2.0
Input type
float
Source default
2.0
Available options
Not specified in source
Minimum
0.1
Maximum
10
Step
0.1

What it controls

Reward-to-risk of the trade.

Effect on the script

Sets both the measured target distance in ATR units and the breakeven win-rate reference 1 / (1 + R).

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

Reward-to-risk of the trade. Sets the breakeven win rate W* = 1 / (1 + R). In Measured mode it is also the target distance, in R, the engine tests for.

Measured Engine

5 inputs
Trigger EMA lengthintDefault: 50
Input type
int
Source default
50
Available options
Not specified in source
Minimum
2
Maximum
Not specified in source
Step
Not specified in source

What it controls

A transparent proxy entry: long when price crosses above this EMA, short when it crosses below.

Effect on the script

A stand-in for your own entry.

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

A transparent proxy entry: long when price crosses above this EMA, short when it crosses below. A stand-in for your own entry.

ATR length (risk unit)intDefault: 14
Input type
int
Source default
14
Available options
Not specified in source
Minimum
1
Maximum
Not specified in source
Step
Not specified in source

What it controls

ATR risk-unit window.

Effect on the script

Measurements wait for valid ATR and EMA warmup.

When to adjust it

Adjust it only when deliberately comparing a different volatility baseline.

Interpretation and limits

A different ATR unit changes the reference context; it does not make adverse price movement safely bounded.

Original input tooltip

ATR risk-unit window. Measurements wait for valid ATR and EMA warmup.

Max bars in tradeintDefault: 60
Input type
int
Source default
60
Available options
Not specified in source
Minimum
5
Maximum
Not specified in source
Step
Not specified in source

What it controls

If neither target nor stop is reached within this many bars, the observation expires.

Effect on the script

Expired observations are excluded from Wilson scoring and reported in the panel audit.

When to adjust it

Change it when studying another explicitly defined event or observation horizon.

Interpretation and limits

Expired observations are excluded from Wilson scoring and reported in the panel audit.

Original input tooltip

If neither target nor stop is reached within this many bars, the observation expires. Expired observations are excluded from Wilson scoring and reported in the panel audit.

Min samples before scoringintDefault: 10
Input type
int
Source default
10
Available options
Not specified in source
Minimum
2
Maximum
Not specified in source
Step
Not specified in source

What it controls

Minimum resolved wins plus losses for measured scoring.

Effect on the script

Not a statistical significance guarantee.

When to adjust it

Use it to specify the minimum amount of eligible evidence required for the review.

Interpretation and limits

Not a statistical significance guarantee.

Original input tooltip

Minimum resolved wins plus losses for measured scoring. Not a statistical significance guarantee.

Same-bar target & stopstringDefault: "Exclude"
Input type
string
Source default
"Exclude"
Available options
["Exclude", "Stop First", "Target First"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

An opening price at or beyond an edge is evaluated first.

Effect on the script

Otherwise both-touch OHLC order is unknown: Exclude leaves it unscored; Stop First and Target First apply explicit assumptions. Outcomes use fixed payoffs, not actual gap fills.

When to adjust it

Use it for a stated ambiguity-policy comparison while keeping all other observation settings fixed.

Interpretation and limits

Outcomes use fixed payoffs, not actual gap fills.

Original input tooltip

An opening price at or beyond an edge is evaluated first. Otherwise both-touch OHLC order is unknown: Exclude leaves it unscored; Stop First and Target First apply explicit assumptions. Outcomes use fixed payoffs, not actual gap fills.

Statistics

3 inputs
Confidence levelstringDefault: "95%"
Input type
string
Source default
"95%"
Available options
["90%", "95%", "99%"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Nominal coverage of a two-sided Wilson score interval under independent binomial observations.

Effect on the script

It is not the probability that this strategy is profitable; repeated monitoring and parameter selection are not adjusted for.

When to adjust it

Compare confidence assumptions while keeping the observed sample and payoff definition unchanged.

Interpretation and limits

It is not the probability that this strategy is profitable; repeated monitoring and parameter selection are not adjusted for.

Original input tooltip

Nominal coverage of a two-sided Wilson score interval under independent binomial observations. It is not the probability that this strategy is profitable; repeated monitoring and parameter selection are not adjusted for.

Confidence score scalefloatDefault: 0.15
Input type
float
Source default
0.15
Available options
Not specified in source
Minimum
0.02
Maximum
Not specified in source
Step
0.01

What it controls

Distance of the lower endpoint above breakeven plus tolerance, in win-rate fraction, that maps to a full diagnostic score.

Effect on the script

Scales the distance between the lower Wilson endpoint and the complete significance threshold into the bounded diagnostic score around 50.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

This score is not a probability or confidence level.

Original input tooltip

Distance of the lower endpoint above breakeven plus tolerance, in win-rate fraction, that maps to a full diagnostic score. This score is not a probability or confidence level.

Significance dead-bandfloatDefault: 0.005
Input type
float
Source default
0.005
Available options
Not specified in source
Minimum
0
Maximum
Not specified in source
Step
0.005

What it controls

Extra win-rate tolerance added to breakeven.

Effect on the script

Adds an explicit tolerance to the breakeven win rate before testing the lower Wilson endpoint.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

Extra win-rate tolerance added to breakeven. The lower Wilson endpoint must strictly exceed this complete threshold.

Confidence Interval Bracket

5 inputs
Show CI bracketboolDefault: true
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 the horizontal Wilson interval gauge.

Effect on the script

Controls visibility of the chart element named by this setting.

When to adjust it

Toggle it to inspect that element or make space for the current chart review.

Interpretation and limits

A visibility switch does not turn a visual reference into an executed order or validated result.

Original input tooltip

Shows the horizontal Wilson interval gauge.

Bracket positionstringDefault: "Bottom Right"
Input type
string
Source default
"Bottom Right"
Available options
["Top Right", "Top Left", "Top Center", "Middle Right", "Middle Left", "Bottom Right", "Bottom Left", "Bottom Center"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Gauge location; matching the visible decision-panel position triggers an alternate location.

Effect on the script

Applies this parameter to the component and behavior stated in its source tooltip.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

Gauge location; matching the visible decision-panel position triggers an alternate location.

Bracket font sizestringDefault: "Normal"
Input type
string
Source default
"Normal"
Available options
["Tiny", "Small", "Normal", "Large"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Gauge text size.

Effect on the script

Normal is the default.

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

Gauge text size. Normal is the default.

Axis win-rate minfloatDefault: 0.2
Input type
float
Source default
0.2
Available options
Not specified in source
Minimum
0.0
Maximum
0.9
Step
0.05

What it controls

First displayed probability endpoint.

Effect on the script

Endpoints are sorted; equal endpoints are widened slightly.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

First displayed probability endpoint. Endpoints are sorted; equal endpoints are widened slightly.

Axis win-rate maxfloatDefault: 0.7
Input type
float
Source default
0.7
Available options
Not specified in source
Minimum
0.1
Maximum
1.0
Step
0.05

What it controls

Second displayed probability endpoint.

Effect on the script

Off-axis values are disclosed, not pinned as exact boundary markers.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Off-axis values are disclosed, not pinned as exact boundary markers.

Original input tooltip

Second displayed probability endpoint. Off-axis values are disclosed, not pinned as exact boundary markers.

Decision Panel

8 inputs
Panel pagestringDefault: "Overview"
Input type
string
Source default
"Overview"
Available options
["Overview", "Audit"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Overview compares the Wilson interval with the exact decision threshold.

Effect on the script

Audit exposes observation counts or manual assumptions.

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

Audit exposes observation counts or manual assumptions.

Original input tooltip

Overview compares the Wilson interval with the exact decision threshold. Audit exposes observation counts or manual assumptions.

Badge offset (bars)intDefault: 8
Input type
int
Source default
8
Available options
Not specified in source
Minimum
2
Maximum
40
Step
Not specified in source

What it controls

Horizontal clearance for the left-anchored active badge beyond the last candle.

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

Horizontal clearance for the left-anchored active badge beyond the last candle.

Show panelboolDefault: true
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 the compact decision panel.

Effect on the script

Controls whether the workflow table is rendered on the chart.

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 the compact decision panel.

Panel positionstringDefault: "Top Right"
Input type
string
Source default
"Top Right"
Available options
["Top Right", "Top Left", "Top Center", "Middle Right", "Middle Left", "Bottom Right", "Bottom Left", "Bottom Center"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Decision-panel location.

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.

Original input tooltip

Decision-panel location.

ThemestringDefault: "Dark"
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

Dark or light panel/gauge contrast.

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.

Original input tooltip

Dark or light panel/gauge contrast.

Font sizestringDefault: "Normal"
Input type
string
Source default
"Normal"
Available options
["Tiny", "Small", "Normal", "Large"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Decision-panel font size.

Effect on the script

Normal is the default.

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

Decision-panel font size. Normal is the default.

Show on-chart badgeboolDefault: true
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 the current model-state badge beside the latest candle.

Effect on the script

Controls visibility of the chart element named by this setting.

When to adjust it

Toggle it to inspect that element or make space for the current chart review.

Interpretation and limits

A visibility switch does not turn a visual reference into an executed order or validated result.

Original input tooltip

Shows the current model-state badge beside the latest candle.

Badge distance (× ATR)floatDefault: 1.5
Input type
float
Source default
1.5
Available options
Not specified in source
Minimum
0.0
Maximum
5.0
Step
0.25

What it controls

Moves the evidence badge above the latest bar for cleaner chart presentation.

Effect on the script

Visual only.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

Moves the evidence badge above the latest bar for cleaner chart presentation. Visual only.

Historical Evidence Labels

8 inputs
Show significance transitionsboolDefault: true
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

Marks confirmed transitions of the Wilson lower endpoint above or back below breakeven plus tolerance.

Effect on the script

These are model-state changes, not proof of future profitability or trade signals.

When to adjust it

Toggle it to inspect that element or make space for the current chart review.

Interpretation and limits

A visibility switch does not turn a visual reference into an executed order or validated result.

Original input tooltip

Marks confirmed transitions of the Wilson lower endpoint above or back below breakeven plus tolerance. These are model-state changes, not proof of future profitability or trade signals.

Show sample milestonesboolDefault: true
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

Marks every confirmed 100-resolved-sample milestone in Measured mode.

Effect on the script

Ambiguous and expired observations are audited separately and are not included.

When to adjust it

Toggle it to inspect that element or make space for the current chart review.

Interpretation and limits

A visibility switch does not turn a visual reference into an executed order or validated result.

Original input tooltip

Marks every confirmed 100-resolved-sample milestone in Measured mode. Ambiguous and expired observations are audited separately and are not included.

Show recent proof outcomesboolDefault: true
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

Labels only the four most recent completed proof-engine observations, including excluded same-bar ambiguity.

Effect on the script

These are audit outcomes, not entry or exit signals.

When to adjust it

Toggle it to inspect that element or make space for the current chart review.

Interpretation and limits

A visibility switch does not turn a visual reference into an executed order or validated result.

Original input tooltip

Labels only the four most recent completed proof-engine observations, including excluded same-bar ambiguity. These are audit outcomes, not entry or exit signals.

Evidence label font sizestringDefault: "Normal"
Input type
string
Source default
"Normal"
Available options
["Tiny", "Small", "Normal", "Large"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Font size for the active badge and historical outcome, transition and milestone labels.

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

Font size for the active badge and historical outcome, transition and milestone labels.

Transition distance (× ATR)floatDefault: 1.25
Input type
float
Source default
1.25
Available options
Not specified in source
Minimum
0.25
Maximum
5.0
Step
0.25

What it controls

Vertical distance of evidence-state labels from their event bars.

Effect on the script

Visual only.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

Vertical distance of evidence-state labels from their event bars. Visual only.

Milestone distance (× ATR)floatDefault: 2.5
Input type
float
Source default
2.5
Available options
Not specified in source
Minimum
0.25
Maximum
5.0
Step
0.25

What it controls

Vertical distance of sample-milestone labels from their event bars.

Effect on the script

Visual only.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

Vertical distance of sample-milestone labels from their event bars. Visual only.

Proof outcome distance (× ATR)floatDefault: 0.75
Input type
float
Source default
0.75
Available options
Not specified in source
Minimum
0.25
Maximum
5.0
Step
0.25

What it controls

Gap beyond the trailing five-bar extreme at the resolution bar.

Effect on the script

Wins sit below, losses and exclusions above. Only nearby same-side events are staggered; coordinates remain fixed after creation.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

Gap beyond the trailing five-bar extreme at the resolution bar. Wins sit below, losses and exclusions above. Only nearby same-side events are staggered; coordinates remain fixed after creation.

Outcome marker historyintDefault: 1200
Input type
int
Source default
1200
Available options
Not specified in source
Minimum
100
Maximum
5000
Step
Not specified in source

What it controls

Limits win, loss and ambiguous marker shapes to recent chart history while preserving the latest four outcome labels.

Effect on the script

Applies this parameter to the component and behavior stated in its source tooltip.

When to adjust it

Change it only when the specific analytical or presentation question in the tooltip changes.

Interpretation and limits

Record the configuration when comparing observations; a changed setting is not proof of a stronger future result.

Original input tooltip

Limits win, loss and ambiguous marker shapes to recent chart history while preserving the latest four outcome labels.

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