AGProLabsBack to product

Full settings reference

Trade Edge Profiler [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.

Trade Edge Profiler [AGPro Series] actual TradingView interface on BINANCE:ETHUSDT (1h)
TradingView workspace example of Trade Edge Profiler on ETHUSDT (1h), showing trend-pullback model references and the outcome overview. The displayed states are illustrative analytical references. 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.

General & Display

12 inputs
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

Toggle the on-chart edge dashboard. Enabled by default.

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

Toggle the on-chart edge dashboard. Enabled by default.

Panel 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

Visual theme for the panel background and text.

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

Visual theme for the panel background and text.

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

What it controls

Choose the dashboard corner. Panel pages preserve chart space.

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

Choose the dashboard corner. Panel pages preserve chart space.

Panel Font SizestringDefault: "Normal"
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

Panel font size. Normal is the default; select a page for details.

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

Panel font size. Normal is the default; select a page for details.

Label Font SizestringDefault: "Normal"
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

Font size of event labels and reference badges.

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

Font size of event labels and reference badges.

Panel PagestringDefault: "Overview"
Input type
string
Source default
"Overview"
Available options
["Overview", "Evidence", "Risk", "Model"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Compact pages separate aggregate outcomes, modeling assumptions and the active reference model. Normal fonts remain readable without a wide dashboard.

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 pages separate aggregate outcomes, modeling assumptions and the active reference model. Normal fonts remain readable without a wide dashboard.

Show Signal LabelsboolDefault: 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

Mark each new signal on the chart with its quality score.

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

Mark each new signal on the chart with its quality score.

Show Outcome MarkersboolDefault: 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

Mark where each signal resolved at its target, stop, or maximum holding window.

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

Mark where each signal resolved at its target, stop, or maximum holding window.

Show Active Trade LevelsboolDefault: 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

Draw entry, stop and target for the open signal.

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

Draw entry, stop and target for the open signal.

Show Trend RibbonboolDefault: 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

Fill the zone between the fast and slow EMA, colored by trend direction. Keeps the chart informative at all times.

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

Fill the zone between the fast and slow EMA, colored by trend direction. Keeps the chart informative at all times.

Show Edge Evidence BeaconboolDefault: 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

Show the current measured-edge profile in a premium card owned by the live EMA ribbon context.

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

Show the current measured-edge profile in a premium card owned by the live EMA ribbon context.

Highlight Active ModelboolDefault: false
Input type
bool
Source default
false
Available options
Not specified in source
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

Optionally apply a very light chart tint while a model event remains active. Disabled by default for a cleaner chart.

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

Optionally apply a very light chart tint while a model event remains active. Disabled by default for a cleaner chart.

Signal Engine

7 inputs
Fast EMA LengthintDefault: 20
Input type
int
Source default
20
Available options
Not specified in source
Minimum
2
Maximum
Not specified in source
Step
Not specified in source

What it controls

Defines the short-term trend.

Effect on the script

This changes the observation window or sensitivity of the named calculation feeding the workflow.

When to adjust it

Match the calculation horizon to the analytical question and keep it recorded when comparing results.

Interpretation and limits

Changing the window changes the historical context and can alter warm-up, states and observations. It does not validate a future edge.

Original input tooltip

Defines the short-term trend.

Slow EMA LengthintDefault: 50
Input type
int
Source default
50
Available options
Not specified in source
Minimum
3
Maximum
Not specified in source
Step
Not specified in source

What it controls

Defines the dominant trend the signal trades with.

Effect on the script

This changes the observation window or sensitivity of the named calculation feeding the workflow.

When to adjust it

Match the calculation horizon to the analytical question and keep it recorded when comparing results.

Interpretation and limits

Changing the window changes the historical context and can alter warm-up, states and observations. It does not validate a future edge.

Original input tooltip

Defines the dominant trend the signal trades with.

RSI LengthintDefault: 14
Input type
int
Source default
14
Available options
Not specified in source
Minimum
2
Maximum
Not specified in source
Step
Not specified in source

What it controls

RSI smoothing length for the existing mirrored pullback and reclaim rules.

Effect on the script

This changes the observation window or sensitivity of the named calculation feeding the workflow.

When to adjust it

Match the calculation horizon to the analytical question and keep it recorded when comparing results.

Interpretation and limits

Changing the window changes the historical context and can alter warm-up, states and observations. It does not validate a future edge.

Original input tooltip

RSI smoothing length for the existing mirrored pullback and reclaim rules.

Pullback RSI (long side)intDefault: 46
Input type
int
Source default
46
Available options
Not specified in source
Minimum
1
Maximum
99
Step
Not specified in source

What it controls

In an uptrend, a pullback is recognised when RSI dips to or below this level, then turns up. Mirror logic applies for shorts.

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

In an uptrend, a pullback is recognised when RSI dips to or below this level, then turns up. Mirror logic applies for shorts.

Min Trend Slope %floatDefault: 0.03
Input type
float
Source default
0.03
Available options
Not specified in source
Minimum
0.0
Maximum
5.0
Step
0.01

What it controls

Minimum slope of the slow EMA (percent over the slope window) required for a valid trend. Filters out flat, directionless markets. Lower values allow more signals.

Effect on the script

This changes the observation window or sensitivity of the named calculation feeding the workflow.

When to adjust it

Match the calculation horizon to the analytical question and keep it recorded when comparing results.

Interpretation and limits

Changing the window changes the historical context and can alter warm-up, states and observations. It does not validate a future edge.

Original input tooltip

Minimum slope of the slow EMA (percent over the slope window) required for a valid trend. Filters out flat, directionless markets. Lower values allow more signals.

Slope WindowintDefault: 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

Bars used to measure the slow EMA slope.

Effect on the script

This changes the observation window or sensitivity of the named calculation feeding the workflow.

When to adjust it

Match the calculation horizon to the analytical question and keep it recorded when comparing results.

Interpretation and limits

Changing the window changes the historical context and can alter warm-up, states and observations. It does not validate a future edge.

Original input tooltip

Bars used to measure the slow EMA slope.

Swing Lookback (stop placement)intDefault: 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

Recent swing window used to place the structural stop.

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

Recent swing window used to place the structural stop.

Trade Model

6 inputs
ATR LengthintDefault: 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 length used in locked risk distance and visual clearance.

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 length used in locked risk distance and visual clearance.

Stop Distance (ATR)floatDefault: 1.5
Input type
float
Source default
1.5
Available options
Not specified in source
Minimum
0.1
Maximum
10.0
Step
0.1

What it controls

Sets the minimum stop distance in ATR while allowing the recent structural swing to widen the stop.

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

Sets the minimum stop distance in ATR while allowing the recent structural swing to widen the stop.

Target R MultiplefloatDefault: 1.5
Input type
float
Source default
1.5
Available options
Not specified in source
Minimum
0.5
Maximum
10.0
Step
0.5

What it controls

Target distance as a multiple of the stop distance (R).

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

Target distance as a multiple of the stop distance (R).

Max Bars In TradeintDefault: 20
Input type
int
Source default
20
Available options
Not specified in source
Minimum
5
Maximum
2000
Step
Not specified in source

What it controls

If neither target nor stop is reached within this many bars, the signal is closed at market and scored by its R outcome. Lower values resolve trades faster and surface more signals.

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

If neither target nor stop is reached within this many bars, the signal is closed at market and scored by its R outcome. Lower values resolve trades faster and surface more signals.

Same-Bar Target / RiskstringDefault: "Exclude"
Input type
string
Source default
"Exclude"
Available options
["Exclude", "Stop First"]
Minimum
Not specified in source
Maximum
Not specified in source
Step
Not specified in source

What it controls

When a later candle reaches both edges and its open does not establish the outcome, OHLC cannot identify the first touch. Exclude closes the event without scoring a return. Stop First scores the declared conservative assumption. Neither option reconstructs intrabar order.

Effect on the script

This selects the declared treatment of an OHLC candle that reaches both risk and target references without revealing their intrabar order.

When to adjust it

Set the ambiguity assumption before comparing historical observations, and keep it unchanged across comparisons.

Interpretation and limits

Historical OHLC cannot reconstruct the first touch. An optimistic or conservative assumption changes the recorded sample; neither proves a broker fill.

Original input tooltip

When a later candle reaches both edges and its open does not establish the outcome, OHLC cannot identify the first touch. Exclude closes the event without scoring a return. Stop First scores the declared conservative assumption. Neither option reconstructs intrabar order.

Round-Trip Cost (bps)floatDefault: 0.0
Input type
float
Source default
0.0
Available options
Not specified in source
Minimum
0
Maximum
1000
Step
1

What it controls

One entry-notional cost estimate deducted once from each included outcome: entry price × bps / 10000 / locked risk distance. Zero is the default. This approximation does not reproduce broker fees, funding, slippage or fills.

Effect on the script

This adds the configured notional-based cost approximation to the model. It changes the model result or budget check that uses the estimate.

When to adjust it

Use it to examine an explicit cost assumption; record the basis-point value alongside the resulting model statistics.

Interpretation and limits

A constant estimate does not reproduce funding, variable spreads, actual commissions, slippage or broker fills.

Original input tooltip

One entry-notional cost estimate deducted once from each included outcome: entry price × bps / 10000 / locked risk distance. Zero is the default. This approximation does not reproduce broker fees, funding, slippage or fills.

Labels

3 inputs
Label Offset (ATR)floatDefault: 1.0
Input type
float
Source default
1.0
Available options
Not specified in source
Minimum
0.0
Maximum
5.0
Step
0.1

What it controls

Distance signal labels are floated away from price, in ATR multiples.

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

Distance signal labels are floated away from price, in ATR multiples.

Active Level Forward BarsintDefault: 18
Input type
int
Source default
18
Available options
Not specified in source
Minimum
12
Maximum
80
Step
Not specified in source

What it controls

Forward space for solid reference guides and readable badges. This is a visual projection, not a price forecast.

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

Forward space for solid reference guides and readable badges. This is a visual projection, not a price forecast.

Max Event LabelsintDefault: 12
Input type
int
Source default
12
Available options
Not specified in source
Minimum
4
Maximum
40
Step
Not specified in source

What it controls

Maximum number of recent model and outcome labels kept on the chart. Older labels are removed automatically.

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

Maximum number of recent model and outcome labels kept on the chart. Older labels are removed automatically.

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