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.
![Confluence Alert Engine [AGPro Series] actual TradingView interface on BINANCE:PUMPUSDT (1h)](../images/product-settings/96-1.jpg)
General & Display
11 inputsShow 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
Toggle the on-chart confluence matrix. 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 confluence matrix. Enabled by default.
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
Select the panel color theme independently of the chart background.
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
Select the panel color theme independently of the chart background.
Panel Location
- 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 compact panel anchor.
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
Choose the compact panel anchor.
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
Set panel text size. Normal preserves readable defaults.
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
Set panel text size. Normal preserves readable defaults.
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
Set all event and reference badge text sizes.
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
Set all event and reference badge text sizes.
Show Trend Ribbon
- 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.
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.
Show Trade Zone
- 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 the entry-to-target zone with a centered score label while a setup is ready.
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 the entry-to-target zone with a centered score label while a setup is ready.
Show Ready Markers
- 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 ready setup and the bar a ready setup is lost.
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 ready setup and the bar a ready setup is lost.
Show Entry / Stop / Target
- 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 the entry, stop and target levels of the active setup.
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 the entry, stop and target levels of the active setup.
Panel Page
- Input type
string- Source default
"Overview"- Available options
["Overview", "Factors", "Evidence"]- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Switch between the compact decision summary, closed factor votes and model observation ledger.
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
Switch between the compact decision summary, closed factor votes and model observation ledger.
Observation Horizon
- Input type
int- Source default
160- Available options
Not specified in source- Minimum
10- Maximum
2000- Step
Not specified in source
What it controls
Unresolved model observations expire at this many bars. Expired observations are reported separately, not counted as wins or losses.
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
Unresolved model observations expire at this many bars. Expired observations are reported separately, not counted as wins or losses.
Confluence Factors
6 inputsTrend
- 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
Fast vs slow EMA with a minimum slope.
Effect on the script
This enables or disables the documented factor or qualification requirement in the workflow.
When to adjust it
Choose whether the condition belongs in your defined checklist before evaluating the resulting states.
Interpretation and limits
Disabling a disagreeing factor changes the model rather than resolving the disagreement.
Original input tooltip
Fast vs slow EMA with a minimum slope.
Higher Timeframe
- 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
Trend on a higher timeframe.
Effect on the script
This selects the timeframe for the documented wider-context series or enables that factor in the confluence checklist.
When to adjust it
Choose the higher-timeframe horizon deliberately and keep it consistent with the chart review.
Interpretation and limits
Context must satisfy the source-data and timeframe gates. A wider timeframe is not a forecast, and its confirmation timing matters.
Original input tooltip
Trend on a higher timeframe.
Momentum
- 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
RSI above or below 50.
Effect on the script
This enables or disables the documented factor or qualification requirement in the workflow.
When to adjust it
Choose whether the condition belongs in your defined checklist before evaluating the resulting states.
Interpretation and limits
Disabling a disagreeing factor changes the model rather than resolving the disagreement.
Original input tooltip
RSI above or below 50.
Market Structure
- 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
Higher highs and higher lows versus lower highs and lower lows.
Effect on the script
This enables or disables the documented factor or qualification requirement in the workflow.
When to adjust it
Choose whether the condition belongs in your defined checklist before evaluating the resulting states.
Interpretation and limits
Disabling a disagreeing factor changes the model rather than resolving the disagreement.
Original input tooltip
Higher highs and higher lows versus lower highs and lower lows.
Volume
- 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
Above-average volume confirming the candle direction.
Effect on the script
This enables or disables the documented factor or qualification requirement in the workflow.
When to adjust it
Choose whether the condition belongs in your defined checklist before evaluating the resulting states.
Interpretation and limits
Disabling a disagreeing factor changes the model rather than resolving the disagreement.
Original input tooltip
Above-average volume confirming the candle direction.
Location
- 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
Price above or below the midpoint of the recent range.
Effect on the script
This enables or disables the documented factor or qualification requirement in the workflow.
When to adjust it
Choose whether the condition belongs in your defined checklist before evaluating the resulting states.
Interpretation and limits
Disabling a disagreeing factor changes the model rather than resolving the disagreement.
Original input tooltip
Price above or below the midpoint of the recent range.
Trend & Factor Settings
9 inputsFast EMA Length
- 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
Fast EMA length. Must be shorter than the slow EMA.
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
Fast EMA length. Must be shorter than the slow EMA.
Slow EMA Length
- 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
Slow EMA length. Must exceed the fast EMA.
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
Slow EMA length. Must exceed the fast EMA.
Min Trend Slope %
- 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 absolute slow EMA percentage slope for a directional trend vote.
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 absolute slow EMA percentage slope for a directional trend vote.
Slope Window
- 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 over which slow EMA percentage slope is measured.
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 over which slow EMA percentage slope is measured.
Higher Timeframe (auto if blank)
- Input type
timeframe- Source default
"" (empty string)- Available options
Not specified in source- Minimum
Not specified in source- Maximum
Not specified in source- Step
Not specified in source
What it controls
Leave blank to step up automatically from the chart timeframe.
Effect on the script
This selects the timeframe for the documented wider-context series or enables that factor in the confluence checklist.
When to adjust it
Choose the higher-timeframe horizon deliberately and keep it consistent with the chart review.
Interpretation and limits
Context must satisfy the source-data and timeframe gates. A wider timeframe is not a forecast, and its confirmation timing matters.
Original input tooltip
Leave blank to step up automatically from the chart timeframe.
Momentum RSI Length
- 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 period. Values above or below 50 cast the momentum vote.
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 period. Values above or below 50 cast the momentum vote.
Structure Lookback
- 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
Compare adjacent rolling high and low windows to classify structure.
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
Compare adjacent rolling high and low windows to classify structure.
Volume Average Length
- 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
Volume baseline length. Missing or zero volume blocks readiness while Volume is enabled.
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
Volume baseline length. Missing or zero volume blocks readiness while Volume is enabled.
Location Range Lookback
- 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
Rolling high-low range used for the midpoint location vote.
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
Rolling high-low range used for the midpoint location vote.
Readiness
4 inputsReady Threshold
- Input type
int- Source default
75- Available options
Not specified in source- Minimum
50- Maximum
100- Step
Not specified in source
What it controls
Minimum confluence score for a Ready state.
Effect on the script
This changes the boundary for the named score classification or qualification gate.
When to adjust it
Specify how strict that classification should be before reviewing the resulting states and samples.
Interpretation and limits
Changing a threshold changes what qualifies. It does not improve the underlying market conditions or establish a success probability.
Original input tooltip
Minimum confluence score for a Ready state.
Watch Threshold
- Input type
int- Source default
50- Available options
Not specified in source- Minimum
0- Maximum
99- Step
Not specified in source
What it controls
Score above which a direction is worth watching.
Effect on the script
This changes the boundary for the named score classification or qualification gate.
When to adjust it
Specify how strict that classification should be before reviewing the resulting states and samples.
Interpretation and limits
Changing a threshold changes what qualifies. It does not improve the underlying market conditions or establish a success probability.
Original input tooltip
Score above which a direction is worth watching.
Setup-Loss Tolerance (Bars)
- Input type
int- Source default
3- Available options
Not specified in source- Minimum
1- Maximum
50- Step
Not specified in source
What it controls
Bars of weak confluence tolerated before a ready setup is dropped.
Effect on the script
This controls the documented persistence, spacing or re-arming requirement for an analytical state or event.
When to adjust it
Choose the stability or spacing requirement before assessing repeated events.
Interpretation and limits
Greater persistence or spacing can delay or suppress events. It does not remove uncertainty or make a retained state permanently valid.
Original input tooltip
Bars of weak confluence tolerated before a ready setup is dropped.
Cooldown After Loss (Bars)
- Input type
int- Source default
5- Available options
Not specified in source- Minimum
0- Maximum
100- Step
Not specified in source
What it controls
Bars to wait after a setup is lost before a new one can register.
Effect on the script
This controls the documented persistence, spacing or re-arming requirement for an analytical state or event.
When to adjust it
Choose the stability or spacing requirement before assessing repeated events.
Interpretation and limits
Greater persistence or spacing can delay or suppress events. It does not remove uncertainty or make a retained state permanently valid.
Original input tooltip
Bars to wait after a setup is lost before a new one can register.
Trade Levels
4 inputsATR Length
- 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 period used for annotation spacing.
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 period used for annotation spacing.
Stop Swing Lookback
- 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 for the stop / invalidation level.
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 for the stop / invalidation level.
Target (R Multiple)
- Input type
float- Source default
2.0- Available options
Not specified in source- Minimum
0.5- Maximum
10.0- Step
0.1
What it controls
Target distance as a multiple of the initial risk (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 initial risk (R).
Max Setup Risk %
- Input type
float- Source default
35.0- Available options
Not specified in source- Minimum
1.0- Maximum
90.0- Step
1.0
What it controls
Reject Ready setups whose swing-based stop sits further than this percent from entry. Filters out unworkable reward-to-risk on large swings / high timeframes.
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
Reject Ready setups whose swing-based stop sits further than this percent from entry. Filters out unworkable reward-to-risk on large swings / high timeframes.
Labels
4 inputsLabel Offset (ATR)
- Input type
float- Source default
0.35- Available options
Not specified in source- Minimum
0.0- Maximum
5.0- Step
0.1
What it controls
Compact marker clearance, limited to 0.15-0.50 ATR. Two-line badges inspect six bars on each side (eight for Large). Only visual placement adjusts; signal timing is unchanged.
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
Compact marker clearance, limited to 0.15-0.50 ATR. Two-line badges inspect six bars on each side (eight for Large). Only visual placement adjusts; signal timing is unchanged.
Level Forward Bars
- Input type
int- Source default
28- Available options
Not specified in source- Minimum
10- Maximum
120- Step
Not specified in source
What it controls
Forward projection length in bars, capped to keep drawings bounded.
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 projection length in bars, capped to keep drawings bounded.
Max Markers
- Input type
int- Source default
12- Available options
Not specified in source- Minimum
4- Maximum
60- Step
Not specified in source
What it controls
Maximum number of recent ready / lost markers kept on the 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
Maximum number of recent ready / lost markers kept on the chart.
Min Bars Between Markers
- Input type
int- Source default
8- Available options
Not specified in source- Minimum
0- Maximum
200- Step
Not specified in source
What it controls
Minimum bars between visible readiness events. Prevents Ready and Setup Lost markers from clustering in the same chart area.
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
Minimum bars between visible readiness events. Prevents Ready and Setup Lost markers from clustering in the same chart area.
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