Indicator

Entry-to-Exit ToolA realtime non-repainting entry-to-exit analysis tool that retains a Provisional or Finalized BUY/SELL entry reference and resolves it through an opposite signal, confirmed terminal invalidation, minimum-profit target, or entry-terminal risk/reward target. The displayed exits are analytical reference events and are not a guarantee of profitability or future performance.
Name:
Entry-to-Exit Tool
Searchable Name:
Realtime Non-Repainting Entry Exit Target and Risk Reward Tool
Technical Name:
Realtime Non-Repainting Provisional Finalized Entry Reference Opposite Signal Terminal Break Profit Target and Risk Reward Exit Resolution Tool
Short title:
Trade Exit Tool
Summary
Entry-to-Exit Tool is an exit-resolution indicator that converts internally generated Provisional or Finalized BUY/SELL signals into retained entry references and then identifies where those references would resolve under a selected exit method.
The script does not require signals from another indicator. It contains its own causal transform-path signals, structural resolver, Provisional signal ledger, and Finalized signal ledger. The user selects which internally generated signal stage establishes the entry reference and which stage can later provide an opposite-signal exit.
Each retained entry reference stores:
direction
confirmation bar
confirmation price
retained terminal price
The reference remains active until one enabled exit condition resolves it.
Available exit conditions include:
selected opposite BUY/SELL signal
confirmed close through the retained entry terminal
fixed minimum-profit target
entry-terminal risk/reward target
Opposite-signal exits, terminal exits, fixed-profit targets, and risk/reward targets remain separate exit identities. The script records the exit bar, exit price, resolved direction, and exit reason without rewriting the completed record after later chart history arrives.
This is not a complete strategy or automated trade-management engine. It does not submit orders, calculate position quantities, reverse broker positions, calculate complete strategy profitability, manage a portfolio, or route executable instructions. Its purpose is to show structured entry-to-exit reference behavior from the script’s own causal signal records.
How it works
The script first produces two internally retained signal stages:
Provisional
Finalized
The selected Entry Reference Stage determines which signal stage opens a retained entry reference.
The selected Opposite Exit Signal Stage determines which signal stage can later resolve that reference through an opposite BUY or SELL confirmation.
These two stages can be selected independently.
For example, a user can choose:
Provisional entry with Provisional opposite exit
Provisional entry with Finalized opposite exit
Finalized entry with Provisional opposite exit
Finalized entry with Finalized opposite exit
The script then processes entry-reference events and opposite-exit events in chronological order.
When both event streams contain an event on the same bar, the exit-stage event is processed before the entry-stage event. This prevents the new same-bar entry event from being incorrectly treated as active before the earlier reference has had a chance to resolve.
Provisional entry references
A Provisional entry reference is established from an accepted causal transform-path-agreed BUY or SELL confirmation.
Provisional confirmation requires the candidate direction to agree with the stored causal transform-reference direction.
A retained transform candidate can confirm:
on its candidate bar
or on the following closed bar
The maximum signal confirmation delay is limited to zero or one bar.
When Active Path-Filtered Candidate Memory is enabled, a valid candidate that initially fails transform-path direction agreement can remain stored. It can later confirm on the first closed bar where the retained candidate terminal agrees with the active causal transform direction.
That later passing bar becomes the actual Provisional confirmation bar and entry-reference price.
A Provisional signal is earlier than a Finalized signal, but it has not yet completed structural finalization. It can still be replaced, superseded, or fail to become the retained Finalized identity of its structural swing.
Finalized entry references
A Finalized entry reference is established from a Provisional signal that survives the selected structural resolver.
Finalized identity requires structural completion of the containing swing.
The Finalized reference uses:
the retained structural BUY or SELL identity
the Finalized confirmation bar
the Finalized confirmation price
the retained structural terminal price
Finalized references generally occur later than Provisional references, but they represent the signal identity retained after structural resolution.
Structural events classify and finalize signal identity. They do not independently create the Provisional BUY/SELL signal universe.
Entry-reference behavior
Only one entry reference can remain active at a time.
When no reference is active, the next qualifying event from the selected Entry Reference Stage establishes a new reference.
The reference retains:
long or short direction
entry confirmation bar
entry confirmation price
terminal price associated with that entry identity
The script does not continuously replace an unresolved reference with later same-side entry signals.
A new entry reference is committed only after the prior reference has resolved and the script is flat at the reference-state level.
The reference is an analytical state retained by the indicator. It is not a broker position and does not contain position size or account information.
Exit Resolution Method
The user selects one of three primary exit-resolution methods:
Opposite Signal
Entry Terminal Break
Opposite Or Terminal Break
Target exits are controlled separately and can operate alongside the selected primary exit method.
Opposite Signal
Opposite Signal resolves the active entry reference when the selected opposite signal stage confirms.
For a long reference, the selected SELL signal is the opposite event.
For a short reference, the selected BUY signal is the opposite event.
The opposite event uses the stage selected under Opposite Exit Signal Stage:
Provisional
or Finalized
The exit occurs at that opposite event’s confirmation price.
An opposite signal that does not oppose the currently active direction does not resolve the reference.
Require Profit For Opposite Exit
Require Profit For Opposite Exit applies only to opposite-signal exits.
When disabled, every qualifying opposite signal can resolve the active reference.
When enabled, the opposite signal resolves the reference only when the raw-price return from the retained entry price to the opposite confirmation price is at least the selected Minimum Profit For Opposite Exit percentage.
For a long reference, profit requires the opposite exit price to be sufficiently above the entry price.
For a short reference, profit requires the opposite exit price to be sufficiently below the entry price.
This setting does not delay or block:
Entry Terminal Break
Minimum Profit Target
Risk/Reward Target
An unprofitable opposite signal can therefore be ignored while another enabled exit condition remains active.
Minimum Profit For Opposite Exit is a gate on an opposite signal. It is not the same as the independent Minimum Profit Target exit.
Entry Terminal Break
Entry Terminal Break resolves the active reference when a confirmed close invalidates the retained entry terminal.
For a long reference:
a confirmed close below the retained terminal resolves the reference
For a short reference:
a confirmed close above the retained terminal resolves the reference
The terminal is taken from the same signal identity that established the entry reference.
The terminal is not replaced by every later support, resistance, pivot, or same-side signal.
Terminal exits use confirmed closes only.
An intrabar move through the terminal that does not remain broken at the confirmed close does not create a terminal exit under this script.
Opposite Or Terminal Break
Opposite Or Terminal Break enables both primary exit conditions.
The reference resolves on whichever valid event occurs first:
a qualifying opposite signal
or a confirmed terminal invalidation
When Require Profit For Opposite Exit is enabled, an opposite signal that does not meet the profit requirement is not treated as a valid exit. The terminal condition remains active and can still resolve the reference.
Target Exit
Target Exit is independent from the selected primary Exit Resolution Method.
Available target modes are:
Off
Minimum Profit %
Risk/Reward
When Target Exit is Off, no target price is calculated and no target exit can resolve the reference.
The status table displays:
OFF when the target mode is disabled
n/a when no entry reference is active
unavailable when a Risk/Reward target cannot be formed
the calculated target price when a valid active target exists
Minimum Profit Target
Minimum Profit % creates a fixed target from the retained entry-reference price.
For a long reference:
Target Price = Entry Price × (1 + Minimum Profit Target %)
For a short reference:
Target Price = Entry Price × (1 − Minimum Profit Target %)
The reference resolves when a confirmed close reaches or passes the calculated target.
For a long reference:
the confirmed close must be at or above the target
For a short reference:
the confirmed close must be at or below the target
The exit label is recorded as:
PROFIT TARGET
This target operates independently from Require Profit For Opposite Exit.
The two settings serve different purposes:
Minimum Profit For Opposite Exit controls whether an opposite signal is allowed to exit
Minimum Profit Target creates an independent price level that can exit without an opposite signal
Risk/Reward Target
Risk/Reward creates a target from the distance between the retained entry price and the retained entry terminal.
For a long reference:
Risk Distance = Entry Price − Retained Terminal
Target Price = Entry Price + Risk Distance × Risk/Reward Multiple
For a short reference:
Risk Distance = Retained Terminal − Entry Price
Target Price = Entry Price − Risk Distance × Risk/Reward Multiple
The target is valid only when the retained terminal is on the correct defensive side of the entry price and the resulting risk distance is positive.
For a long reference, the terminal must be below the entry price.
For a short reference, the terminal must be above the entry price.
When the terminal does not produce a positive risk distance, the Risk/Reward target is unavailable. The script does not invent a target by using an absolute distance or moving the terminal to the other side of the entry.
The reference resolves when a confirmed close reaches or passes the valid calculated target.
The exit label is recorded as:
RISK/REWARD TARGET
Confirmed-close target behavior
Both target modes use confirmed closes.
The script does not assume execution at the exact target price when price crosses the target intrabar.
The recorded exit price is the confirmed close of the bar that first satisfies the target condition.
This makes target resolution consistent with the script’s confirmed-close terminal-break behavior.
When a terminal break and target hit are both visible during the same scanned bar, terminal invalidation is given resolution priority in the code and the event is recorded as:
TERMINAL EXIT
Exit identities
The script preserves four separate exit identities:
OPPOSITE EXIT
TERMINAL EXIT
PROFIT TARGET
RISK/REWARD TARGET
These identities are not merged into one generic EXIT label.
This allows the user to distinguish whether the reference resolved because:
an opposite signal confirmed
the retained terminal failed
a fixed percentage target was reached
or the selected risk/reward target was reached
Completed exit records retain:
resolved direction
exit bar
exit price
exit reason
Later chart history does not move the completed exit to a different bar or change its recorded reason.
Signal construction
The internal signal engine uses a causal transform-reference path built from loaded raw-price records.
The transform path is used as a mandatory direction-agreement source for Provisional BUY and SELL confirmation.
The script separately maintains:
raw price arrays
transform path arrays
close, high, and low replay arrays
Provisional signal ledgers
Finalized signal ledgers
structural event ledgers
The transform path and structural resolver remain separate systems.
The transform path confirms Provisional signal direction.
The structural resolver determines which Provisional identity survives into the Finalized ledger.
A structural event does not directly create an entry reference unless Finalized is selected as the Entry Reference Stage and the corresponding Finalized signal record exists.
Transform Path Capturable Segment
Transform Path Capturable Segment percentage controls the captured movement required by the internal transform-reference path.
It is used to retain broader directional legs and reject smaller path pivots.
The setting affects transform-path construction and therefore can affect which candidates pass mandatory path agreement.
It is not an exit target and does not define minimum trade profit.
Structural resolution
The script includes three structural resolver options:
Earliest Terminal
Original Grouping
Conditional Accelerated
Original Grouping is the default.
Earliest Terminal
Earliest Terminal follows the known-prefix earliest terminal chain.
It is intended to retain the earliest causally provable structural terminal under the solver’s rules.
Original Grouping
Original Grouping retains same-side structural candidates as a group.
A later same-side candidate can replace the retained group extreme before an opposite structural candidate resolves the group.
The retained extreme becomes the finalized structural identity when the opposite side completes the structural transition.
Conditional Accelerated
Conditional Accelerated uses captured-path potential after structural proof.
The Structural Capturable Segment percentage applies only to this resolver.
It does not directly filter transform BUY/SELL events or calculate exit targets.
Structural records are prefix-stable and are committed permanently after confirmation.
Structural path and signal context
The script can display:
structural change labels
structural resolution path
Finalized transform BUY/SELL labels
Provisional Candidate signals
failed or superseded Provisional signals
path-disagreed Candidate labels
current live Candidate
live transform-reference path
confirmed support and resistance
These context displays do not change the selected entry-reference stage or exit-resolution method.
Turning a display off hides the object but does not remove its underlying retained ledger.
Entry and exit displays
Entry Reference Markers
Optional Entry Reference Markers show where the selected Provisional or Finalized entry reference was established.
These markers are display-only and do not represent submitted orders.
Resolved Exit Labels
Resolved Exit Labels show completed exit events.
Each label includes the exit identity determined by the resolution condition.
The script limits retained exit labels through the Maximum Exit Labels input.
Older labels are deleted from the chart when the display limit is exceeded. Their removal from the chart does not alter the chronological exit reconstruction used to determine the current active reference.
Active entry level
When Show Active Entry / Terminal Levels is enabled, the active entry confirmation price is displayed as a blue dotted line.
The line starts from the retained entry-reference bar and extends to the right while the reference remains active.
Active terminal level
When terminal-based resolution is enabled, the retained terminal is displayed as an orange dashed line.
For a long reference, this is the price below which a confirmed close produces a terminal exit.
For a short reference, this is the price above which a confirmed close produces a terminal exit.
Active target level
When a valid target mode is enabled, the target is displayed as a green dashed line.
The line appears only when:
an entry reference is active
the selected target mode is not Off
and the target calculation produces a valid price
Minimum Profit % generally produces a target whenever a valid entry price exists.
Risk/Reward requires a valid positive entry-to-terminal risk distance.
Support and resistance
Optional support and resistance levels are derived from confirmed signal terminals.
The user can:
show or hide the levels
extend the levels right
keep or remove broken levels
change line width
control the maximum number of managed chart objects
These levels provide contextual market structure.
They do not replace the retained entry terminal used by the exit-resolution module.
Replay and chronological reconstruction
The script reconstructs the entry-to-exit state from historical Provisional and Finalized signal ledgers.
The selected entry-stage ledger and selected opposite-stage ledger are merged chronologically.
The merge is linear rather than repeatedly sorting the complete combined event list.
This allows the script to preserve event order while avoiding the unnecessary quadratic event sorting that would become increasingly expensive as the number of signal records grows.
For each historical interval, the script checks:
whether the active retained terminal was invalidated
whether an enabled target was reached
whether a qualifying opposite event occurred
whether a new entry reference should be committed after the previous reference resolved
The reconstructed active state at chart end determines:
current active direction
entry price
retained terminal
target price
last exit reason
last exit bar
last exit price
Same-bar event priority
When an entry-stage event and exit-stage event occur on the same bar, the exit-stage event is processed first.
This preserves the prior active reference’s opportunity to resolve before a new reference from the same bar is committed.
It also prevents a newly created same-bar reference from being immediately interpreted as though it existed before the opposite event that appears at the same timestamp.
Performance controls
The script includes:
Statistics-Only Replay
Maximum Replay Objects
Auto Limit Live Replay
Live Replay Bars
Statistics-Only Replay reduces historical chart-object construction while retaining internal calculations.
Maximum Replay Objects limits the number of displayed historical objects.
Auto Limit Live Replay and Live Replay Bars can reduce the amount of live historical drawing on large charts.
These settings primarily control display and replay workload. They do not change the configured exit formulas.
Status pages
The status table includes separate pages for:
Exit State
Signals
Structural
Support/Resistance
Alerts
Guide
Exit State
The Exit State page displays:
selected Entry Stage
selected Opposite Stage
selected Resolution Method
active direction
entry price
retained terminal
last resolution reason
last exit bar
last exit price
selected Target Exit mode
current target price
Target-price display behavior is:
OFF when target exits are disabled
n/a when no reference is active
unavailable when a Risk/Reward target cannot be formed
the formatted target price when the target is valid
Signals
The Signals page summarizes the internal Provisional and Finalized signal state and selected signal context.
Structural
The Structural page displays selected structural resolver information and structural event context.
Support/Resistance
The Support/Resistance page displays level configuration and retained level state.
Alerts
The Alerts page shows whether resolved exit alerts are enabled and whether the current reconstruction produced a long-reference or short-reference exit event.
Guide
The Guide page explains the main output identities and chart-line colors:
retained entry reference
selected-stage opposite exit
confirmed terminal invalidation
target resolution
blue entry line
orange terminal line
green target line
Alerts
The script contains informational alerts for:
Provisional Transform BUY
Provisional Transform SELL
Finalized Transform BUY
Finalized Transform SELL
Long Reference Exit
Short Reference Exit
Provisional alerts are generated from accepted transform-path-agreed Provisional events.
Finalized alerts are generated when structural resolution commits a Finalized BUY or SELL identity.
Exit alerts identify whether a long or short entry reference resolved.
The exit alert title does not distinguish the exact reason in separate alertconditions. The exact chart label and status-table Last Resolution field identify whether the reconstructed exit was:
OPPOSITE EXIT
TERMINAL EXIT
PROFIT TARGET
RISK/REWARD TARGET
Alerts are informational.
They do not contain:
position size
broker account information
order type
stop order
limit order
routing destination
portfolio instruction
or guaranteed execution price
Important behavior note
The script should be understood as:
causal in its signal confirmation
historically stable after closed-bar confirmation
reconstructed chronologically from retained signal ledgers
live-updating only for current open-bar signal and path context
Closed-bar Provisional signals, Finalized signals, entry references, and completed exits are not moved or reclassified by later chart history.
The current open bar can update only the existing live Candidate and transform-reference context inherited from the internal signal engine.
Terminal and target exits use confirmed closes only.
The tool identifies analytical entry-to-exit reference events. It does not confirm that a real order was filled at the displayed price.
Features
Internally generated Provisional BUY/SELL signals
Internally generated Finalized BUY/SELL signals
Selectable Provisional or Finalized Entry Reference Stage
Selectable Provisional or Finalized Opposite Exit Signal Stage
Opposite Signal exit method
Entry Terminal Break exit method
Combined Opposite Or Terminal Break method
Optional profit requirement for opposite exits
Independent Minimum Profit Target
Independent Risk/Reward Target
Entry-to-terminal risk calculation
Confirmed-close target resolution
Confirmed-close terminal invalidation
Separate opposite, terminal, profit-target, and risk/reward exit identities
One retained active entry reference
Chronological entry and exit event reconstruction
Exit-first same-bar event ordering
Linear two-ledger event merge
Permanent closed-bar entry and exit records
Active entry price line
Active retained terminal line
Active target price line
Entry-reference markers
Resolved exit labels
Maximum retained exit-label control
Three selectable structural resolvers
Mandatory causal transform-path agreement
Candidate-bar or next-bar Provisional confirmation
Stored path-filtered Candidate memory
Provisional and Finalized signal ledgers
Failed and superseded Provisional context
Optional structural path
Optional live transform-reference path
Optional support and resistance
Replay and chart-object performance controls
Multiple status-table pages
Informational signal alerts
Informational long-reference and short-reference exit alerts
Strengths
Self-Contained Signal Source — generates its own Provisional and Finalized entry references without requiring another script’s external signal input.
Entry-to-Exit Structure — converts internal BUY/SELL identities into a retained reference with a clearly defined entry price, terminal, target, and exit reason.
Stage Flexibility — allows the entry stage and opposite exit stage to be selected independently.
Exit Method Flexibility — supports opposite confirmation, terminal invalidation, or whichever valid event occurs first.
Independent Target Logic — fixed-profit and risk/reward targets can resolve the reference without waiting for an opposite signal.
Opposite Profit Gate — can prevent an unprofitable opposite signal from resolving the reference while leaving terminal and target exits active.
Identity Separation — opposite, terminal, fixed-profit, and risk/reward exits remain distinguishable.
Terminal Consistency — uses the terminal retained by the same signal identity that established the entry reference.
Confirmed-Close Stability — terminal and target exits do not depend on unfinished intrabar movement.
Chronological Reconstruction — historical state is rebuilt in event order rather than inferred only from the latest signal.
Same-Bar Ordering — exit-stage processing precedes entry-stage processing when both events occur on the same bar.
Performance-Aware Merge — merges already chronological signal ledgers directly instead of repeatedly sorting a combined event array.
Long and Short Symmetry — applies entry, opposite, terminal, and target calculations to both long and short references.
Visual Clarity — separates entry price, terminal price, and target price with distinct chart lines.
Context Availability — retains optional Provisional, Finalized, structural, path, and support/resistance displays.
Weaknesses
Signal Dependence — exit quality depends on the quality and timing of the internally generated Provisional or Finalized entry reference.
No Universal Best Stage — Provisional entries are earlier but less structurally resolved; Finalized entries are more confirmed but later.
Confirmed-Close Delay — terminal and target exits can occur later than an intrabar crossing.
Close-Price Exit Recording — the recorded exit price is the confirmation-bar close, not necessarily the exact target or terminal price touched intrabar.
No Partial Exits — each retained reference resolves as one complete analytical state rather than splitting into multiple exit quantities.
No Trailing Target — the fixed-profit and risk/reward targets do not trail favorable movement.
Static Entry Terminal — the retained terminal belongs to the entry identity and is not dynamically replaced with every later structural level.
Risk/Reward Availability — a risk/reward target cannot be formed when the retained terminal is not on the correct defensive side of the entry price.
Opposite Profit-Gate Persistence — an opposite signal that fails the profit gate is ignored rather than stored as a pending opposite exit.
No Complete Strategy Return — the tool does not calculate commissions, slippage, quantity, capital allocation, or portfolio equity.
No Broker Execution — displayed exits and alerts do not prove that a real order would fill at the same price.
One Active Reference — the script does not maintain simultaneous independent long and short references or multiple scaled entries.
Historical Reconstruction Cost — although the event merge is linear, the script still performs substantial transform, structural, replay, and chart-object work on large charts.
Parameter Sensitivity — transform capture, structural solver, entry stage, opposite stage, target percentage, and reward multiple can materially change results.
No Universal Profitability — structured exits do not guarantee that the underlying entries have sufficient predictive edge.
Who it’s for
This tool is best suited for:
PulseWire users who want an exit-focused companion to transform-based entry signals
traders comparing Provisional and Finalized entry timing
users studying opposite-signal exit timing
users testing retained-terminal invalidation
users testing fixed minimum-profit targets
users testing entry-terminal risk/reward targets
reversal and market-structure traders
users who want long and short exit references
users who want historically stable closed-bar exit labels
users who want one retained entry reference at a time
users interested in causal transform-path agreement
users developing an exit framework before integrating position sizing or routing
research-oriented users comparing multiple exit identities
users who want chart-based exit analysis without a complete strategy engine
Who it’s not for
This tool is not best suited for:
users looking for guaranteed profitable exits
users expecting the script to know the best future exit in advance
users looking for automatic broker execution
users requiring position sizing or account-risk calculations
users requiring partial profit taking
users requiring multiple simultaneous entries
users requiring dynamic trailing stops
users requiring intrabar target or stop execution
users expecting target price to guarantee actual fill price
users wanting complete strategy-equity reconstruction
users wanting commissions, slippage, leverage, or margin modeling
users expecting Provisional or Finalized signals to universally identify profitable trades
users seeking a complete operational transform engine with split quantities, portfolio state, or order routing
Known limitations
The tool is better at:
retaining a consistent entry reference
showing multiple structured exit conditions
distinguishing why an exit occurred
comparing Provisional and Finalized signal stages
visualizing entry, terminal, and target prices
and reconstructing closed-bar entry-to-exit state
than it is at:
predicting which entry will succeed
guaranteeing that a selected target will be reached
guaranteeing that a terminal exit will contain loss
finding the best possible future exit
or reproducing real broker fills
A fixed-profit target can improve consistency but can also exit before a larger move develops.
A risk/reward target can align the target with entry-terminal distance, but the retained terminal may not represent the user’s actual financial risk or intended stop placement.
An opposite signal can respond to changing structure, but it can arrive late or be ignored when Require Profit For Opposite Exit is enabled and the profit requirement is not met.
A terminal exit can preserve the entry identity’s invalidation point, but confirmed-close evaluation can exit beyond the terminal after a fast move.
These are structural exit references, not guarantees of favorable trade outcomes.
Final note
Entry-to-Exit Tool is a focused indicator for converting internally generated Provisional or Finalized BUY/SELL signals into retained entry references and resolving those references through explicitly defined exit conditions.
Its main value is not that it predicts the perfect exit. Its value is that it makes the exit framework visible and consistent:
which stage opened the reference
which stage can provide the opposite exit
which terminal belongs to the entry
whether an opposite exit requires profit
whether a fixed or risk/reward target is active
which condition actually resolved the reference
and where that resolution occurred on a confirmed close
The tool should be viewed as an entry-to-exit analysis layer, not as a complete strategy, broker-execution system, or guarantee of profitability.
It provides more structured exit information than an entry-only signal script while stopping before quantities, partial positions, portfolio state, order routing, and full operational trade management. Indicator

Optimal Trade Entry (OTE) Zone Plotter [algo_aakash]Optimal Trade Entry (OTE) Zone Plotter locates the 62%-79% institutional retracement zone of a confirmed impulsive swing and keeps only the single most relevant zone per direction on the chart, fading it through disclosed mitigation states as price interacts with it.
Problem Statement
The Optimal Trade Entry concept, retracing into the 62%-79% region of an impulsive leg before continuation, is a well-known Fibonacci convention, but most public implementations simply plot every Fibonacci level on every swing they detect. This produces charts covered in overlapping retracement boxes, most of which come from insignificant swings that carry no real weight, and gives no visual indication of which zones are still fresh, already tested, or fully invalidated.
This indicator addresses that gap by filtering which swings are allowed to generate a zone in the first place, by showing only the current zone per direction at full strength, and by changing each zone's appearance as price actually interacts with it.
Methodology
Swing highs and lows are identified with ta.pivothigh/ta.pivotlow using a user-defined Pivot Length, so every swing referenced by the script is a confirmed pivot, evaluated only after barstate.isconfirmed is true.
Consecutive pivots of the same type extend a running swing extreme; a leg is only registered when the pivot type alternates (a low following a high, or a high following a low). Each candidate leg must then clear three disclosed checks before it is allowed to create a zone: the leg's price range must reach a minimum multiple of ATR, the swing candle's own body-to-range ratio must reach a minimum threshold, and, if the Break of Structure filter is enabled, the new swing must exceed the prior swing of the same type. Legs that fail any check produce no zone, no label, and no alert.
A qualifying leg generates one OTE zone: the shaded region between the 62% and 79% retracement of that leg, with the 70.5% level drawn as a two-layer glowing midline inside it. Only one bullish and one bearish zone are ever active at a time. When a new qualifying leg forms, the previous zone of that direction is frozen in place and, if enabled, kept as a single low-opacity historical reference rather than removed outright or left overlapping the new zone.
Each active zone tracks its own mitigation state on every confirmed bar: Fresh (untouched), Touched (price has wicked into the 62%-79% region), Mitigated (a confirmed close through the 79% boundary), or Invalidated (a confirmed close back through the leg's own origin point). State can only advance forward, and the zone's fill opacity and border color update automatically at each transition, so the chart communicates a zone's condition without any additional label or panel.
Signal Workflow
Step 1 — a confirmed swing pivot alternates direction, registering a candidate leg from the prior opposite pivot to the new one.
Step 2 — the leg is checked against the Minimum Swing Size, Body Ratio, and optional Break of Structure filters; legs that fail are discarded with no chart output.
Step 3 — a qualifying leg creates a new active OTE zone (62%-79%) with its 70.5% midline, and the previous zone of the same direction is frozen and faded.
Step 4 — the active zone's state advances from Fresh to Touched as price wicks into the zone on a confirmed bar.
Step 5 — the zone advances to Mitigated on a confirmed close through the 79% boundary, or to Invalidated on a confirmed close back through the leg's origin, at which point it is greyed out.
Step 6 — each transition and each zone entry/exit can trigger its own alert, gated by the corresponding toggle in the Alerts group.
Why This Indicator Is Different
Most public OTE/Fibonacci scripts draw a zone for every detected swing regardless of its significance, leaving multiple overlapping retracement boxes on the chart at once.
This script applies a disclosed three-part quality filter (ATR-relative swing size, swing candle body ratio, optional break-of-structure confirmation) before a swing is even allowed to generate a zone.
Only one zone per direction is ever shown at full strength; the prior zone automatically fades to a quiet historical reference the moment a new qualifying swing appears, keeping the chart focused on the current opportunity.
Zone fill opacity and border color are driven entirely by a four-state mitigation engine (Fresh/Touched/Mitigated/Invalidated) computed from confirmed price action against the zone's own boundaries, so the visual state of a zone is informative rather than purely decorative.
The 70.5% equilibrium level is rendered as a two-layer glow line rather than a plain dashed line, giving the zone's mid-point a distinct, non-generic appearance.
Inputs
Swing Detection
Pivot Length
ATR Length
OTE Quality Filter
Minimum Swing Size (x ATR)
Minimum Swing Candle Body Ratio
Require Break of Structure
OTE Zone
Show Bullish OTE Zones
Show Bearish OTE Zones
Zone Extension (bars)
Show Institutional Midline (70.5%)
Fade Previous Zone on New Swing
Visual Settings
Bullish/Bearish Zone Colour
Bullish/Bearish Midline Colour
Label Size
Alerts
Alert: New OTE Zone Created
Alert: Price Entered OTE Zone
Alert: Price Left OTE Zone
Alert: OTE Zone Mitigated
Alert: OTE Zone Invalidated
Alerts
Alerts are available for:
New Bullish/Bearish OTE Zone Created
Price Entered Bullish/Bearish OTE Zone
Price Left Bullish/Bearish OTE Zone
Bullish/Bearish OTE Zone Mitigated
Bullish/Bearish OTE Zone Invalidated
Practical Usage
Treat an active, Fresh OTE zone in the direction of the prevailing structure as a region to watch for a retracement entry, not a standalone entry signal by itself.
Use the Break of Structure filter on trending instruments to restrict zones to swings that genuinely extended structure, and disable it on ranging instruments where internal swings may still be meaningful.
Raise the Minimum Swing Size and Body Ratio filters on lower timeframes or noisy instruments to reduce the number of zones generated.
Watch the zone's fill opacity as a quick visual read of its condition: a bold zone has not been tested, a lighter fill has already been touched or mitigated, and a greyed zone has been invalidated and should generally be disregarded.
Combine the Entered/Exited alerts with your own confirmation criteria (candlestick behavior, lower-timeframe structure, etc.) rather than treating zone entry alone as a trigger.
Limitations
Swing pivots require bars to form on both sides before they confirm, so every zone is inherently placed a Pivot Length number of bars after the actual swing extreme occurred.
The quality filter reduces the number of zones shown but does not evaluate or predict the outcome of any individual retracement.
Only one active zone per direction is displayed at a time; if you want to review multiple historical zones simultaneously, enable "Fade Previous Zone on New Swing" and note that only the single most recent prior zone is retained, not a full history.
As with any retracement-based tool, results will vary across instruments, timeframes, and market regimes.
Notes
This indicator is a zone-location tool intended to highlight the current, quality-filtered Optimal Trade Entry region and its mitigation state through a disclosed, rule-based process.
All swing confirmations, zone creation, mitigation-state transitions, and invalidations are evaluated on confirmed bar closes only, so no element of the script repaints once drawn.
The output is intended to support retracement-based analysis and is not a standalone buy or sell recommendation.
Indicator

Pymander's Epiphany# Pymander’s Epiphany
Pymander’s Epiphany is a powerful range-to-expansion trading indicator built to help retail traders find, evaluate, and manage quality breakout opportunities.
Instead of printing an arrow whenever price crosses a level, Epiphany follows the full life cycle of a setup:
**Range formation → validation → breakout → confirmation → continuation**
The indicator features three range-detection modes, adjustable range preferences, early breakout warnings, confirmed signals, and a dedicated continuation engine for catching secondary entries after the initial move.
Every breakout receives a transparent strength score based on:
* Closing strength
* Candle-body dominance
* Range expansion
* Volume expansion
* Breakout distance
Signals are graded from C to A+, making it easy to separate ordinary price breaks from moves showing stronger conviction and participation.
Optional EMA and VWAP filters help confirm market direction and identify flat or conflicting conditions. For traders who prefer fewer, more selective signals, Elite Mode applies stricter structure, alignment, and signal-quality requirements.
Epiphany can also automatically display the entry, stop, and 1R target using several stop methods, including ATR, recent swing, opposite side of the range, and breakout candle.
The live dashboard shows the current range state, directional bias, range quality, strength score, signal grade, EMA/VWAP alignment, and continuation status. Detailed alerts can notify traders of early warnings, confirmed breakouts, continuations, and changing range conditions.
What makes Epiphany special is how all these features work together. It isn’t just another breakout indicator—it’s a complete decision-support system designed to give retail traders more structure, context, and confidence.
No indicator can predict every move, so always use proper risk management and test the settings for your preferred market and timeframe.
Best of luck, stay disciplined, and trade well!
— **Pymander**
Indicator

EZ FVG By PymanderPymander’s EZ Fair Value Gap is an advanced FVG and IFVG tool built to find meaningful imbalance zones while filtering out weaker market noise.
Unlike basic gap finders that simply draw every three-candle imbalance, EZ FVG evaluates gap size, displacement, volume, trend, VWAP, market structure, liquidity sweeps, and market regime. Each zone receives a quality score and classification, helping traders focus on the strongest opportunities.
Key features include:
* Bullish and bearish FVG detection
* Automatic IFVG conversion
* Quality scoring and zone classifications
* First-retest and reaction tracking
* Multi-timeframe FVG detection
* Optional risk-to-reward filtering
* Mitigation, invalidation, and expiration tracking
* Map, Trade, Elite, and Focus modes
* Custom alerts and an active-zone dashboard
EZ FVG is more than a box-drawing indicator—it is a complete zone-quality and reaction engine designed to provide cleaner charts, stronger context, and more selective setups.
Use it alongside proper risk management and a tested trading plan. Best of luck in the markets, traders—trade patiently and protect your capital.
Feedback and reviews are greatly appreciated. Please share your experience and suggestions for future updates.
Best of luck traders! Indicator

[ A L P H A X ] CATALYST - Volatility & Regime Prediction EngineAlphaX CATALYST — Volatility Ignition & Regime Prediction Engine: Compression Cycle Detection, Bias Vector Scoring, 6-Stage Regime State Machine & Ignition Probability Gate
AlphaX CATALYST is a professional-grade volatility prediction system built on a fundamentally different philosophy from every other indicator in the AlphaX suite. Where VOID, SURGE, FORTRESS, and ANCHOR all detect setups after price has established a structural context, CATALYST reads the market before the move happens. It does not wait for a breakout to confirm entry — it measures the energy compressing inside the market during quiet periods and predicts the ignition point before the explosion occurs. The core insight is simple but profound: markets breathe in cycles. They compress, coil, and then release energy in directional bursts. CATALYST quantifies every stage of that cycle — from the first signs of volatility contraction through full coil, ignition, trending expansion, and exhaustion — and fires signals only when the compression is deep enough, the directional bias during the coil is strong enough, and the higher timeframe structure confirms the direction. The result is a system that positions you at the moment of ignition — not a bar after the breakout has already occurred. Designed for volatility-aware traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌬 The Philosophy — Markets Breathe
Every major directional move in every liquid market is preceded by a period of compression. Price range contracts. Volume dries up. Volatility percentile falls toward historic lows. The Bollinger Bands compress inside the Keltner Channels. Narrow range bars form consecutively. This compression is not random — it is the mechanism by which institutional positions are accumulated quietly, without moving price, before the delivery move begins.
Most traders see this compression phase as boring or unreadable and look elsewhere for setups. CATALYST is built on the opposite premise: the compression phase is the most important and readable phase of the entire price cycle . The depth of the compression tells you how much energy is coiling. The directional bias during the compression tells you where that energy is most likely to be released. The higher timeframe alignment tells you whether that release is likely to be with or against the macro institutional flow.
By the time the breakout candle is obvious to everyone, CATALYST has already been tracking the setup for multiple bars — measuring compression depth, monitoring accumulation bias, and computing the ignition probability score in real time. When ignition fires, it fires with advance conviction — not reactive confirmation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ The 6-Stage Regime State Machine
CATALYST is built around a deterministic 6-stage regime cycle that every market passes through on every timeframe. Understanding the regime is the foundation of using CATALYST correctly — the dashboard, background colors, and regime flip labels all communicate exactly which stage the market is in at every bar.
Stage 0 — QUIET
The market is dormant. No significant compression is building (score below 35). Volatility is neither low nor building toward a setup. This is the baseline state — the market is between cycles. Gray background tint. No actionable context.
Stage 1 — BUILDING
Compression is beginning to develop (score between 35 and 75). One or more compression signals are present — the squeeze may be turning on, narrow range bars may be forming, volume may be beginning to dry. The coil is winding up. Orange background tint intensifies slightly. The bias vector label appears on the current coil box to indicate which direction accumulation is occurring.
Stage 2 — COILED
Maximum compression state (score 75+, full BB/KC squeeze active). The spring is fully wound. Energy is at maximum concentration. This is the highest pre-ignition alert state. Deeper orange background tint. The coil box is rendered with higher opacity. The COILED flip label appears on the chart. Dashboard shows COMPRESS at 75%+ and SQUEEZE ON. This is the state you watch most closely — ignition can occur at any bar from here.
Stage 3 — IGNITION
A single-bar flash state. The regime transitions through IGNITION on the bar where all ignition conditions are simultaneously met — compression deep enough, bias directional enough, expansion candle large enough, ATR expanding. The cyan background tint and IGNITION flip label mark this bar. The IGNITE signal label fires on this bar. This is the entry bar. Immediately transitions to TRENDING on the next bar.
Stage 4 — TRENDING
The expansion phase. Price is in directional delivery. The regime holds TRENDING until one of the exhaustion conditions fires: RSI reaching extreme levels with climax volume, a significant wick rejection candle in the trend direction, a squeeze reforming during the trend (stall), or a reversal candle closing through the 21 EMA. Yellow-green tint during bull expansion, red tint during bear expansion.
Stage 5 — EXHAUSTION
The expansion energy is spent. One of the exhaustion conditions has triggered. Purple diamond markers appear above or below price. This is the early warning that the trend leg is ending — not necessarily the trend itself, but the current momentum leg. After EXHAUSTION, the regime resets: if compression begins building again, it cycles back to BUILDING; if not, it returns to QUIET and the cycle begins again.
Why the state machine matters: Every signal in CATALYST is regime-gated. Ignition signals can only fire from the COILED state. Exhaustion warnings can only fire from the TRENDING state. This ensures signals are always contextually appropriate — you cannot get an ignition signal without prior compression, and you cannot get an exhaustion warning without a prior trend.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📉 The Compression Score Engine — Measuring the Coil
The compression score is a 0–100 composite reading that quantifies exactly how tightly the market is coiling at any given bar. It is the primary input to the regime state machine and is displayed live on the dashboard.
Six compression components and their weights:
Squeeze State (up to 30 points):
The BB/KC squeeze is the most powerful single compression signal. When Bollinger Bands are fully inside Keltner Channels, the market is at maximum volatility contraction — 30 points. If the squeeze fired on the previous bar (just released), 15 points are still awarded, capturing the residual compression energy at the moment of release.
Narrow Range Pattern — NR (up to 20 points):
The current bar's high-low range is measured against the lowest range over the lookback period (default: 7 bars). When the current bar has the narrowest range in the lookback window, 20 points are awarded. This is the NR7 pattern generalized to a configurable lookback — the classic volatility contraction signal.
NR Streak (up to 15 points):
Consecutive narrow range bars amplify the coil energy. When the NR count over the minimum coil duration reaches the threshold, 15 additional points are awarded. Multiple consecutive NR bars indicate the market has been compressing for a sustained period — a deeper, more energetic coil.
Volume Dry-Up (up to 15 points):
Current volume below the configurable fraction of its moving average (default: 65% of the 20-bar SMA) confirms institutional accumulation is occurring quietly — institutions are building positions without creating visible volume signals. 15 points awarded when volume is dry.
Volume Dry Streak (up to 10 points):
Multiple consecutive bars of volume dry-up, identical logic to the NR streak. Sustained low volume over multiple bars is a stronger coil signal than a single dry bar.
ATR Percentile Rank (up to 10 points):
The current ATR is ranked against its own history over the configurable lookback (default: 100 bars). When ATR is in the bottom 25th percentile of its historical range — meaning volatility is at a historic low for this instrument on this timeframe — 10 points are awarded. Below the 40th percentile scores 5 points. This ensures the compression is genuine historically, not just temporarily quiet in an already volatile market.
Reading the score:
0–35 — QUIET, no meaningful compression building
35–55 — BUILDING, compression developing but not yet actionable
55–74 — COILING, significant compression present
75–100 — FULLY COILED, maximum compression, squeeze active. Ignition-ready state
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧭 The Bias Vector — Who Is Accumulating During the Coil?
Compression tells you the market is coiling. The Bias Vector tells you which direction institutions are accumulating during that coil. A range of -100 (fully bearish) to +100 (fully bullish), the bias vector is a composite of five independent directional pressure readings — each measuring accumulation from a different angle.
Volume Delta (up to ±25 points):
The estimated directional volume pressure — bull volume EMA minus bear volume EMA — forms the primary bias input. When delta is positive and rising (buyers accelerating), 25 points are added. When delta is positive but not accelerating, 10 points. The inverse applies for bear delta. This is the most direct measure of whether buyers or sellers are winning the quiet accumulation battle during compression.
Close-Position Bias (up to ±20 points):
Where closes fall within each bar's high-low range, averaged over the lookback period (default: 10 bars). When the average close position is in the upper 55%+ of the range — candles are consistently closing near their highs — buyers are controlling the candle closes. ±20 points based on whether the close bias is bullish (above 0.55) or bearish (below 0.45). This is a subtle but powerful measure of who is controlling the close during the coil.
Micro Structure (up to ±20 points):
Higher highs or higher lows over the structure lookback (default: 20 bars) vote bullish. Lower lows or lower highs vote bearish. ±20 points. Micro structure during compression tells you whether the coil is forming as a higher low (bullish coil) or a lower high (bearish coil) — the internal structure of the compression box reveals directional intent.
HTF Bias (up to ±20 points):
The higher timeframe EMA alignment (default: 60-minute, 50-period EMA). When HTF close is above the HTF EMA — the macro trend is bullish — +20 points. When below, -20 points. When Require HTF Alignment is disabled, this component is neutral. The HTF bias ensures the coil's directional reading is contextualized against the macro institutional flow.
Price vs BB Basis (up to ±15 points):
Whether the current close is above or below the BB basis (Bollinger Band midline). Price above the basis during compression means the coil is forming above fair value — a mild bullish signal. Price below the basis is mildly bearish. ±15 points. This adds a relative positioning dimension to the bias.
Reading the bias vector:
+35 to +100 — bull bias. Buyers are accumulating during the coil. Long ignition is favored
-35 to -100 — bear bias. Sellers are distributing during the coil. Short ignition is favored
-34 to +34 — neutral bias. No clear directional accumulation. Ignition may fire in either direction — lower conviction
Bias Arrow:
During BUILDING and COILED regime stages, a live bias arrow label appears below (bull bias) or above (bear bias) the coil box on the current bar, showing the directional score in real time. As new bars form, the arrow updates continuously — you can watch the bias building or shifting during the coil.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔥 The Ignition Score — 0 to 100 Probability Gate
Every bar in the COILED regime, CATALYST computes two separate ignition scores — one for long ignition, one for short. These scores gate whether a signal fires. Only when the score meets the configured minimum threshold (default: 62) does a signal become eligible.
Long ignition score components:
Compression depth (up to 20 points) — fully coiled scores 20, isCoiling scores 10, moderate compression scores 10
Squeeze state (up to 20 points) — squeeze release scores 20 (maximum — the spring just released), squeeze still active scores 10
Bias vector alignment (up to 25 points) — bias above +50 scores 25, above +35 scores 15, below 0 deducts 15
HTF alignment (up to 15 points) — HTF bullish scores 15, disabled scores 15 (neutral)
Expansion candle quality (up to 15 points) — strong bull body above ATR threshold scores 15, any bullish close scores 8
ATR expansion (up to 5 points) — ATR expanding above its short-term average confirms the coil is releasing
Volume delta confirmation (up to 10 points) — accelerating buy delta scores 10, positive delta scores 5
The short ignition score mirrors this structure with all conditions inverted.
What the score thresholds mean in practice:
90–100 — near-perfect setup. All components aligned. Extremely rare
75–89 — elite setup. Multiple high-weight components confirmed simultaneously
62–74 (default threshold) — high-quality setup. Sufficient confirmation to fire
50–61 — moderate quality. Available if you lower the threshold, but carries more false signals
Below 50 — low-quality ignition conditions. System will not fire at any reasonable threshold setting
The live long and short scores are displayed in real time on the dashboard as IGNITE L and IGNITE S — color-coded yellow-green or red when they meet the threshold, neutral otherwise. You can watch the ignition score building toward threshold in real time during the coil phase.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ The Ignition Signal — IGNITE Entry
The IGNITE label is CATALYST's primary entry signal. It fires when all of the following conditions are simultaneously confirmed on a bar close:
Hard requirements (all must be true):
Regime is in COILED state (compression score 75+, squeeze active)
The expansion candle body meets or exceeds the configured minimum (default: 1.15× ATR) — the breakout candle is large and directional
The bias vector is aligned with the signal direction (+35 or higher for long, -35 or lower for short)
ATR is actively expanding above its short-term average — the volatility expansion has begun
Squeeze has released on this bar or was releasing on the previous bar (when Require Squeeze Release is enabled)
Ignition score meets the minimum threshold (default: 62)
Session filter is satisfied (when enabled)
Signal cooldown has elapsed since the last signal
Signal label: A large IGNITE label appears below the bar (long) or above (short) on the exact ignition bar. Yellow-green for long, red for short.
Why this is fundamentally different from a standard breakout signal: A standard breakout indicator fires when price closes above a resistance level or a band. It reacts to what has already happened. CATALYST fires on the ignition bar only after verifying that the preceding compression was deep enough (COILED regime), that the directional bias during the coil was confirmed (bias vector), that the breakout candle itself is sufficiently large (body ATR check), and that the volatility is genuinely expanding (ATR expansion). Every component addresses a specific failure mode of basic breakout trading — false breakouts, weak breakouts, counter-HTF breakouts, and low-compression breakouts are all filtered before the signal fires.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔮 The Compression Coil Box
When the compression score crosses 55 and the BUILDING regime begins, CATALYST draws a live Coil Box — an orange-tinted rectangle spanning the high-low range of the entire compression period from the first coiling bar to the current bar.
What the coil box represents: The coil box is the visual representation of the spring being wound. Every bar that the coil remains active, the box extends to the right and expands to incorporate the new bar's range. The box's height represents the total price range of the compression period — the tighter this range, the more compressed the energy.
Box opacity: The box becomes more opaque when the compression reaches the fully COILED state (score 75+, squeeze active). This visual intensity progression gives you an immediate sense of compression depth — a faint box means early-stage building, a deep orange box means maximum coil.
Box on ignition: When ignition fires, the box remains on the chart at the coil range, giving you a clear visual reference for the compression zone that preceded the move. The coil box range is also used for structural stop loss placement — the SL Beyond Coil Box Edge setting places the stop loss beyond the coil box boundary rather than a fixed ATR distance from entry.
Box cleanup: When the regime returns to QUIET (compression fully dissipated without ignition), the box is deleted. When ignition occurs, the box is retained as a reference.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Exhaustion Radar — Early Warning System
The Exhaustion Radar monitors the TRENDING regime for signs that the expansion energy is being spent. When exhaustion conditions are met, purple diamond markers appear above (bull trend exhaustion) or below (bear trend exhaustion) the bar — a warning that the current momentum leg is likely approaching its end.
Exhaustion conditions (any one is sufficient):
RSI climax with volume spike — RSI above the overbought threshold (default: 72) in a bull trend with volume exceeding the configured climax multiple (default: 2.2×). This combination of extreme RSI and high volume is the classic climax top pattern — buyers are exhausting their buying capacity simultaneously
RSI climax with volume spike (bear) — RSI below the oversold threshold (default: 28) with climax volume in a bear trend. Sellers exhausting
Wick rejection in trend direction — a bar with a rejection wick exceeding the configured minimum percentage (default: 55%) in the direction of the trend. A bull trend bar with a massive upper wick indicates aggressive selling into the highs — supply overwhelming demand at the extreme
Trend stall squeeze — when a squeeze (BB inside KC) forms during the trending phase while volume is also drying up. This indicates the expansion move has stalled into a new compression without resolution — energy is being absorbed rather than continuing
Reversal candle through 21 EMA — a strong opposing candle that closes through the 21-period EMA in the trend direction. In a bull trend, a strong bearish close through the 21 EMA indicates the trend's immediate momentum structure has been broken
How to use exhaustion signals: Exhaustion diamonds are not reversal signals. They indicate that the current momentum leg is likely complete — not that the trend has ended. Use them to take partial or full profit on trend trades, tighten trailing stops, or wait for the next CATALYST compression cycle to develop before re-entering.
━━━━━━━━━━━━━━━━━════════════════════════
🎯 Coil-Anchored Risk Guidance System
On every IGNITE signal, CATALYST draws forward-projecting risk guidance levels for the duration of the trade.
Stop Loss (SL):
When SL Beyond Coil Box Edge is enabled (default: on), the stop is placed beyond the coil box boundary — below the coil box low (long) or above the coil box high (short) — plus a small ATR buffer. The coil box represents the full compression range: if price returns into and through the opposite side of the coil box after ignition, the breakout has failed and the setup is invalidated. This gives the stop structural meaning beyond just an ATR distance. When the coil SL is less conservative than the fixed ATR SL, the system uses whichever is further from entry to ensure adequate protection.
TP1 — First Target:
2.0× ATR from the entry close (configurable). The initial partial profit target. At TP1, consider scaling out 50% of the position.
TP2 — Extended Target:
4.0× ATR from entry (configurable). The full expansion target for the remaining position — allowing the trailing stop or regime-based exit (exhaustion signal) to manage the remainder.
Level visualization: All three levels are drawn as horizontal dashed or dotted lines extending 12 bars forward from the signal bar, with price labels at the right edge showing exact levels. SL in red, TP1 in dim yellow-green, TP2 in bright yellow-green.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 14-row real-time dashboard displays every internal state of the CATALYST engine on every bar.
REGIME — current stage: QUIET / BUILDING / COILED / IGNITION / TRENDING / EXHAUSTION. Color-coded by regime type
COMPRESS — live compression score 0–100%. Orange when above 50%, deeper orange when above 75%
SQUEEZE — ON (BB inside KC, maximum coil), RELEASE (squeeze just fired — highest-quality ignition condition), or OFF
ATR RANK — current ATR percentile versus its 100-bar history. Orange when below 30th percentile (historically low volatility — coil energy building)
VOL DRY — YES when current volume is below the dry-up threshold, NO otherwise. Orange when YES
BIAS VECTOR — the composite directional accumulation score with + or - sign. Yellow-green above +35, red below -35, neutral otherwise
HTF BIAS — higher timeframe EMA direction: BULL, BEAR, or FLAT
VOL DELTA — BUYERS when bull volume dominates, SELLERS when bear volume dominates
IGNITE L — live long ignition probability score 0–100. Highlights yellow-green when at or above the minimum threshold
IGNITE S — live short ignition probability score 0–100. Highlights red when at or above threshold
COIL BARS — number of bars the current coil has been active. Orange when at or above the minimum coil duration
COIL RANGE — the high-low range of the current coil box in price terms
SESSION — ACTIVE or FILTERED based on the session filter state
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Compression Coil Box (orange) — live orange-tinted box spanning the full high-low range of the current compression period. Brightens on full coil. The core visual centerpiece of CATALYST
Regime Background Tints — subtle full-bar background colors for each regime: gray (QUIET), light orange (BUILDING), deeper orange (COILED), cyan (IGNITION), yellow-green or red (TRENDING), purple (EXHAUSTION)
IGNITE Label (below bar, yellow-green) — bull ignition signal. All conditions confirmed
IGNITE Label (above bar, red) — bear ignition signal
◆ Exhaustion Diamond (above bar, purple) — bull trend exhaustion warning
◆ Exhaustion Diamond (below bar, purple) — bear trend exhaustion warning
Bias Vector Arrow Label — appears near the coil box on the current bar during BUILDING and COILED phases, showing ▲ BIAS +xx or ▼ BIAS -xx in real time
Regime Flip Labels — small text labels marking every regime transition: BUILDING, COILED, IGNITION, TRENDING, EXHAUSTION. Color-coded by regime
SL Dashed Line (red) — stop loss guide extending 12 bars from ignition bar
TP1 Dotted Line (dim yellow-green) — first take-profit guide
TP2 Dotted Line (bright yellow-green) — extended take-profit guide
SL / TP1 / TP2 Price Labels — exact price levels labeled at the right end of each guide line
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX CATALYST — Step by Step
Step 1 — Monitor the Regime
Check the dashboard REGIME row. If it shows QUIET, nothing actionable is developing. If it shows BUILDING, a compression cycle is beginning — start paying attention
Watch COMPRESS build toward 75+. When SQUEEZE shows ON simultaneously, the market is in maximum coil state. This is your highest-alert pre-signal phase
Note the Coil Box forming and narrowing on the chart. The tighter the box, the more energy compressed inside
Step 2 — Assess the Bias During the Coil
Watch the Bias Arrow label near the coil box. Is it showing ▲ BIAS or ▼ BIAS? A strong positive bias (+50 or above) during a tight coil is the strongest possible pre-ignition setup
Check HTF BIAS on the dashboard — does it confirm the bias arrow direction? HTF alignment is worth 15 ignition score points and significantly increases the probability of a clean directional ignition
Watch VOL DELTA — are BUYERS or SELLERS winning the accumulation battle during the quiet phase?
If the Bias Vector is below ±35, the coil does not have strong directional conviction. Lower your size expectations or wait for bias to build
Step 3 — Watch the Ignition Scores Approach Threshold
As the coil deepens, watch IGNITE L and IGNITE S scores on the dashboard climbing toward the minimum threshold. When a score crosses the threshold and highlights, the system is primed — ignition can fire on the next qualifying expansion bar
The squeeze release (SQUEEZE shows RELEASE) is the most important single event in the ignition sequence. When the squeeze releases on a strong expansion candle in the bias direction, ignition fires immediately if the score is sufficient
Step 4 — Enter on the IGNITE Label
The IGNITE label marks the exact ignition bar. Enter on the close of the signal bar or the open of the following bar
The SL is placed beyond the coil box edge — below the coil low (long) or above the coil high (short). This is your structural invalidation: if price re-enters and closes through the opposite side of the coil box, the breakout has failed
TP1 at 2.0× ATR — scale out 50% here. Move the remainder to breakeven
Let TP2 or the first exhaustion diamond manage the remaining position
Step 5 — Exit on Exhaustion or Regime Shift
A purple diamond marks the exhaustion condition. Take profit on the remaining position or tighten the stop aggressively
The dashboard shows EXHAUSTION regime — the trend energy has been identified as spent
If no exhaustion fires and price continues, the system will track the regime as TRENDING — let the move run until exhaustion appears
After EXHAUSTION, the regime resets. Watch for a new compression cycle to build in the updated directional context
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
Regime is QUIET and COMPRESS is below 35 — no cycle is developing. CATALYST has nothing actionable and no signal can fire. Do not force entries
Regime reaches COILED but Bias Vector is below ±35 — the coil is real but the directional accumulation is inconclusive. Ignition in this environment carries reduced directional probability. Reduce size significantly or wait for bias to develop clarity
HTF BIAS opposes the bias vector direction — a bearish HTF while the bias vector is bullish means the coil is building against the macro institutional flow. Counter-HTF ignitions have a significantly lower success rate. Wait for HTF alignment
IGNITE L and IGNITE S scores are both below threshold — the market is compressing but neither a long nor short setup has sufficient confirmation quality. No signal will fire. Wait for the scores to build
Multiple regime cycles in rapid succession without trending — BUILDING → COILED → QUIET → BUILDING cycles that never reach IGNITION indicate a market in deep chop or accumulation. Do not try to anticipate the breakout direction — wait for the cycle to complete cleanly
Session shows FILTERED — the session filter has blocked the current time window. No signals will fire
COIL BARS is below the minimum coil duration — the compression has been too brief to build meaningful energy. A coil of 2 bars has far less stored energy than a coil of 8+ bars. Prioritize setups with longer coil durations
The ideal CATALYST setup:
COMPRESS at 80+, SQUEEZE ON for multiple bars
Bias Vector at +50 or above (long) or -50 or below (short)
HTF BIAS aligned with the bias direction
VOL DELTA confirming the bias direction (BUYERS for long, SELLERS for short)
IGNITE L or S score approaching 75+
COIL BARS at 5 or more — sustained compression
Squeeze RELEASE on the ignition bar — the spring snapping
Strong body expansion candle in the bias direction
When all these conditions align, CATALYST produces its highest-conviction ignition signals — setups where the compression depth, directional accumulation, HTF alignment, volume pressure, and expansion quality are all confirming simultaneously.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🌬 6-stage regime state machine — QUIET → BUILDING → COILED → IGNITION → TRENDING → EXHAUSTION. Every bar is classified and every signal is regime-gated
📉 Multi-component compression score — BB/KC squeeze, NR patterns, NR streaks, volume dry-up, volume dry streaks, and ATR percentile rank combined into a single 0–100 score
📦 Live compression coil box — orange-tinted box tracking the full range of the compression period in real time, brightening at maximum coil depth
🧭 5-component bias vector — Volume Delta, Close-Position Bias, Micro Structure, HTF EMA alignment, and BB Basis positioning combined into a -100 to +100 directional accumulation score
⚡ Live bias arrow label — directional score displayed near the coil box on the current bar, updating in real time during BUILDING and COILED phases
🔥 Dual ignition probability scores — separate 0–100 long and short scores computed every bar with a configurable minimum threshold gate
💥 IGNITE signal — fires only from COILED state on the exact bar where compression, bias, expansion candle, and ATR all confirm simultaneously
⚠ Exhaustion radar — RSI climax volume, rejection wick, trend stall squeeze, and reversal candle conditions produce early exhaustion warnings during the TRENDING phase
📡 HTF EMA bias filter — pulls higher timeframe directional structure into both the bias vector and the ignition scoring system
🎯 Coil-anchored SL placement — stop loss placed beyond the compression box structural boundary rather than a fixed ATR distance
🎨 Regime background tints — full-bar background colors for every regime stage, providing constant visual awareness of where the market is in the cycle
🏷 Regime flip labels — small text labels at every regime transition point on the chart history
📊 14-row live dashboard — Regime, Compress, Squeeze, ATR Rank, Vol Dry, Bias Vector, HTF Bias, Vol Delta, Ignition Scores, Coil Bars, Coil Range, Session updated every bar
🔔 5 alert conditions — Ignite Long, Ignite Short, Fully Coiled, Squeeze Release, Exhaustion Warning
⚙ Fully configurable — all ATR/BB/KC parameters, NR lookback, volume dry-up threshold, ATR percentile length, HTF timeframe and EMA, delta and structure lookbacks, ignition threshold, body size filter, exhaustion RSI/volume/wick parameters, SL/TP multiples, session windows, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Volatility Engine
ATR Length — ATR calculation lookback used across the engine (default: 14)
BB Length / BB Mult — Bollinger Band parameters for squeeze detection (defaults: 20 / 2.0)
KC Length / KC Mult — Keltner Channel parameters (defaults: 20 / 1.5)
NR Pattern Lookback — bars for narrow range comparison. NR fires when current range is the narrowest in this window (default: 7)
Volume Dry-Up Length — lookback for volume moving average (default: 20)
Max Vol vs Avg (coil) — maximum volume as a fraction of average for the dry-up condition (default: 0.65)
ATR Percentile Lookback — history window for ATR percentile rank (default: 100)
Min Coil Duration (bars) — minimum consecutive bars needed for streak bonuses (default: 3)
Bias Vector
HTF Bias Timeframe — higher timeframe for EMA bias pull (default: 60-minute)
HTF EMA Length — EMA period on the higher timeframe (default: 50)
Require HTF Alignment — when on, HTF opposing direction deducts points from ignition scores
Volume Delta Length — EMA smoothing for volume delta estimation (default: 14)
Close-Position Bias Len — lookback for average close position within bar range (default: 10)
Structure Lookback — bars for micro higher high / lower low detection (default: 20)
Ignition Signals
Min Ignition Score (0–100) — threshold below which no signal fires (default: 62). 58–68 is practical range
Min Ignition Body (xATR) — expansion candle body must exceed this multiple of ATR (default: 1.15)
Require Squeeze Release — when on, ignition must occur on or after BB/KC squeeze releases
Show Ignition BUY/SELL Labels — toggle IGNITE signal labels
Show Exhaustion Warnings — toggle exhaustion diamond markers
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 6)
Exhaustion Radar
RSI Overbought / Oversold — RSI thresholds for climax exhaustion detection (defaults: 72 / 28)
Climax Volume (x avg) — volume multiple above average required for RSI climax condition (default: 2.2)
Min Rejection Wick % — minimum wick as fraction of bar range for wick rejection exhaustion (default: 0.55)
Risk Guidance
Show SL / TP Guides on Signal — toggle level lines and labels
SL Distance (xATR) — ATR-based SL floor distance (default: 1.2)
TP1 Distance (xATR) — first take-profit target distance (default: 2.0)
TP2 Distance (xATR) — extended take-profit target distance (default: 4.0)
SL Beyond Coil Box Edge — places SL at the structural coil boundary rather than fixed ATR only (default: on)
Session Filter
Enable Session Filter — toggle the session restriction
London (08:00–13:00 UTC) — toggle London session inclusion
London/NY Overlap (13:00–17:00 UTC) — toggle the highest-volume overlap session
NY Afternoon (17:00–21:00 UTC) — toggle NY afternoon session
Display
Show Compression Coil Box — toggle the live orange coil box
Regime Background Tint — toggle the full-bar regime background colors
Show Bias Vector Arrow — toggle the live bias label near the coil box
Dashboard Position — Top Right / Top Left / Top Center / Bottom Right / Bottom Left / Bottom Center
Dashboard Size — Normal / Bigger
Theme
Bull Primary / Bright / Dim — yellow-green family for all bullish elements
Bear Primary / Bright / Dim — red family for all bearish elements
Coil / Squeeze — orange for all compression and coil elements
Ignition — cyan for the ignition regime flash
Exhaustion — purple for exhaustion regime and warning diamonds
Neutral — gray for QUIET regime and neutral states
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (5 total)
Signal Alerts
CATALYST Ignite Long — all long ignition conditions confirmed. IGNITE label fired below bar
CATALYST Ignite Short — all short ignition conditions confirmed. IGNITE label fired above bar
State Alerts
CATALYST Fully Coiled — regime has entered COILED state (compression 75+, squeeze active). Ignition may be imminent — prepare
CATALYST Squeeze Release — BB has expanded outside KC on this bar. Maximum-quality ignition condition active
CATALYST Exhaustion — exhaustion conditions detected in the TRENDING regime. Trend energy fading
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M5–H1 :
Min Ignition Score at 62 — strong quality gate while allowing frequent enough signals on intraday timeframes
HTF at 60-minute — meaningful macro context for M5–M15 trading. The squeeze and ignition on M5 confirmed by H1 EMA alignment is the core multi-timeframe framework
ATR Percentile Lookback at 100 — calibrated for intraday volatility cycles on liquid instruments
NR Lookback at 7 — captures classic NR7 patterns while remaining sensitive enough for fast-moving instruments
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce ATR Percentile Lookback to 50, reduce NR Lookback to 5, reduce Min Ignition Score to 58, shorten Cooldown to 3 bars
H1–H4 swing trading — set HTF to Daily or Weekly, increase ATR Percentile Lookback to 200–250, increase Min Ignition Score to 68–72, increase TP2 to 6.0–8.0× ATR for wider swing targets
Crypto (BTC, ETH) — increase KC Mult to 2.0–2.5 and BB Mult to 2.5 to account for wider natural volatility, increase Climax Volume threshold to 2.8–3.5 for crypto's naturally higher volume spikes
Higher signal frequency — lower Min Ignition Score to 55–58, reduce NR Lookback to 5, reduce Min Coil Duration to 2
Ultra-selective signals only — raise Min Ignition Score to 72–78, require Squeeze Release on, HTF Alignment on, increase Min Coil Duration to 5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
💥 Volatility breakout and expansion traders — CATALYST is purpose-built for traders who want to enter at the moment of volatility ignition, not after the move has already extended significantly
⚡ Squeeze traders and NR pattern traders — the compression engine formalizes and quantifies every squeeze and narrow range pattern into a single score, eliminating subjective judgment about whether a coil is "tight enough"
🔮 Anticipatory traders who want to read the market before it moves — the bias vector and ignition score system provides pre-signal intelligence during the coil that no reactive indicator can match
📊 Multi-timeframe traders — the HTF bias integration means every CATALYST signal is contextualized against the higher timeframe institutional flow
🧠 Systematic traders — every component of the compression score, bias vector, and ignition score is quantified and configurable. There is no subjectivity in what constitutes a "good enough" coil
🎯 Risk-conscious traders — the coil-anchored stop loss is structurally meaningful — placed at the exact level that invalidates the breakout thesis
📈 Traders across all asset classes — the ATR normalization and percentile-ranked volatility detection means CATALYST works consistently on gold, forex, crypto, and indices without manual recalibration between instruments
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Regime state, compression score, bias vector, and ignition scores all finalize on confirmed bars
The regime state machine is sequential — IGNITION can only be reached from COILED. This means no signal can fire without prior confirmed compression regardless of how strong the expansion candle is
The ATR percentile rank requires the configured lookback history to be available. On charts with fewer bars than the ATR Percentile Lookback setting, the rank may underperform until sufficient history accumulates. This warm-up effect resolves naturally
The bias arrow label is drawn only on the last bar and refreshes on every tick during live trading. It does not appear on historical bars — only the current bar during BUILDING and COILED regimes
The SL / TP guide lines are redrawn on every new ignition signal. Previous signal levels are deleted when a new signal fires
Maximum 500 labels, 500 lines, and 100 boxes are rendered. The coil box, regime flip labels, and SL/TP levels all count toward these limits. On very active charts with long history, the oldest labels may be removed by PulseWire's rendering limits
The session filter uses UTC hours rather than exchange-specific sessions, making it instrument-agnostic across all markets globally
The indicator does not track open positions or P&L — the regime state tracks the expansion direction (bull or bear) from ignition through exhaustion, but does not connect to any broker or account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that the most powerful moment to enter a market is not when everyone can see the move — it is the bar before, when the coil finally snaps. Indicator

No-Repaint Entry Score Multi-Factor Confluence [LunqFX]No-Repaint Entry Score — Multi-Factor Confluence
Most indicators tell you a signal exists. This one tells you how strong
it is, why it fired, and how long it has been holding — on every bar,
across every market.
One number: 0–100. Five factors. Zero repainting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE IT — 4 STEPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 1 — CHECK HTF TREND
Look at the SIGNAL section of the panel.
HTF Trend shows ▲ BULL or ▼ BEAR based on a confirmed higher
timeframe EMA. Only take setups in this direction.
Counter-trend setups are automatically penalised by the score.
STEP 2 — WAIT FOR THE ENTRY WINDOW
When score reaches your Signal Threshold (default 75), the panel
shows "✓ ENTRY WINDOW" and a green Entry Zone box appears on the chart.
Do not enter below this threshold — conditions are not aligned.
STEP 3 — CHECK THE CAUTION ROW
The panel always shows your weakest component.
Caution: Momentum ↓ → wait for a strong candle close
Caution: Session ↓ → wait for market session to open
Caution: Structure ↓ → you may be entering against the trend
Fix the caution before entering.
STEP 4 — LOOK FOR PRIME AND PERSISTENCE
PRIME label (score ≥80) = all 5 factors aligned. Best entries.
◆ SUSTAINED (3+ bars) → candles turn cyan. High conviction.
◆◆ ELITE (6+ bars) → candles turn gold. Exceptional setup.
The longer the streak holds, the stronger the setup.
STOP LOSS — place below/above the Entry Zone outer band (±0.55 ATR).
TAKE PROFIT — next confirmed swing level or session high/low.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SCORE TIERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆◆ ELITE PRIME ≥80, held 6+ bars — exceptional, rare
◆ SUSTAINED ≥80, held 3+ bars — high conviction
PRIME ≥80, first bar — valid entry signal
GOOD 65–79 — quality setup, consider entry
MODERATE 40–64 — mixed signals, wait
WEAK <40 — avoid, confluence collapsed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ READING THE DASHBOARD PANEL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ENTRY SCORE — composite score 0–100. Header color shifts with tier:
green (PRIME) → cyan (SUSTAINED) → gold (ELITE) → red (WEAK)
Progress bar — 8-block visual bar. Updates every tick.
Score ▲▼— — arrow shows if score is building (▲) or fading (▼).
Useful for timing: enter when score is rising, not when it peaks.
Tier row — current tier label. Upgrades automatically to
◆ SUSTAINED PRIME or ◆◆ ELITE PRIME when streak activates.
COMPONENTS — individual 0–100 scores:
Structure = HTF EMA alignment × candle direction
Proximity = distance from nearest swing pivot level
Session = trading session quality by hour
Momentum = candle body strength (body ÷ total range)
Volatility = ATR vs 50-bar average (filters dead and spiking markets)
HTF Trend — higher timeframe direction. Confirmed bar only, no drift.
Caution — your weakest component. One actionable reason to wait.
Entry — ENTRY WINDOW or WAIT based on your Signal Threshold setting.
Persistence — consecutive PRIME bar counter.
— = no active streak 3 bars = SUSTAINED 6 bars = ELITE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ RECOMMENDED TIMEFRAMES AND MARKETS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best timeframes: 1H · 4H · Daily
Works on: 5M · 15M · 30M (more signals, lower quality per signal)
Avoid: below 5M
Forex (EURUSD GBPUSD USDJPY) → NY or London session mode
Gold (XAUUSD) → NY session, 1H or 4H
Crypto (BTCUSD ETHUSD) → Crypto 24/7 mode
Indices (SPX NAS DAX) → NY session
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WEIGHT PRESETS FOR DIFFERENT TRADING STYLES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Weights are fully adjustable. Presets to get you started:
Trend Following (default)
Structure 30 / Proximity 25 / Session 20 / Momentum 15 / Volatility 10
Scalping (5M–15M)
Structure 20 / Proximity 15 / Session 30 / Momentum 25 / Volatility 10
Swing Trading (Daily–Weekly)
Structure 35 / Proximity 30 / Session 5 / Momentum 20 / Volatility 10
Mean Reversion (range markets)
Structure 15 / Proximity 40 / Session 20 / Momentum 15 / Volatility 10
Crypto 24/7
Structure 30 / Proximity 30 / Session 5 / Momentum 20 / Volatility 15
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ALERTS — 6 CONDITIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Prime Setup Detected — score enters ≥80
2. Good Setup Forming — score enters 65–79 from below
3. Setup Degraded — score drops from quality zone
4. Weak Setup Warning — score collapses below 40
5. Sustained PRIME (3 bars)— streak hits 3 consecutive PRIME bars
6. Elite PRIME (6 bars) — streak hits 6 consecutive PRIME bars
Set alerts to "Once per bar close" in PulseWire settings.
All alerts fire on confirmed closed bars only — no false triggers.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW THE SCORE IS CALCULATED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Score = weighted average of 5 components, normalised to 100%.
Weights are user-configurable and auto-normalised — they do not
need to sum to exactly 100.
1. STRUCTURE (default 30%)
Compares candle direction to HTF EMA(20) direction.
Fully bi-directional: bearish candle in bearish HTF = same score
as bullish candle in bullish HTF.
Aligned: score = 65 + (body ratio × 35), max 100
Misaligned: score = 5 + (body ratio × 25), max 30
2. PROXIMITY (default 25%)
Measures distance from the nearest confirmed pivot high or low
using ta.pivothigh/pivotlow (5-bar lookback) in ATR units.
Score = 100 − (ATR distance × 18), clamped 0–100.
At the level = 97–100. Far from structure = 0–20.
3. SESSION (default 20%)
Hour-by-hour quality score based on New York time.
NY mode: 08:00–11:00 = 100 · 03:00–05:00 = 88 ·
11:00–13:00 = 72 · 13:00–16:00 = 60 ·
dead zones = 25
London and Tokyo modes follow their respective peak hours.
Crypto 24/7 = flat 75 (no session bias).
4. MOMENTUM (default 15%)
Candle body divided by total candle range.
Full-body candle = 100. Doji = 0.
Filters indecisive wick-heavy candles.
5. VOLATILITY (default 10%)
ATR(14) divided by its 50-bar SMA.
Sweet spot 0.7–1.6 = score 100.
Too quiet (< 0.7): score scales down.
Too explosive (> 1.6): score drops sharply.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ NO-REPAINT — HOW IT IS ACHIEVED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Three sources of repaint addressed:
HTF EMA: request.security(..., ta.ema(close,20) , lookahead_on)
The reads the EMA of the PREVIOUS confirmed HTF bar.
Locked until the next HTF candle closes. No live-bar drift.
Labels: all signals fire only on barstate.isconfirmed.
Never drawn on an open bar.
Pivots: 5-bar right lookback on confirmed bars only.
Verify: PulseWire Replay mode — bar-by-bar playback matches
published chart exactly on any historical period.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Higher Timeframe — blank = auto.
Auto logic: 1–5M→30M · 6–15M→1H · 16–60M→4H ·
61–240M→Daily · Daily→Weekly · Weekly→Monthly
Signal Threshold — Entry Window fires above this score. Default 75.
PRIME tier is always fixed at ≥80 regardless of this setting.
Trading Session — NY · London · Tokyo · Crypto 24/7
Component Weights — all five individually adjustable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ RISK DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is a decision-support tool, not a trading strategy.
No backtested win rate or profit factor is implied or claimed.
Past signals do not guarantee future performance.
Always use a defined stop loss and proper position sizing.
Trading involves risk of loss. Use at your own discretion. Indicator

[ A L P H A X ] ANCHOR Delta Volume Adaptive Entry EngineAlphaX ANCHOR — Liquidity-Anchored Trailing Stop System with Delta Volume Profile, Adaptive Band Scaling, HVN Confluence & 6-Layer Entry Engine
AlphaX ANCHOR is a professional-grade trend-following and entry precision system built around a proprietary four-band liquidity-anchored trailing stop engine that adapts to volatility in real time. Where conventional trailing stops use a fixed ATR distance and flip on any close beyond it, ANCHOR builds a structured four-layer band system that breathes with market conditions — tightening automatically during low-volatility squeeze phases and expanding during expansion phases — while simultaneously computing a delta-weighted volume profile anchored to the current trend segment. The result is a system that does three things simultaneously: tells you the trend direction with structural confidence, shows you exactly where the institutional volume is concentrated within the current move, and fires precision entries only when price returns to the outer anchor band within a qualifying 6-layer confluence environment. Designed for swing traders, position traders, and trend-following scalpers across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚓ The Anchor Trail Engine — How It Works
The core of AlphaX ANCHOR is the four-band liquidity-anchored trailing stop system — a structured set of concentric ATR bands that trail price in the trend direction, each band serving a distinct role in the trade management framework.
Band architecture:
Band 1 (Inner) — the closest band to price. Set at the base multiplier × ATR distance (default: 6.5×). Acts as the tightest stop reference — for aggressive traders who want minimal drawdown and are willing to accept more noise exits
Band 2 (Mid-Inner) — base + 1.0× ATR additional offset. The intermediate reference zone
Band 3 (Mid-Outer) — base + 2.0× ATR additional offset. Structural breathing room for normal pullbacks
Band 4 (Anchor — Outer) — base + 3.0× ATR additional offset. The primary trend invalidation level. A close beyond this band flips the trend. This is the band the confluence engine watches for retest entries
Trailing mechanics:
In a bull trend, all four bands trail price upward — ratcheting higher with every bar that closes higher, never moving down. The trail is one-directional: in a bull trend, bands can only move up; in a bear trend, bands can only move down. This ratchet behavior prevents the bands from widening on pullbacks — once a level is established, price must return all the way to Band 4 before a trend flip is triggered. This single property is what makes ANCHOR bands structurally superior to simple ATR trailing stops: they do not exit on noise, only on genuine structural breakdowns.
Trend flip logic:
A trend flip occurs when the source price closes beyond Band 4 — the outer anchor level. On the flip bar, all four bands immediately reset to the opposite side of price at their respective ATR distances. A ▲ ANCHOR BULL or BEAR ▼ ANCHOR label marks every flip on the chart, giving you clear visual confirmation of every structural trend change.
Heatmap visualization:
When the Trailing Stop Heatmap is enabled, the space between all four bands is filled with gradient color layers — progressively more opaque from Band 1 to Band 4. This creates an immediate visual depth map of the trailing stop structure: the closer price is to Band 4, the deeper into the "danger zone" the pullback has penetrated. At a glance, you can see whether a pullback is shallow (barely in the inner fill) or deep (approaching the outer anchor line) without reading a single number.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌊 Adaptive Band Scaling — Breathing With Volatility
Standard ATR trailing stops maintain a fixed multiplier regardless of whether the market is in a squeeze or an expansion phase. ANCHOR solves this with an adaptive scaling system that continuously adjusts the effective band multiplier based on current volatility context.
How it works:
The current ATR value is percentile-ranked over the last 100 bars using a percentrank function, producing a real-time volatility percentile reading. Additionally, the system monitors whether Bollinger Bands are compressed inside Keltner Channels — the squeeze condition.
Three scaling states:
Squeeze active (BB inside KC) — multiplier scales down to the Adaptive Min Scale (default: 0.85×). Bands tighten. During a squeeze, price movement is compressed and the natural pullback range is narrower — tighter bands correctly reflect this reduced volatility and avoid giving back gains unnecessarily when the market is coiling
High volatility (ATR in top 75th percentile) — multiplier scales up to the Adaptive Max Scale (default: 1.15×). Bands widen. During expansion phases, price swings are larger and a wider band correctly avoids being stopped out by normal volatility noise
Normal conditions — multiplier stays at 1.0× the base setting. No adjustment needed
Dashboard readout:
The current adaptive scale is displayed live on the dashboard as a multiplier value (e.g., 0.85x SQZ or 1.15x) in real time, so you always know whether the system is in tight, normal, or wide band mode.
Why adaptive scaling matters: A fixed 6.5× ATR trailing stop is too wide during a squeeze and too tight during a volatility spike. Adaptive scaling means ANCHOR is always correctly sized for the current market environment — without any manual adjustment from you.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Delta-Weighted Volume Profile — Anchored to the Trend Segment
The volume profile in AlphaX ANCHOR is not a standard fixed-range profile. It is a trend-segment-anchored profile — recomputed from the exact bar where the current trend began (the last Band 4 flip) to the current bar. Every time the trend flips, the profile resets and starts building fresh from the new trend origin.
What this means in practice: The profile always shows you the volume distribution of the current institutional delivery move — not an arbitrary date range, not the last N bars, but specifically the price levels where volume has concentrated since the institutional trend began. This is the most relevant possible volume profile for understanding the current trade's context.
Delta weighting:
When Delta-Weighted Volume is enabled (default: on), each bar's contribution to the volume profile is adjusted by the estimated directional bias of that candle:
In a bull trend — the bull volume estimate (close position within the high-low range × total volume) is used. Bullish candles contribute more weight to their price levels than bearish candles
In a bear trend — the bear volume estimate is used. Bearish candles carry more weight
This delta weighting creates a profile that reflects not just where volume occurred, but where directionally committed volume occurred — the levels where buyers (in a bull trend) or sellers (in a bear trend) were most active. These are the genuine institutional accumulation and distribution zones, not just high-activity noise zones.
Profile structure:
The profile is divided into a configurable number of rows (default: 30), each representing an equal price bin across the trend segment's high-low range. The width of each bar in the rendered profile is proportional to the volume in that bin relative to the maximum bin volume — the widest bar is always the highest-volume level.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 POC, Value Area & HVN Detection
Point of Control (POC):
The single price bin with the highest volume in the current trend segment. This is the price level where the most delta-weighted volume has traded since the trend began — the most liquid price in the current institutional move. Plotted as a solid purple line extending from the trend start to the right edge of the profile. The POC price is displayed live on the dashboard and is available as a take-profit target mode.
Value Area High (VAH) and Value Area Low (VAL):
The price range containing a configurable percentage of total segment volume (default: 70%). The value area represents the zone where the market spent 70% of its time and volume — the institutional fair value range for the current trend segment. VAH is plotted as a dashed yellow-green line; VAL as a dashed red line. These levels act as natural support and resistance within the trend — price frequently respects VAH and VAL on pullbacks before continuing in the trend direction.
High Volume Nodes (HVNs):
Local volume peaks within the profile — bins where volume is higher than both the bin immediately below and the bin immediately above. These are the institutional congregation zones — price levels where significant two-sided activity occurred. HVNs frequently act as magnets: price is attracted to them, and once reached, tends to spend time at them before continuing. Identified algorithmically across all bins, HVN levels are plotted as horizontal lines extending from the trend start, styled and colored by the configured settings. The highest-volume HVN receives a bold line and a price label.
HVN confluence scoring:
The confluence engine awards 1 point when either the current close or the outer Band 4 level is within a tolerance of ±0.35× ATR of any HVN level. An entry that fires at the anchor band while simultaneously sitting at an HVN level means you are buying or selling at a level where the most institutional volume has transacted — a genuinely high-conviction entry location.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚖ Trend Equilibrium — Premium/Discount Positioning
The Trend Equilibrium line is the midpoint between the highest high and the lowest low since the current trend began (the trendHigh and trendLow of the segment). Plotted as a purple dotted line directly on the chart.
This level serves as the dynamic premium/discount divider for the current trend segment:
Below equilibrium = discount — price is in the lower half of the trend segment range. For bull trends, this is the institutional accumulation zone — the preferred entry location for long positions
Above equilibrium = premium — price is in the upper half of the range. For bear trends, this is the institutional distribution zone — the preferred entry location for short positions
The Require PD Zone setting enforces that long signals only fire when price is in discount and short signals only fire when price is in premium. This one filter alone eliminates a substantial class of low-quality entries — those that occur when price has already extended far from the segment midpoint and the risk/reward is structurally poor.
Unlike a fixed-range PD calculation, this equilibrium adapts dynamically to the current trend segment — it is always the midpoint of this trend's range, making it the most contextually accurate premium/discount reference available.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The 6-Layer Confluence Engine
Entry signals fire only when price touches the outer Band 4 anchor level within a qualifying 6-layer confluence environment. Each layer votes independently. The default minimum is 4 of 6.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 1 — Anchor Trend Direction
Awards 1 point when the ANCHOR system's current trend direction agrees with the signal. Bull signals require trend == 1; bear signals require trend == -1. This is also a hard positional requirement — the anchor touch condition itself requires a bull trend for longs (price touching Band 4 from above) and a bear trend for shorts (price touching Band 4 from below). The trend direction is therefore inherently confirmed by the signal trigger condition.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 2 — HTF Bias
Awards 1 point when the higher timeframe EMA structure (default: 60-minute, 21/55 EMAs) agrees with the signal direction. The HTF condition for ANCHOR is stricter than in other AlphaX systems: the HTF fast EMA must be above the slow EMA and the HTF close must be above the HTF fast EMA for a bull vote — requiring both EMA alignment and price confirmation on the higher timeframe simultaneously.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 3 — ADX Trend Strength
Awards 1 point when ADX meets the minimum threshold (default: 18). Confirms the market is in a genuine trending phase where Band 4 retests are likely to produce continuation moves rather than range reversals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 4 — Volume Delta
Awards 1 point when the estimated volume delta (bull volume EMA minus bear volume EMA) agrees with the signal direction. Confirms that the institutional order flow pressure at the anchor touch is directionally consistent with the trend. A Band 4 touch with opposing volume delta is a warning sign — institutions may be distributing at the level, not accumulating.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 5 — Premium/Discount Zone
Awards 1 point when price is in the correct zone relative to the trend equilibrium level — discount for longs, premium for shorts. A Band 4 touch in the discount zone means you are entering at the outer structural boundary of the trend and the lower half of the segment range — the optimal dual positioning that maximizes risk/reward.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 6 — HVN Confluence
Awards 1 point when the current close or the Band 4 level is within ATR tolerance of any detected High Volume Node from the segment profile. This is the layer that bridges the trailing stop system and the volume profile — when a Band 4 retest coincides with an HVN, price is returning to the outer structural boundary precisely where the most institutional volume has traded. The convergence of structural (Band 4) and volumetric (HVN) confluence at the same price level is the highest-quality entry condition ANCHOR can detect.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Signal Firing Logic
An ANCHOR signal fires when all of the following are simultaneously true:
Price has touched Band 4 from the correct side — low within Band 4 tolerance for longs (bull trend), high within Band 4 tolerance for shorts (bear trend)
The close is back on the correct side of Band 4 — close above Band 4 for longs, close below for shorts (confirming the touch was a retest, not a breakdown)
Confluence score meets or exceeds the configured minimum (default: 4 of 6)
Session filter confirms active hours (when enabled)
Signal cooldown has elapsed since the last signal (default: 8 bars)
Show Entry Signals is enabled
Live confluence display:
A small label near the current Band 4 level on the last bar shows the live bull and bear scores in the format B 5/6 · S 2/6 — updating in real time so you can monitor the confluence state without looking at the dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Exit Guidance System
ANCHOR provides two live guidance levels plotted as dotted circles on the chart when a signal fires — not hard mechanical exits, but institutionally informed price targets for use in your own exit planning.
SL Guide:
The stop loss guide is anchored to a configurable band (default: Band 4 — the outer anchor). The SL band can be set to any of the four bands depending on your risk tolerance. Band 4 represents the structural invalidation level — the trend has flipped if price closes beyond it. Band 1 is the tightest option for aggressive stop placement.
TP Guide (three modes):
POC Target (default) — the take-profit guide points to the current segment POC. This is the most structurally meaningful target: in a bull trend, a Band 4 retest entry with a POC target means you are entering at the lowest point of the trend's volume structure and targeting the price where the most institutional activity occurred. The POC frequently acts as a magnet — price is drawn back to it after pullbacks
Opposite Band — the TP guide points to the trendHigh (bull) or trendLow (bear) of the current segment — the opposite extreme of the trend range. Maximum trend extension target
ATR Multiple — a fixed ATR distance from the entry close (default: 2.5×). Simple and consistent across all instruments and timeframes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state across four sections, updated on every bar.
TREND
Anchor Trend — current ANCHOR system trend direction: ▲ BULLISH or ▼ BEARISH. This is the primary trend state — the direction all long entries must align with
Adaptive — current adaptive scale multiplier (e.g., 0.85x SQZ, 1.00x, or 1.15x) with squeeze state flag. Tells you whether bands are currently tighter or wider than the base setting
PD Zone — current premium/discount position relative to the trend equilibrium: ◧ DISCOUNT, ◧ PREMIUM, or — EQ
FILTERS
HTF Bias — higher timeframe EMA alignment: ▲ BULL, ▼ BEAR, or — FLAT
ADX — live ADX value with ✓ or ✗ pass/fail
Vol Delta — current volume delta direction: ▲ BULL, ▼ BEAR, or —
Session — ✓ ACTIVE or ✗ OFF
VOLUME
POC — current Point of Control price level. Updated in real time as the profile builds
VAH / VAL — Value Area High and Value Area Low levels for the current trend segment
HVN Count — number of High Volume Nodes currently detected in the segment profile
CONFLUENCE
Bull Score — live 0–6 score. Background highlights yellow-green when threshold is met
Bear Score — live 0–6 score. Background highlights red when threshold is met
Anchor Band — the current Band 4 price level in real time — the exact price where the next retest entry would occur
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Band 4 (Anchor — thick solid line) — the outer trailing stop and primary structural level. Yellow-green in bull trend, red in bear trend. The most important line on the chart
Band 3 (semi-transparent) — mid-outer reference, 2× ATR inside Band 4
Band 2 (more transparent) — mid-inner reference, 1× ATR inside Band 4
Band 1 (most transparent) — inner reference, base ATR distance from price
Heatmap fills — gradient color fills between all four bands. Deepening opacity toward Band 4 creates a visual depth map of trailing stop risk
Trend Equilibrium Line (purple dots) — the dynamic midpoint of the current trend segment's high-low range
▲ ANCHOR BULL / BEAR ▼ ANCHOR label — appears on every trend flip at the Band 4 flip price, marking each structural direction change
▲ Triangle (below bar) — long entry signal at Band 4 retest with confluence confirmed
▼ Triangle (above bar) — short entry signal at Band 4 retest with confluence confirmed
Live confluence label — B x/6 · S x/6 score label near the current Band 4 level on the last bar, updating in real time
Volume profile bars — delta-weighted horizontal bars rendered to the right of the current price, color-matched to trend direction, proportional to bin volume
POC line (purple solid) — the highest-volume level in the current trend segment
VAH line (yellow-green dashed) — Value Area High boundary
VAL line (red dashed) — Value Area Low boundary
HVN lines — horizontal lines at every local volume peak. The dominant HVN (highest volume) receives a bold line and price label
SL Guide (red dotted circles) — stop loss reference level at the configured anchor band
TP Guide (yellow-green dotted circles) — take-profit reference pointing to POC, opposite band extreme, or ATR target
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX ANCHOR — Step by Step
Step 1 — Establish Trend Context
Check the dashboard: what is the Anchor Trend? This is your trading direction — only take longs in ▲ BULLISH, only take shorts in ▼ BEARISH
Check HTF Bias — does the higher timeframe agree? A bull Anchor Trend with bull HTF Bias is the ideal setup condition
Check the Adaptive row — is the system in squeeze mode (0.85x SQZ)? If so, bands are tighter and a Band 4 touch is more likely. Expansion mode (1.15x) means wider bands and deeper pullbacks to reach Band 4
Note the POC and VAH/VAL levels on the dashboard and the chart. These are your key target and support/resistance levels within the current trend
Step 2 — Watch for Band 4 Approach
Monitor the heatmap — as price pulls back from the trend high, it moves progressively through the Band 1, 2, 3 fills. By the time price is deep in the Band 3 fill and approaching the solid Band 4 line, a retest touch is imminent
Check the live confluence label near Band 4. Is the bull score at or near the threshold? If so, a signal may fire on the next bar
Check the PD Zone row — is price in discount for a long entry? A Band 4 touch in discount zone is the optimal entry scenario
Step 3 — Enter on the ANCHOR Triangle
A ▲ triangle confirms the Band 4 touch with qualifying confluence. Enter on the close or next bar open
Note whether an HVN level is near the entry price — an HVN + Band 4 confluence entry is the highest-quality ANCHOR setup
The SL Guide dotted line shows your stop reference. The TP Guide shows the POC, opposite extreme, or ATR target depending on your mode setting
Step 4 — Manage with the Band Structure
As the trade moves in your favor, watch the bands ratchet upward (bull) with price — your trailing stop is automatically rising
The POC line is your primary profit target in POC Target mode. As price approaches the POC, consider scaling out
The VAH level (bull trend) acts as the next resistance after POC — if price clears VAH with momentum, the trade has potential to reach the trendHigh
If price pulls back into the Band 3 or Band 4 zone again without a trend flip, this is a secondary entry opportunity — the same confluence check applies
Step 5 — Trend Flip Exit
A close beyond Band 4 triggers a trend flip — the BEAR ▼ ANCHOR label appears, the bands invert, and the volume profile resets for the new trend segment
Exit the prior trend position on the flip bar or the following open
Wait for the new trend to establish and a Band 4 retest to develop in the new direction before re-entering
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
Trend flips are occurring rapidly — multiple ▲ / ▼ ANCHOR flip labels in quick succession indicate a choppy, oscillating market where the Band 4 trailing stop is being crossed repeatedly. The volume profile will be very short (few bars since last flip) and the POC will be meaningless. Wait for a trend to establish and sustain for at least 10–15 bars before looking for Band 4 retest entries
HTF Bias opposes the anchor trend — a bull ANCHOR trend with bear HTF Bias means the current timeframe is moving against the higher timeframe flow. Band 4 retest entries in this environment carry significantly reduced success rates
ADX ✗ on the dashboard — the market is not trending. ANCHOR is a trend-following system by design — Band 4 touches in ranging markets frequently result in immediate trend flips rather than continuations
HVN Count shows 0 — the volume profile has not yet built enough data to identify volume nodes. This typically occurs immediately after a fresh trend flip. Wait for the trend to develop more bar history before relying on HVN confluence
Adaptive shows 1.15x (expansion) and price is approaching Band 4 rapidly — high-volatility expansion phases can produce fast, aggressive moves to Band 4 and beyond. Reduce position size in expansion mode entries
Price is in premium for a bull entry or discount for a bear entry — the PD Zone filter will block these automatically when enabled, but if disabled, be aware that entries at the wrong side of equilibrium carry structurally poor risk/reward
The ideal ANCHOR setup condition:
Anchor Trend established for 15+ bars — sufficient history for meaningful volume profile
HTF Bias aligned with trend direction
ADX ✓ confirming a trending market
Adaptive at 1.0x or 0.85x (normal or squeeze — not expansion)
Price in discount (bull) or premium (bear)
Band 4 touch coincides with a visible HVN level
Confluence score at 5/6 or 6/6
When all these conditions align simultaneously, an ANCHOR entry is the closest to a textbook institutional continuation setup the system can produce.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
⚓ Four-band liquidity-anchored trailing stop — Band 1 through Band 4, each ATR offset apart, ratcheting in trend direction with a one-directional lock preventing widening on pullbacks
🌊 Adaptive band scaling — automatically tightens during squeeze phases and widens during high-volatility expansion. Scale multiplier displayed live on dashboard
🔥 Trailing stop heatmap — gradient opacity fills between all four bands creating a real-time visual depth map of pullback risk from shallow to deep
📊 Delta-weighted volume profile — anchored to the current trend segment from the last Band 4 flip, using directional volume weighting for institutional accuracy
📍 POC detection — highest-volume level in the current trend segment plotted live and available as a TP target mode
📐 Value Area High/Low — 70% volume concentration zone for the current trend segment, plotted as dynamic support/resistance levels
🔮 HVN detection — algorithmic local volume peak identification across all profile bins. Lines extend from the trend origin through the profile
⚖ Trend equilibrium — dynamic PD zone midpoint anchored to the current trend segment high and low, updating in real time as the segment expands
📡 HTF bias filter — dual-EMA + price confirmation from a configurable higher timeframe, stricter condition than standard EMA crossover
🧠 6-layer confluence gate — Anchor Trend, HTF Bias, ADX, Volume Delta, PD Zone, and HVN Confluence all scored independently on every bar
📊 Live confluence label on chart — B x/6 · S x/6 displayed near Band 4 in real time without requiring dashboard attention
🎯 Three TP target modes — POC Target (institutional magnet), Opposite Band (maximum trend extension), or ATR Multiple (fixed distance)
⚙ Configurable SL anchor band — choose Band 1 through Band 4 for stop placement based on your risk preference and trading style
🏷 Trend flip labels — ▲ ANCHOR BULL and BEAR ▼ ANCHOR labels mark every structural trend change on the chart
📊 18-row live dashboard — Trend, Filters, Volume, and Confluence sections updated in real time
🔔 6 alert conditions — bull/bear trend flips, long/short entries, and HVN + anchor confluence touches
🎨 Fully cohesive dual-tone color system — yellow-green for all bullish elements, red for all bearish, orange for squeeze, purple for VWAP/equilibrium/POC
⚙ Fully configurable — ATR length, base multiplier, adaptive scaling range, volume profile rows and width, value area percentage, HTF timeframe and EMA periods, ADX threshold, PD zone requirement, TP mode, SL band, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Anchor Trail Engine
ATR Length — lookback for the ATR calculation used in all band offsets (default: 14)
Source — price source for trailing stop calculations (default: close)
Band Offset (Base) — ATR multiplier for Band 1, the innermost band. Bands 2–4 add +1, +2, +3 automatically (default: 6.5)
Adaptive Band Scaling — toggles the volatility-adaptive multiplier adjustment
Adaptive Min Scale — multiplier floor applied during squeeze conditions (default: 0.85)
Adaptive Max Scale — multiplier ceiling applied during high-volatility expansion (default: 1.15)
Volume Profile
Show Volume Profile — toggle the rendered profile bars to the right of price
Profile Rows — number of price bins in the volume profile (default: 30)
Profile Width (Bars) — maximum horizontal width of the profile in bars (default: 40)
Delta-Weighted Volume — when on, weights each bar's contribution by directional candle bias
Show HVN Levels — toggle horizontal High Volume Node lines
HVN Line Style — Dotted / Solid / Dashed
HVN Line Width — thickness of HVN lines (default: 1)
Show Value Area (POC/VAH/VAL) — toggle POC, VAH, and VAL line plots
Value Area % — percentage of total volume used to define the value area boundaries (default: 70%)
Show Trend Equilibrium — toggle the dynamic segment midpoint line
Confluence & Entries
HTF Trend Filter — toggle the higher timeframe EMA bias requirement
HTF Timeframe — the higher timeframe for EMA calculations (default: 60-minute)
HTF Fast / Slow EMA — EMA periods on the higher timeframe (defaults: 21 / 55)
ADX Trend Filter — toggle the ADX minimum requirement
ADX Length — ADX calculation lookback (default: 14)
ADX Minimum — threshold below which signals are suppressed (default: 18)
Volume Delta Filter — toggle the volume delta directional requirement
Volume MA Length — EMA smoothing length for volume delta calculation (default: 14)
Require PD Zone — when on, longs require discount positioning, shorts require premium
Session Filter — toggle active hours restriction (default: off — ANCHOR is designed for all-session use on most instruments)
Active Session — configurable session window
Min Layers (of 6) — minimum confluence score to fire a signal (default: 4)
Signal Cooldown — minimum bars between consecutive signals (default: 8)
Show Entry Signals — toggle signal triangles on or off
Show Confluence Label — toggle the live B/S score label near Band 4
Exit Guidance
Show SL / TP Guides — toggle the guide level dotted circle plots
SL Anchor Band — which of the four bands to use as the stop loss reference (default: Band 4)
TP Target Mode — POC Target / Opposite Band / ATR Multiple
TP ATR Mult — ATR distance for the ATR Multiple TP mode (default: 2.5)
Display
Trailing Stop Heatmap — toggle the gradient opacity fills between bands
Trend Flip Labels — toggle the ▲ ANCHOR BULL / BEAR ▼ ANCHOR labels
Show Dashboard — toggle the full dashboard panel
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for all bullish bands, fills, and labels
Bear / Bear Bright — red family for all bearish elements
Squeeze — orange for squeeze state indicators
Equilibrium — purple for the trend equilibrium line
POC Line — purple for the Point of Control
VAH / VAL Lines — yellow-green and red for value area boundaries
SL Guide / TP Guide — stop and target guide line colors
Bull / Bear Label Text — text color for confluence and flip labels
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (6 total)
Trend Alerts
Anchor Bull Flip — trend has anchored bullish. Band 4 closed above, all bands reset upward. Watch outer band for pullback entry development
Anchor Bear Flip — trend has anchored bearish. Band 4 closed below, all bands reset downward
Entry Alerts
Anchor Long Entry — Band 4 touched from above with confluence confirmed. Long signal fired
Anchor Short Entry — Band 4 touched from below with confluence confirmed. Short signal fired
HVN Confluence Alerts
HVN + Anchor Long Touch — price is touching the anchor band at or near a High Volume Node support zone. Pre-signal awareness alert
HVN + Anchor Short Touch — price is touching the anchor band at or near a High Volume Node resistance zone
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, crypto, and indices on M5–H1 . ANCHOR is uniquely versatile — the volume profile adapts to any trend length and the adaptive scaling handles any volatility regime:
Band Offset at 6.5× — wide enough to avoid noise exits on intraday timeframes while keeping the trail structurally relevant
HTF at 60-minute — provides meaningful context for M5–M15 intraday trading
Delta-Weighted Volume on — directional weighting produces the most institutionally relevant profile on all liquid instruments
Value Area at 70% — the standard institutional value area definition used by professional volume profile traders
Session filter off by default — ANCHOR is designed for continuous multi-session trading on most instruments
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce Band Offset to 4.5–5.5, reduce ATR Length to 10, increase Profile Rows to 20 for faster profile builds
H4 / Daily swing trading — increase Band Offset to 8.0–10.0, set HTF to Weekly, reduce Profile Rows to 15–20 for cleaner node identification, increase TP ATR Mult to 4.0–5.0
Crypto (BTC, ETH) — increase Adaptive Max Scale to 1.25 to accommodate wider expansion swings, increase Band Offset to 7.5–8.5
Low-volatility forex pairs — reduce Band Offset to 5.5–6.0, reduce Adaptive Min Scale to 0.80 for tighter squeeze-phase bands
Tighter signal quality — raise Min Layers to 5/6, enable PD Zone requirement, raise ADX minimum to 22
More frequent signals — lower Min Layers to 3, disable HTF filter, disable PD Zone requirement
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
📈 Trend followers and swing traders — the four-band trailing stop with heatmap visualization is built specifically for riding extended directional moves with structural confidence, not second-guessing every pullback
📊 Volume profile traders — the delta-weighted, trend-anchored profile provides the most contextually relevant volume analysis available for any given trend segment
🥇 Gold (XAUUSD) and forex traders — default settings are tuned for these instruments. The adaptive band scaling handles XAUUSD's distinctive alternation between low-volatility coiling and high-velocity expansion
🎯 Pullback entry traders — ANCHOR is specifically designed to fire at the outer structural boundary of the trend (Band 4) rather than on breakouts or initial moves. Every entry is a pullback-to-structure trade at the institutional trailing stop level
📡 Multi-timeframe traders — the HTF bias filter and trend equilibrium system create a natural multi-timeframe framework within a single indicator
🧠 Traders who want volume context with every entry — the live POC, VAH/VAL, and HVN levels provide immediate institutional volume context for every trade without requiring a separate volume profile tool
🔥 Visual traders — the heatmap, gradient fills, trend flip labels, and volume profile create one of the richest single-indicator chart environments in the AlphaX suite. Everything needed for a complete trend trade is visible on the chart simultaneously
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Band positions and trend state finalize on confirmed bars only
The volume profile is recomputed on every bar using the full trend segment history. On very long trend segments (hundreds of bars), this computation is resource-intensive. The max_bars_back is set to 5000 to accommodate extended trend segments. If you notice performance degradation on very low timeframes with long chart history, reduce Profile Rows or reduce the chart's visible bar count
The volume profile is rendered only on the last bar and redrawn on every real-time update. Historical bars show the band structure but not the profile rendering — the profile always reflects the current trend segment state
When a trend flip occurs, the volume profile resets completely. The first few bars after a flip will show a very short profile with minimal data — meaningful HVN confluence typically requires 15–20+ bars of trend history to develop
The adaptive scale is based on ATR percentrank over 100 bars. On instruments or timeframes with less than 100 bars of history, the percentrank may not be fully calibrated. This is a warm-up effect and resolves naturally as history accumulates
The session filter is off by default because ANCHOR is designed as a multi-session trend system. Unlike scalping systems that are most effective during active hours, ANCHOR band retests can occur at any time during a developing trend. Enable the session filter only if you specifically want to restrict entries to active trading hours on your instrument
The Trade Status section tracks position direction from signal to exit within the chart session — it does not connect to your broker or brokerage account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that the most powerful entries are not at the breakout — they are at the moment price returns to the structural anchor where institutions are waiting. Indicator

Normalized Momentum Trigger SimpleNormalized Momentum Trigger Simple
Normalized Momentum Trigger is a clean momentum and impulse indicator designed to identify directional shifts by measuring how far price is moving away from its average, normalized by recent volatility.
Instead of using raw momentum alone, this indicator standardizes price movement relative to its recent deviation, helping make momentum behavior easier to compare across different symbols and timeframes.
Features:
• Normalized momentum line
• Impulse histogram
• Bullish and bearish trigger levels
• Extreme bull and extreme bear trigger levels
• Multiple moving average basis options:
• SMA
• EMA
• WMA
• RMA
• HMA
• Optional zero-line filter
• Optional momentum slope confirmation
• Optional trend MA filter
• Background bias coloring
• Bull, bear, extreme bull, and extreme bear markers
Alerts Included:
• Bull Trigger
• Bear Trigger
• Extreme Bull Trigger
• Extreme Bear Trigger
• Momentum Crossed Above Zero
• Momentum Crossed Below Zero
Potential use cases:
• Identify momentum shifts
• Spot impulse changes
• Confirm trend continuation
• Filter trade entries
• Detect early changes in directional pressure
• Add confluence to existing systems
Interpretation:
Bull Trigger
Momentum impulse crosses above the bullish threshold.
Bear Trigger
Momentum impulse crosses below the bearish threshold.
Extreme Bull / Bear Trigger
Momentum impulse reaches a stronger threshold, suggesting more aggressive directional movement.
Zero Line
Momentum above zero suggests bullish pressure, while momentum below zero suggests bearish pressure.
Impulse Histogram
Shows the change in normalized momentum and helps visualize acceleration or deceleration.
About TrendGenY Indicator
TrendGenY indicators are built from market experience, creative concepts, and a constant pursuit of unique perspectives. Rather than following conventional ideas, the focus is on uncovering alternative insights and viewing market behavior through different angles to reveal information that traditional tools may overlook and help traders build a more meaningful edge in the market. Indicator

[ A L P H A X ] Pulse ScalperAlphaX Pulse Scalper — 4-Layer Confluence Scalping System with ATR Trailing Exits, Squeeze Momentum Detection & Live Scoring Dashboard
AlphaX Pulse Scalper is a professional-grade multi-confluence scalping system engineered to fire only when four independent technical engines simultaneously agree on direction. Unlike single-indicator systems that generate signals from one source of information, Pulse Scalper runs a live scoring gate across an EMA Ribbon, a Squeeze Momentum engine, a Volume Delta pressure model, and a VWAP Deviation filter — every bar, on every candle. A signal only reaches your chart when at least three of the four layers confirm. The result is a dramatically lower signal count with a dramatically higher average quality per signal. Designed for active scalpers on crypto, forex, gold, and indices across the 1-minute to 15-minute timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The 4-Layer Confluence Engine — How It Works
Most scalping indicators fire from a single calculation — a crossover, a threshold breach, a momentum flip. The problem is that any single calculation is easily fooled by noise, spikes, and choppy price action. AlphaX Pulse Scalper is built on a fundamentally different architecture: four completely independent layers, each measuring a different dimension of market behavior , each casting a vote on every bar. Only when enough votes align does a signal fire.
This is not a filter applied on top of a signal. The confluence is the signal.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Layer 1 — EMA Ribbon (Trend Structure)
The first layer is a triple EMA ribbon using a Fast EMA (default: 8), Slow EMA (default: 21), and Signal EMA (default: 50). This layer answers a single question: is the market in a clean, structured trend right now?
Bull condition: Fast EMA above Slow EMA, Slow EMA above Signal EMA, and price closing above all three — a full stack alignment confirming upward momentum structure.
Bear condition: The full inverse — Fast below Slow below Signal, with price below all three.
Why this matters: The ribbon does not react to a single crossover. All three EMAs must be stacked in order and price must be on the correct side. This eliminates the vast majority of false crossover signals that plague simple dual-EMA systems. The ribbon is also plotted directly on the chart as a gradient-filled channel — bull fills in yellow-green, bear fills in red — giving you immediate structural context at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Layer 2 — Squeeze Momentum (Energy Detection)
The second layer is built on the TTM Squeeze principle — one of the most reliable pre-breakout detection systems in technical analysis. It works by measuring the relationship between two volatility envelopes: Bollinger Bands and Keltner Channels.
Squeeze state: When the Bollinger Bands compress inside the Keltner Channels, the market is coiling — volatility has contracted and energy is building. These periods of compression historically precede the strongest directional moves. The squeeze state is displayed as a subtle orange background tint on the chart, and flagged on the dashboard as ⚡ BUILDING — giving you advance warning that a breakout is loading before it happens.
Momentum direction: The raw momentum value is calculated using a linear regression of price position relative to the midpoint of the recent high-low range. When this value is positive and rising , the squeeze is releasing to the upside. When negative and falling , it is releasing to the downside.
Layer 2 votes bull when: Momentum value is above zero and accelerating upward.
Layer 2 votes bear when: Momentum value is below zero and accelerating downward.
Why this matters: This layer catches the energy behind a move, not just the direction. A breakout with strong squeeze momentum behind it is fundamentally different from a breakout on low momentum — and this layer distinguishes between the two on every bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Layer 3 — Volume Delta (Institutional Pressure)
The third layer is a proprietary volume delta model that estimates the real buying and selling pressure behind each candle — without requiring exchange-level order flow data.
How it works: Each candle's volume is split into bullish and bearish components based on the candle's close position within its high-low range. A candle closing near its high attributes most of its volume to buyers; a candle closing near its low attributes most to sellers. These estimates are smoothed using an EMA to eliminate single-bar noise. A secondary OBV slope (On-Balance Volume) is calculated over the configured lookback and used as an independent confirmation of the dominant pressure direction.
Layer 3 votes bull when: The bull volume EMA exceeds the bear volume EMA, the delta EMA is positive, and the OBV slope is rising — all three volume signals agree on buying pressure.
Layer 3 votes bear when: The full inverse — bear volume dominates, delta EMA is negative, OBV slope is falling.
Why this matters: Price can move in any direction on any bar. Volume delta tells you whether real capital is flowing in the direction of that move. A price breakout accompanied by genuine volume pressure is a high-confidence breakout. A price breakout on weak or opposing volume is a trap. This layer is the system's protection against price manipulation and false breakouts.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 Layer 4 — VWAP Deviation (Institutional Bias)
The fourth layer uses the Volume Weighted Average Price (VWAP) with dynamically calculated standard deviation bands to identify where price stands relative to institutional value.
Band structure: Two band pairs are calculated — ±1σ and ±2σ — using a volume-weighted standard deviation formula applied across the session. These bands represent statistically significant deviations from the session's fair value anchor.
Layer 4 votes bull when: Price is above VWAP (institutional bias is bullish) but has not yet extended beyond the +2σ band — confirming trend direction without chasing a stretched, overextended move.
Layer 4 votes bear when: Price is below VWAP but has not extended beyond the -2σ band.
Why this matters: VWAP is the single most widely watched intraday reference level used by institutional desks, market makers, and algorithms. Price above VWAP means institutions are net buyers for the session. Price below means net sellers. The 2σ filter prevents the system from entering during climactic exhaustion moves — precisely the moments when reversal risk is highest and reward is lowest.
The bands are plotted directly on the chart — VWAP as a purple line, ±1σ as dotted yellow-green and red circles, ±2σ as solid outer boundaries — so you always have the full VWAP context visible alongside your signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The Confluence Gate — Live Scoring System
On every bar, each of the four layers independently casts its vote. The results are tallied into a live confluence score displayed in real time on the dashboard.
Bull score: 0–4 points. One point for each layer voting bullish.
Bear score: 0–4 points. One point for each layer voting bearish.
Signal fires when: The score meets or exceeds the configured minimum (default: 3 of 4), the ADX filter confirms a trending market, and the session filter confirms active market hours.
Score thresholds and what they mean:
4 / 4 — maximum confluence. All four independent engines agree. The highest-conviction setup the system can produce. Enter full size.
3 / 4 — strong confluence. Three of four layers aligned. The default threshold — high quality with reasonable frequency.
2 / 4 — weak confluence. Available if you lower the minimum, but not recommended. Two engines agreeing is not meaningful convergence.
The confluence score is printed directly on the signal label (e.g., 3/4 or 4/4 ) so you know at a glance exactly how strong every setup is at the moment it fires. The dashboard continuously displays the live bull and bear scores — even between signals — so you can watch confidence building in real time before the signal appears.
Edge triggering: Signals only fire on the bar where the score first crosses the threshold — not on every bar the score remains above it. This prevents signal spam during extended trend runs and ensures every triangle on the chart represents a distinct, fresh entry event.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡 ADX Filter — Trend Quality Gate
Before any signal reaches the chart, it must also pass the ADX (Average Directional Index) filter . ADX measures the strength of the current trend regardless of direction — a reading below the threshold indicates a choppy, ranging market where trend-following signals have low reliability.
Default threshold: 20. When ADX is below this level, all signals are suppressed — even if the confluence score is 4/4. This is the system's protection against the single most common failure mode of scalping indicators: firing confidently into sideways, oscillating price action.
The ADX value and pass/fail status are displayed live on the dashboard so you always know whether the market structure supports trading at any given moment.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🕐 Session Filter — Active Hours Gate
The Session Filter restricts signals to a configurable active trading window (default: 07:00–20:00 exchange time). Outside this window, signals are suppressed regardless of confluence score.
Why this matters for scalpers: Low-volume pre-market and post-market hours produce the most misleading signals of any period. Spreads widen, liquidity thins, and momentum moves that look compelling on the chart are frequently reversed the moment the main session opens. The session filter eliminates this entire class of false setups automatically.
The dashboard displays a clear ✓ ACTIVE or ✗ OFF-HOURS status so you always know whether the filter is open or closed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Dynamic ATR Exit System
AlphaX Pulse Scalper uses a fully dynamic ATR-based exit system with three simultaneously active exit mechanisms — each serving a distinct role in protecting profit.
Stop Loss: Fixed at entry based on the pivot low (bull) or pivot high (bear) minus an ATR buffer (default: 1.2× ATR). Displayed as a solid red line below price for longs, above for shorts. This is your maximum risk boundary — it does not move.
TP1 — Partial Target (50%): Set at 1.8× ATR from entry. When price reaches TP1, scale out 50% of the position and let the remainder run to TP2. A small circle marker appears at the TP1 bar.
TP2 — Full Target: Set at 3.5× ATR from entry. When price reaches TP2, the full position exits and the system resets. A labeled TP marker appears on the chart.
ATR Trailing Stop: The most important of the three. From the moment a trade opens, a trailing stop moves dynamically with price — always positioned 1.5× ATR behind the current bar's low (for longs) or high (for shorts). The trail is displayed as a live orange line on the chart. As price advances in your favor, the trail advances with it. If price reverses and hits the trail before reaching TP2, the trade exits at the trail level rather than waiting to give back all gains.
Why the trailing stop changes everything: Fixed TP levels work in textbook trends. In the real market, strong impulses often exceed TP2 before reversing — and weak impulses stall before even reaching TP1. The ATR trailing stop captures whatever the market gives, without predetermining a ceiling on your profit. In strong trending conditions, a single Pulse Scalper signal with an active trail can run 5–10× ATR before stopping out.
All three exit levels — SL, TP1, TP2, and the trailing stop — are plotted as live lines on the chart as long as a trade is active, then cleared automatically when the position closes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state of the indicator across four sections, updated on every bar.
MARKET
Session — ✓ ACTIVE or ✗ OFF-HOURS. Confirms whether the session filter is open for signals
ADX — live ADX value with ✓ or ✗ pass/fail indicator. Confirms whether market structure is trending strongly enough to trade
CONFLUENCE
L1 EMA Ribbon — current ribbon state: ▲ BULL, ▼ BEAR, or — FLAT
L2 Squeeze Momentum — current momentum state: ⚡ SQUEEZE (building), ▲ BULL, ▼ BEAR, or — FLAT. The squeeze state is the highest-value pre-signal condition the system can display
L3 Volume Delta — current volume pressure: ▲ BULL, ▼ BEAR, or — NEUTRAL
L4 VWAP Deviation — current VWAP position: ▲ ABOVE, ▼ BELOW, or — EXTENDED (price beyond 2σ, filter active)
Bull Score — live 0–4 score for bullish confluence. Background turns yellow-green when threshold is met — the signal is ready to fire
Bear Score — live 0–4 score for bearish confluence. Background turns red when threshold is met
POSITION
Position — current tracked position: ▲ LONG, ▼ SHORT, or — FLAT with background color highlight
Stop Loss — the fixed SL level currently active, color-coded red (bull) or green (bear)
Trail Stop — the current trailing stop level in orange — updates dynamically every bar the trade is open
TP1 (50%) — the first take-profit target currently active
TP2 (full) — the full exit target currently active
Bars in Trade — how many bars the current position has been open
INFO
ATR — current ATR value used for all exit calculations
VWAP — current VWAP price level for the session
Squeeze — ⚡ BUILDING when BB is inside KC (squeeze active), or — RELEASED when the squeeze has fired
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Every visual element on the chart serves a specific purpose. There is no decorative clutter.
▲ Triangle (below bar) — bull entry signal. Fires when bull confluence score meets threshold, ADX passes, session is active
▼ Triangle (above bar) — bear entry signal. Fires when bear confluence score meets threshold
Score Label (3/4 or 4/4) — printed beside each signal triangle. The raw confluence count at signal time
EMA Ribbon Fill — yellow-green fill between Fast and Slow EMA during bull structure, red during bear structure. Collapses to gray during neutral
VWAP Line — purple center line marking the session's volume-weighted fair value
VWAP ±1σ Bands — dotted yellow-green and red circles marking the first standard deviation
VWAP ±2σ Bands — solid outer boundaries. Price touching these is the maximum extension zone
Orange Squeeze Background — appears during active squeeze conditions. A visual alert that energy is compressing and a breakout is approaching
Yellow-green background tint — active during open long trades. Confirms trade is live at a glance
Red background tint — active during open short trades
SL Line (red/green) — the fixed stop loss level, active while trade is open
TP1 Line (semi-transparent) — the partial target level
TP2 Line (bright) — the full exit target level
Trail Line (orange) — the dynamic trailing stop, moves with price every bar
TP marker — appears when TP2 is hit. Full exit confirmed
SL marker — appears when stop loss or trailing stop is triggered
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Pulse Scalper — Step by Step
Step 1 — Check the Dashboard Before Every Session
Confirm Session shows ✓ ACTIVE
Confirm ADX shows ✓ — if ADX is below threshold, the market is ranging and no signals will fire regardless of how the layers look
Watch the Squeeze row on the dashboard — ⚡ BUILDING means a breakout setup is forming. This is your highest-alert pre-signal state
Step 2 — Watch the Confluence Scores Build
Monitor the live Bull Score and Bear Score rows in the dashboard. You can watch the scores build in real time, bar by bar, before a signal fires
When a score reaches 3/4 and the background highlights, a signal is imminent or has just fired
A 4/4 score is the highest-quality setup. Prioritize these above all else
Step 3 — Enter on the Signal Triangle
A ▲ triangle below the bar is a long signal. Enter on the close of the signal bar or the open of the next bar
A ▼ triangle above the bar is a short signal. Enter on the same basis
Read the score label — 4/4 signals warrant full position size, 3/4 signals warrant standard or slightly reduced size
Step 4 — Manage with the Live Exit Lines
The SL line is your hard stop. Never move it further away from price
Watch the orange Trail Stop line advance with price as the trade moves in your favor
At TP1, scale out 50% of the position. Move your manual stop to breakeven on the remainder
Let the trailing stop manage the rest — it will exit automatically when momentum exhausts
Step 5 — Exit and Reset
A TP marker on the chart confirms TP2 has been hit. Full exit. Dashboard resets to — FLAT
An SL marker confirms the stop or trail has been hit. Accept the loss and wait for the next setup
After any exit, do not re-enter immediately. Wait for the confluence score to rebuild from zero — this prevents revenge trading into the same noise that stopped you out
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
The system is designed to filter out most low-quality conditions automatically. But understanding what to look for gives you an additional edge.
Stand aside when you see:
ADX ✗ on the dashboard — the market is not trending. Any signal would be a range-bound trade against the system's core design
Dashboard shows — FLAT across all four layers — no layer has a directional conviction. The market has no readable bias
Bull and bear scores both at 1 or 2 — the layers are split. Price is oscillating without commitment in either direction
Session shows ✗ OFF-HOURS — no signals will fire and manual entries carry elevated risk from thin liquidity
Squeeze just released but score is only 2/4 — the squeeze fired but not enough layers confirmed the direction. This is a low-conviction breakout — wait for the next setup
Rapid alternation of ▲ and ▼ triangles — if you see signals in both directions within a short window, the market is too choppy. Increase the ADX threshold in settings or stand aside until a clearer trend develops
What to do:
Wait for the Squeeze dashboard to show ⚡ BUILDING — this is the highest-quality pre-signal state. The best Pulse Scalper setups almost always begin with a squeeze
Wait for ADX to climb back above threshold — a strong trend is forming
Wait for a 4/4 score on the next signal — maximum confluence only, no compromises in a difficult session
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 4-layer confluence gate — EMA Ribbon, Squeeze Momentum, Volume Delta, and VWAP Deviation must agree before any signal fires
📊 Live confluence scoring — bull and bear scores update every bar in real time, displayed on the dashboard before the signal appears
⚡ TTM Squeeze detection — Bollinger/Keltner compression identifies pre-breakout coiling with an orange background tint and dashboard flag
📈 Proprietary volume delta model — estimates buying and selling pressure without exchange-level order flow data, confirmed by OBV slope
📡 VWAP with standard deviation bands — ±1σ and ±2σ plotted live, VWAP filter prevents entries during climactic extension moves
🛡 ADX trend quality gate — suppresses all signals during choppy, non-trending market conditions
🕐 Session filter — restricts signals to active market hours, eliminating low-liquidity false setups automatically
🎯 Triple exit mechanism — fixed ATR stop loss, TP1 at 1.8× ATR, TP2 at 3.5× ATR, plus dynamic ATR trailing stop that advances with price every bar
📉 ATR trailing stop — plotted as a live orange line, adapts dynamically to volatility, captures extended runs beyond TP2 in strong trends
🏷 Confluence score label on every signal — 3/4 or 4/4 printed directly on the chart so you know signal quality at a glance
📊 28-row live dashboard — Market, Confluence, Position, and Info sections updated in real time
🔔 9 alert conditions — bull entry, bear entry, TP1/TP2 hits, stop hits, squeeze start, any exit
🎨 Cohesive dual-tone color theme — yellow-green for all bullish elements, red for all bearish elements, orange for squeeze and trail, gray for neutral
⚙ Fully configurable — all EMA periods, squeeze parameters, VWAP multipliers, ADX threshold, confluence minimum, ATR multipliers, session window, and all colors are adjustable from the settings panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
EMA Ribbon
Fast EMA — the fastest ribbon line, reacts most immediately to price (default: 8)
Slow EMA — the intermediate ribbon line (default: 21)
Signal EMA — the macro trend anchor. All three must stack in order for a ribbon vote (default: 50)
Show EMA Ribbon — toggle the ribbon fill and lines on or off
Squeeze Momentum
BB Length — Bollinger Band lookback period for squeeze detection (default: 20)
BB Mult — Bollinger Band standard deviation multiplier (default: 2.0)
KC Length — Keltner Channel lookback period (default: 20)
KC Mult — Keltner Channel ATR multiplier (default: 1.5)
Momentum Length — linear regression period for the momentum value calculation (default: 12)
Volume Delta
Volume MA Length — EMA smoothing period for bull and bear volume estimates (default: 14)
OBV Slope Length — lookback bars for OBV slope calculation (default: 10)
VWAP
Use VWAP Filter — when enabled, Layer 4 requires price to be on the correct side of VWAP (default: on)
Show VWAP Bands — toggle ±1σ and ±2σ band plots on or off
Band 1 Mult — first standard deviation band multiplier (default: 1.0)
Band 2 Mult — second standard deviation band multiplier (default: 2.0)
Confluence Gate
Min Layers Required — how many of the 4 layers must agree for a signal to fire. 2 = more signals, 3 = balanced (default), 4 = ultra-selective
Session Filter — toggle the active hours restriction on or off
Active Session — configurable session window string (default: 0700-2000)
ADX Filter
Use ADX Filter — toggle the trend quality gate on or off
ADX Length — lookback period for ADX calculation (default: 14)
ADX Minimum — threshold below which all signals are suppressed (default: 20)
Exit Settings
ATR Length — lookback period for ATR used in all exit calculations (default: 10)
SL ATR Mult — stop loss distance from entry as a multiple of ATR (default: 1.2)
TP1 ATR Mult — first take-profit distance (default: 1.8 — approximately 1.5:1 reward on a full position)
TP2 ATR Mult — full exit target distance (default: 3.5 — approximately 3:1 reward)
Use ATR Trailing Stop — toggle the dynamic trailing stop mechanism on or off
Trail ATR Mult — trailing stop distance from current bar's low or high (default: 1.5)
Show Exit Levels — toggle SL, TP1, TP2, and trail lines on the chart
Display
Show Confluence Score Label — prints the live score (e.g. 3/4) on every signal triangle
Show Dashboard — toggle the entire dashboard panel on or off
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for all bullish signals, fills, and labels
Bear / Bear Bright — red family for all bearish signals, fills, and labels
Squeeze — orange used for squeeze background tint and trailing stop line
Neutral — gray for inactive states and neutral dashboard rows
Text Light / Dash BG — dashboard typography and background
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (9 total)
Entry Alerts
Bull Confluence Entry — bull score meets threshold, ADX passes, session active
Bear Confluence Entry — bear score meets threshold, ADX passes, session active
Exit Alerts
Bull TP1 Hit — price reaches the first bull take-profit level
Bull TP2 Hit — price reaches the full bull exit target
Bull Stop Hit — stop loss or trailing stop triggered on a long position
Bear TP1 Hit — price reaches the first bear take-profit level
Bear TP2 Hit — price reaches the full bear exit target
Bear Stop Hit — stop loss or trailing stop triggered on a short position
Special State Alerts
Squeeze Started — Bollinger Bands have compressed inside Keltner Channels. A breakout setup is loading
All alert messages include {{ticker}} and {{interval}} for clean webhook and notification integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M1–M5 :
Min Layers at 3/4 — strong confluence without requiring perfection on every bar
ADX minimum at 20 — filters choppy intraday sessions without being overly restrictive
ATR Trail at 1.5× — gives trades enough room to breathe on fast-moving scalping timeframes
Session 07:00–20:00 — covers London and New York sessions, the highest-volume windows for forex and gold
For other instruments or timeframes, adjust:
Higher timeframes (M15, H1, H4) — increase EMA periods (Fast 13, Slow 34, Signal 89), increase ADX minimum to 25, increase TP2 to 4.5–5.0× ATR
Crypto (BTC, ETH) — increase KC Mult to 2.0–2.5 to accommodate wider volatility, increase SL mult to 1.5–2.0
Indices (NAS100, US30, SPX500) — use defaults with ADX raised to 22–25. Index trends are strong but session timing is critical — tighten session window to 09:30–16:00 for US indices
More signals — lower Min Layers to 2, disable ADX filter, widen session window
Fewer, higher-quality signals — raise Min Layers to 4, raise ADX minimum to 25, enable volume filter with ratio at 1.2×
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
⚡ Scalpers and intraday momentum traders — the 1m–15m timeframe focus and ATR trailing exit system are built specifically for fast-moving intraday conditions
🥇 Gold (XAUUSD) and forex traders — default settings are tuned and tested on gold and major pairs during London and New York sessions
📊 Crypto and index traders — the four-layer architecture adapts across instruments without manual recalibration
🧠 Systematic traders — the live confluence score provides a quantitative signal quality reading, not just a visual arrow
📈 Traders who want to eliminate overtrading — the confluence gate, ADX filter, session filter, and edge triggering physically prevent low-quality setups from appearing on the chart
🎯 Traders who struggle with exits — the three-layer exit system (fixed SL, scaled TP1, trailing TP2) provides a complete, rules-based exit framework that removes emotion from trade management
📉 Risk-conscious traders — every trade has a defined stop, a defined first target, and a dynamic trailing mechanism. There is no ambiguity about where you exit under any scenario
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design
The edge-triggered signal logic means each triangle on the chart represents a distinct new confluence event — the same setup does not generate repeated signals during extended runs
The trailing stop line on the chart is a real-time visual — it moves every bar the trade is open and accurately reflects the current stop level at all times
Maximum 500 labels and 500 lines are used — on very low timeframes with extended chart history, the oldest markers may be automatically removed by PulseWire's rendering limits
The Squeeze background tint is a leading indicator — it appears before signals fire, giving you time to prepare. The strongest Pulse Scalper signals frequently begin with a squeeze
The VWAP calculation resets at the start of each session. On instruments without a defined session (perpetual crypto), the VWAP anchors to the chart's visible history. For best results on crypto, use a 24-hour session string or disable the VWAP filter and use the other three layers
The Trade Status section on the dashboard tracks position direction from signal to exit within a single chart session — it does not connect to your broker or brokerage account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for scalpers who need more than a signal — a complete system that scores, filters, enters, trails, and exits with precision on every trade. Indicator

Pulse Entry Engine🚀 Pulse Entry Engine
Pulse Entry Engine is a free momentum-based entry visualization and decision-support indicator designed to help traders analyze potential entry conditions with a cleaner, more structured, and more visual workflow.
This script combines a Special K-based momentum engine, signal modes, confirmation logic, EMA context, higher-timeframe bias filtering, modern oscillator visualization, signal strength scoring, star-based quality labels, TP/SL projection boxes, active-trade candle coloring, signal-candle background highlighting, compact dashboards, visual themes, and dynamic alerts into one organized PulseWire tool.
The goal of Pulse Entry Engine is not to predict the future or provide guaranteed buy/sell instructions.
Its purpose is to help users visually study:
⚡ momentum expansion
🎯 entry-quality conditions
🧭 directional context
📊 signal strength
📦 projected TP/SL zones
🕯️ active-trade candle behavior
🚨 alert-based monitoring
Pulse Entry Engine should be treated as a structured chart-analysis tool, not as financial advice, not as an automated trading system, and not as a guarantee of profitable results.
━━━━━━━━━━━━━━━━━━━━━━
🔓 PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published as a free educational and visual market-analysis tool.
The description is intentionally detailed because many users do not inspect every part of the Pine Script logic line by line.
The purpose of this page is to explain:
✅ what the script does
✅ how the components work together
✅ what appears on the chart
✅ how signals are filtered
✅ how TP/SL projection works
✅ what the dashboards mean
✅ what the limitations are
✅ how the indicator should and should not be used
Pulse Entry Engine is designed to support structured decision-making.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing momentum, signal quality, context, and projected risk/reward.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Pulse Entry Engine does the following:
1. ⚙️ Calculates a Special K-based momentum engine.
2. 📈 Compares the engine value with its signal line.
3. 📏 Measures the distance between the engine and signal line.
4. 🔥 Classifies stretch conditions as Weak, Normal, Strong, or Extreme.
5. 🎯 Generates LONG / SHORT pulse signals when selected conditions align.
6. 🧠 Provides five different Signal Modes.
7. 🕯️ Supports Bar Close and Live Intrabar confirmation.
8. 📈 Includes an EMA-based context filter.
9. 🧭 Includes a Higher Timeframe Bias Filter.
10. ⭐ Calculates a 0–100 signal score.
11. 📊 Displays a Signal Strength Bar.
12. 🌟 Shows star-based quality labels on the main chart.
13. 🟩 Highlights the exact signal candle with a vertical background.
14. 🕯️ Colors candles only while a projected trade is active.
15. 📦 Displays ATR-based TP/SL projection boxes.
16. 🎯 Tracks TP1, TP2, TP3, and SL visually.
17. 🔒 Blocks new signals while an active projection has not reached TP1.
18. 🔁 Allows replacement logic after TP1/TP2 progress.
19. 🌊 Includes a modern oscillator visual engine.
20. 📊 Includes Neon Histogram as the default oscillator view.
21. 🎨 Includes multiple visual themes.
22. 🖥️ Includes Minimal / Pro / Full display profiles.
23. 📋 Includes a compact main dashboard.
24. 📡 Includes a compact live scanning panel.
25. 🚨 Includes standard and dynamic alert messages.
This makes the script more than a simple oscillator or a basic signal marker.
It is a complete visual entry-analysis framework built around momentum, context, signal quality, and projected trade structure.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind Pulse Entry Engine is simple:
A potential entry should not be judged from one isolated condition.
A single oscillator movement, one candle reaction, one stretched reading, or one signal label is usually not enough by itself.
Market context matters.
For that reason, Pulse Entry Engine combines several layers:
⚡ momentum engine direction
📏 distance and stretch expansion
🧭 zero-line context
📈 EMA context
🕰️ higher-timeframe bias
⭐ score requirement
🎛️ signal mode strictness
🕯️ confirmation timing
📦 TP/SL projection logic
The indicator does not attempt to mark every possible move.
Instead, it attempts to make momentum-based entry conditions easier to read, compare, and review.
The purpose is not to create more signals.
The purpose is to make signals more understandable.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine is not intended to behave like a simple “buy here / sell here” script.
It is built as a structured workflow:
Pulse Engine
→ Distance / Stretch Detection
→ Signal Mode Filtering
→ Zero / EMA Context
→ HTF Bias Confirmation
→ Score Classification
→ Star-Based Signal Label
→ TP/SL Projection
→ Active Trade Visualization
→ Dashboard Review
→ Dynamic Alerts
Each part has a specific role.
⚙️ The Pulse Engine measures momentum behavior.
📏 The distance logic identifies meaningful separation from the signal line.
🎛️ The signal modes adjust strictness.
⭐ The score system summarizes confluence strength.
🧭 The HTF filter adds broader directional context.
📊 The dashboard summarizes current conditions.
🌊 The oscillator visualizes momentum behavior.
📦 The TP/SL boxes provide a projected risk/reward structure.
🚨 The alert system helps monitor signals without constantly watching the chart.
This makes the script a full review environment, not a one-condition signal tool.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
1) ⚡ PULSE ENTRY CORE
Pulse Entry Engine uses a Special K-based calculation as its internal momentum engine.
The engine produces two main values:
• the main momentum engine value
• the signal line
The relationship between these two values forms the foundation of the signal logic.
When the engine moves away from the signal line, the script measures the distance between them.
That distance is then compared to its own recent average distance.
This creates the Distance Ratio.
The Distance Ratio helps the script understand whether the current movement is weak, normal, strong, or extreme compared to recent behavior.
This is important because a raw distance between two lines may not mean much by itself.
A distance becomes more meaningful when it is large compared to the engine’s recent average behavior.
━━━━━━━━━━━━━━━━━━━━━━
📏 DISTANCE / STRETCH LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The script calculates:
📌 current distance between engine and signal line
📌 average distance over the selected lookback
📌 distance ratio
📌 strong stretch threshold
📌 extreme stretch threshold
The stretch state can be:
🟤 Weak
🔵 Normal
🟠 Strong
🟣 Extreme
This stretch state appears in the dashboard.
The stretch logic is one of the most important parts of the signal engine.
A signal generally needs the engine distance to be strong enough according to the selected Signal Mode.
This helps reduce reactions to small, random oscillator movements.
━━━━━━━━━━━━━━━━━━━━━━
🎛️ SIGNAL MODES
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes five Signal Modes.
These modes are not only visual names.
They change internal signal thresholds, score requirements, and filtering behavior.
Available modes:
🔥 Aggressive
⚖️ Balanced
⚡ Scalping
🌊 Swing
🛡️ Funded Account
🔥 Aggressive
Aggressive mode is the earliest and most sensitive profile.
It uses lower stretch requirements and a lower score threshold.
This means it can produce more signals and may react faster to developing momentum conditions.
Useful for:
• testing
• manual confirmation
• fast scanning
• active monitoring
• traders who want more potential setups
Important note:
Because it is more sensitive, it may also produce more noise.
⚖️ Balanced
Balanced mode is the default all-around profile.
It uses the user-defined Distance Multiplier and Extreme Stretch settings.
This mode is designed to provide a stable middle-ground behavior.
Useful for:
• general chart review
• standard intraday analysis
• balanced signal frequency
• users who want neither too many nor too few signals
⚡ Scalping
Scalping mode is designed for lower-timeframe active trading environments.
It is faster than Balanced mode but stricter than Aggressive mode.
Useful for:
• M1
• M3
• M5
• fast intraday scanning
• short-term chart review
Scalping mode should still be used with context, risk control, and independent analysis.
🌊 Swing
Swing mode is more selective.
It requires stronger stretch and a higher score threshold.
EMA and Zero filters are forced on for stricter directional context.
Useful for:
• larger market moves
• higher timeframe review
• slower trading style
• fewer but more filtered signals
🛡️ Funded Account
Funded Account mode is the strictest profile.
It requires the strongest internal confirmation among the available modes.
EMA and Zero filters are forced on.
Useful for:
• fewer signals
• stricter filtering
• drawdown-conscious review
• evaluation-style account discipline
• users who prefer cleaner setups
Important note:
This mode does not guarantee safer trades or profitable outcomes.
It only applies stricter internal filtering.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ SIGNAL CONFIRMATION MODE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes two confirmation modes:
✅ Bar Close
⚡ Live Intrabar
✅ Bar Close
Bar Close mode confirms signals only after the candle closes.
This is the default mode.
It is designed to reduce repaint perception and make signal behavior easier to review historically.
This is generally the cleaner option for alerts and structured review.
⚡ Live Intrabar
Live Intrabar mode allows signals to appear before the candle closes.
This can provide earlier visual feedback.
However, because the candle is still forming, the signal may change before the candle closes.
This mode is faster but less stable than Bar Close confirmation.
━━━━━━━━━━━━━━━━━━━━━━
🧭 ZERO FILTER
━━━━━━━━━━━━━━━━━━━━━━
The Zero Filter uses the oscillator’s zero line as an additional context layer.
In the default logic:
🟢 LONG setups require the engine oscillator to be below zero.
🔴 SHORT setups require the engine oscillator to be above zero.
This creates a reversal-style interpretation.
The idea is that long signals may be more meaningful when the engine is stretched below the zero region, while short signals may be more meaningful when the engine is stretched above the zero region.
Swing and Funded Account modes force this filter on.
━━━━━━━━━━━━━━━━━━━━━━
📈 EMA FILTER
━━━━━━━━━━━━━━━━━━━━━━
The EMA filter adds price-location context.
In this version, the default EMA logic is reversal-oriented:
🟢 LONG setups are allowed when price is below the EMA.
🔴 SHORT setups are allowed when price is above the EMA.
This is not a classic trend-following EMA filter.
It is used to help identify stretched conditions relative to a directional reference.
Swing and Funded Account modes force this filter on.
The dashboard also uses the EMA relationship to display a simple bias state:
🟢 LONG ONLY
🔴 SHORT ONLY
⚪ NEUTRAL
This bias should be treated as context, not as an instruction to trade.
━━━━━━━━━━━━━━━━━━━━━━
🕰️ HTF BIAS FILTER
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a Higher Timeframe Bias Filter.
Available HTF modes:
⚪ Off
📈 EMA 100
📉 EMA 200
⚙️ Engine HTF
⚪ Off
No higher-timeframe filter is used.
📈 EMA 100
The script checks whether higher-timeframe price is above or below the HTF EMA 100.
Above HTF EMA100 = bullish bias.
Below HTF EMA100 = bearish bias.
📉 EMA 200
The script checks whether higher-timeframe price is above or below the HTF EMA 200.
This is a slower and broader macro filter compared to EMA 100.
⚙️ Engine HTF
The script calculates the engine relationship on the selected higher timeframe.
HTF engine above its signal line = bullish bias.
HTF engine below its signal line = bearish bias.
The HTF filter can help reduce signals that conflict with a broader directional context.
The default HTF timeframe is 60 minutes, but users can adjust it.
━━━━━━━━━━━━━━━━━━━━━━
⭐ SIGNAL SCORE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine calculates a 0–100 signal score.
The score is based on internal confluence components such as:
⚡ engine direction
📏 stretch strength
🧭 zero filter alignment
📈 EMA filter alignment
🔥 distance strength
The score appears in the dashboard and is also used internally by the selected Signal Mode.
Important note:
The score is not a win-rate prediction.
A score of 85 does not mean the signal has an 85% chance of winning.
It simply means the internal confluence conditions were stronger according to the script’s scoring model.
━━━━━━━━━━━━━━━━━━━━━━
🌟 STAR-BASED MAIN CHART LABELS
━━━━━━━━━━━━━━━━━━━━━━
On the main chart, Pulse Entry Engine uses star-based quality labels.
This keeps the chart cleaner than showing large score numbers directly on every signal label.
Star system:
⭐⭐⭐⭐⭐ = 96–100
⭐⭐⭐⭐ = 92–95
⭐⭐⭐ = 88–91
⭐⭐ = 84–87
⭐ = 80–83
☆ = below 80
Example labels:
▲ LONG PULSE
⭐⭐⭐⭐
▼ SHORT PULSE
⭐⭐⭐
The dashboard still keeps the full numerical score for users who want more detail.
━━━━━━━━━━━━━━━━━━━━━━
📊 SIGNAL STRENGTH BAR
━━━━━━━━━━━━━━━━━━━━━━
The main dashboard includes a Signal Strength Bar.
Example:
█████ 92
████░ 84
███░░ 73
This gives a quick visual representation of the current score.
The strength bar is not a performance statistic.
It does not represent probability or future outcome.
It only visualizes the current internal signal-quality score.
━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes three full visual themes:
🟢 Dark Emerald
🔵 Aqua Neon
🟣 Royal Purple
🟢 Dark Emerald
A dark professional theme using green, teal, and cyan accents.
🔵 Aqua Neon
A brighter cyber-style theme using blue, cyan, and pink tones.
🟣 Royal Purple
A premium-looking theme using purple and gold-style accents.
The theme affects:
🎨 dashboard colors
📡 live panel colors
🌊 oscillator colors
📊 histogram colors
🏷️ signal labels
📦 TP/SL boxes
🟢 LONG visuals
🔴 SHORT visuals
🕯️ active-trade candle coloring
🟩 signal-candle background
🚨 visual alert feel
Color inputs are intentionally not exposed in the Inputs tab.
The indicator uses internal theme profiles to keep the settings cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🖥️ DISPLAY MODE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes three display profiles:
▫️ Minimal
▪️ Pro
🔳 Full
▫️ Minimal
Minimal mode reduces chart clutter.
It hides many optional visual layers such as dashboards, oscillator dots, gradient zones, pulse backgrounds, and TP level lines.
Useful for clean chart viewing.
▪️ Pro
Pro mode is the balanced default layout.
It uses the user’s individual visibility settings and is designed as the standard V1.0 experience.
🔳 Full
Full mode forces major visual layers on.
Useful for:
🎥 YouTube live streams
📸 screenshots
📚 educational examples
🧪 demonstrations
📊 full feature previews
━━━━━━━━━━━━━━━━━━━━━━
🌊 OSCILLATOR VISUAL ENGINE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes multiple oscillator display styles.
Available oscillator styles:
📊 Neon Histogram
🌊 Modern Pulse Wave
➖ Clean Line Pro
🕯️ Classic HA
🕯️ Classic Candles
Neon Histogram is the default mode in this version.
📊 Neon Histogram
This mode displays the difference between the engine core and signal line as a histogram.
The histogram helps users quickly read momentum expansion and contraction.
Positive and negative histogram areas are colored according to the selected theme.
🌊 Modern Pulse Wave
This mode displays a smooth pulse wave with soft glow layers and a momentum cloud.
It is designed to look clean, modern, and premium.
➖ Clean Line Pro
This mode provides a simpler line-based oscillator view with less visual noise.
🕯️ Classic HA
This mode keeps the previous Heikin Ashi-style synthetic oscillator candle view.
🕯️ Classic Candles
This mode keeps the previous raw synthetic oscillator candle view.
These modes allow users to choose between a modern histogram, a glowing wave, a minimal line, and legacy oscillator candle styles.
━━━━━━━━━━━━━━━━━━━━━━
🌈 OSCILLATOR SIGNAL DOTS
━━━━━━━━━━━━━━━━━━━━━━
The oscillator panel can show LONG and SHORT signal dots.
In modern modes, the dots can include a glow effect:
✨ larger soft outer dot
● smaller sharp inner dot
This makes signal locations easier to identify in the oscillator panel without large text labels.
These oscillator dots are visual markers only.
They are based on the same signal logic as the main chart labels.
━━━━━━━━━━━━━━━━━━━━━━
⚡ EXTREME STRETCH MARKERS
━━━━━━━━━━━━━━━━━━━━━━
The script can display extreme stretch markers when the engine reaches an extreme distance condition.
These markers highlight stretched momentum conditions.
They are not direct trade signals by themselves.
Their purpose is to show that the engine has moved far away from its recent average relationship with the signal line.
━━━━━━━━━━━━━━━━━━━━━━
📦 TP / SL PROJECTION SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a TP/SL projection system on the main price chart.
When a new signal appears, the script can draw:
📦 TP box
📦 SL box
🎯 TP1 line
🎯 TP2 line
🎯 TP3 line
🏷️ result label
The system uses ATR-based risk.
Default risk settings:
📌 SL ATR Multiplier = 2.5
📌 Final TP Risk Reward = 1.5R
TP structure:
TP1 = 25% of final TP distance
TP2 = 50% of final TP distance
TP3 = final TP
The boxes are projected forward by an initial number of bars.
Default:
📌 Initial TP/SL Box Length = 10 bars
If the projected trade remains active longer than the initial length, the box continues extending until TP3, SL, or a valid replacement condition occurs.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TP1 / TP2 / TP3 / SL RESULT LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The TP/SL projection system tracks the projected result visually.
Possible result labels:
🟢 TP1
🟢 TP2
🟢 TP3
🔴 SL
If price reaches TP3, the result is marked as TP3.
If price hits SL before reaching any TP level, the result is marked as SL.
If price reaches TP1 and later returns to SL, the result is marked as TP1.
If price reaches TP2 and later returns to SL, the result is marked as TP2.
This means the system remembers the highest target reached before a stop event.
This makes the visual projection more informative than a simple static TP/SL marker.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-BAR TP/SL HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If TP and SL are both touched on the same candle, there is ambiguity.
The script cannot know the true intrabar sequence unless lower-timeframe reconstruction is used.
For this reason, the script includes a same-bar setting:
If TP and SL Hit Same Bar:
🔴 SL
🟢 TP1
SL is the conservative default.
This allows users to decide how they want same-candle ambiguity to be handled in the visual projection.
━━━━━━━━━━━━━━━━━━━━━━
🔁 ACTIVE TRADE SIGNAL GATE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes an active projection gate.
If a projected trade is active and has not yet reached TP1, the script blocks new signals.
This prevents the chart from stacking multiple new signals before the previous projection has made minimum progress.
If an active projection has already reached TP1 or TP2 and a new signal appears, the old projection can be closed at its highest reached TP level and the new signal can begin.
This keeps the visual trade structure cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ ACTIVE TRADE CANDLE COLORING
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine can color candles while a projected trade is active.
This candle coloring appears only during an active projection.
🟢 During an active LONG projection, candles use the theme long color.
🔴 During an active SHORT projection, candles use the theme short color.
Once the projection closes, candle coloring stops.
This helps users visually identify when the system considers a projected trade to be active.
It is not a separate trading signal.
━━━━━━━━━━━━━━━━━━━━━━
🟩 SIGNAL CANDLE BACKGROUND
━━━━━━━━━━━━━━━━━━━━━━
The script can highlight the exact candle that produced a confirmed signal.
🟢 LONG signal = vertical long-colored background stripe
🔴 SHORT signal = vertical short-colored background stripe
This feature is useful for:
📌 historical review
📌 live chart monitoring
📌 YouTube live streams
📌 educational explanations
📌 quickly locating the original signal candle
━━━━━━━━━━━━━━━━━━━━━━
📋 MAIN DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a compact main dashboard.
The dashboard can display:
🎛️ Signal Mode
🎨 Theme
🧭 Bias
🔥 Stretch state
⭐ Score
📊 Strength
🎯 Signal state
🕯️ Confirmation mode
🕰️ HTF Bias
The dashboard is intentionally compact.
It is not designed to be a large performance table.
Its purpose is to summarize the current engine state and help users understand what the script is currently reading.
Dashboard position and size can be adjusted from the settings.
━━━━━━━━━━━━━━━━━━━━━━
📡 LIVE SCANNING PANEL
━━━━━━━━━━━━━━━━━━━━━━
The script includes a compact Live Scanning panel.
The live panel displays the Pulse Entry Engine live scanning state in a clean visual format.
The lower information row was intentionally removed to keep the chart cleaner.
Users can adjust:
📍 Live Panel Position
🔠 Live Panel Size
● Live blinking status symbol
The live panel is visual only.
It does not affect signal logic.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes both standard alert conditions and dynamic alert messages.
Standard alertcondition alerts include:
🟢 LONG signal
🔴 SHORT signal
⚡ LONG/SHORT signal
🔥 Extreme stretch detected
The script also includes dynamic alert messages using alert().
The dynamic alert message can include:
📌 indicator name and version
📌 signal direction
📌 ticker
📌 timeframe
📌 Signal Mode
📌 Confirmation Mode
📌 HTF Bias
📌 Score
📌 Stretch
📌 ATR risk setting
📌 TP RR setting
Important usage note:
To use the full dynamic alert message, create a PulseWire alert with:
Condition: Pulse Entry Engine
Option: Any alert() function call
The standard alertcondition options can still be used as simpler fallback alerts.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
1. Add Pulse Entry Engine to your chart.
2. Start with the default Pro display mode.
3. Choose a visual theme that fits your chart.
4. Select your Signal Mode.
5. Use Bar Close confirmation for cleaner signal review.
6. Choose whether to enable the HTF Bias Filter.
7. Watch the oscillator histogram for momentum expansion.
8. Review the dashboard for score, stretch, signal state, and HTF bias.
9. When a LONG or SHORT pulse appears, check the star rating.
10. Look at the signal candle background highlight.
11. Review the TP/SL projection box.
12. Observe whether the projection reaches TP1, TP2, TP3, or SL.
13. Use alerts if you want automated signal notifications.
14. Validate the indicator on the specific markets and timeframes you personally study.
The indicator is best used as a structured decision-support tool.
It should not be used as a blind execution system.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
🎯 Signal Logic
Source
Selects the price source used by the Pulse Entry Engine core.
Signal Length 1
Primary engine calculation length.
Signal Length 2
Secondary engine calculation length.
Signal Mode
Selects the main signal preset:
🔥 Aggressive
⚖️ Balanced
⚡ Scalping
🌊 Swing
🛡️ Funded Account
Signal Confirmation Mode
Controls when a signal is allowed to confirm:
✅ Bar Close
⚡ Live Intrabar
Average Distance Length
Lookback length used to calculate average distance between engine and signal line.
Distance Multiplier
Balanced mode stretch threshold.
Extreme Stretch Multiplier
Balanced mode extreme stretch threshold.
Reset When Distance Gets Weak
Allows the internal signal state to reset when distance becomes weak.
Reset Multiplier
Defines how weak the distance must become before reset.
Use Zero Filter
Enables zero-line filtering.
📈 EMA Filter
Use EMA Filter
Enables the EMA context filter.
EMA Length
EMA length used for the filter and dashboard bias.
🧭 HTF Bias Filter
HTF Bias Mode
Available modes:
⚪ Off
📈 EMA 100
📉 EMA 200
⚙️ Engine HTF
HTF Timeframe
Higher timeframe used by the HTF filter.
🎨 Style
Visual Theme
Available themes:
🟢 Dark Emerald
🔵 Aqua Neon
🟣 Royal Purple
Display Mode
Available profiles:
▫️ Minimal
▪️ Pro
🔳 Full
Oscillator Visual Mode
Available styles:
📊 Neon Histogram
🌊 Modern Pulse Wave
➖ Clean Line Pro
🕯️ Classic HA
🕯️ Classic Candles
Show Signal Line
Shows or hides the engine signal line.
Show Momentum Cloud
Shows the oscillator momentum cloud.
Show Zero Zone
Shows the oscillator zero zone.
Zero Zone Width
Controls the width of the zero zone.
Show Gradient Background Zones
Shows subtle oscillator background zones.
Show Extreme Stretch Markers
Shows extreme stretch pulse markers.
Show Oscillator Pulse Glow
Adds glow layers to modern oscillator visuals.
Show Neon Histogram
Controls histogram visibility when Neon Histogram mode is selected.
Show Oscillator Signal Dots
Shows LONG/SHORT dots in the oscillator panel.
Show Main Chart LONG / SHORT Labels
Shows signal labels on the main chart.
Main Chart Label Offset ATR
Controls how far signal labels are placed from price.
Show Main Chart Dashboard
Shows or hides the main dashboard.
Dashboard Position
Controls dashboard location.
Dashboard Size
Controls dashboard text size.
Show Main Chart Live Dashboard
Shows or hides the live scanning panel.
Live Panel Position
Controls live panel location.
Live Panel Size
Controls live panel text size.
Show Signal Pulse Background
Shows a soft background pulse when a signal appears.
Show Signal Candle Background
Highlights the exact signal candle with a vertical background.
Signal Candle Background Transparency
Controls the transparency of the signal candle highlight.
Color Candles During Active Trade
Colors price candles only while a projected trade is active.
Active Trade Candle Transparency
Controls active-trade candle coloring transparency.
Use Live Blinking Status Symbol
Enables the blinking live scanning dot.
Live Symbol Blink Seconds
Controls blink speed.
📦 TP / SL Box System
Show TP / SL Boxes on Main Chart
Enables TP/SL projection boxes.
SL ATR Length
ATR length used for stop-loss calculation.
SL ATR Multiplier
ATR multiplier used for SL distance.
Final TP Risk Reward
Final TP target multiple:
1R
1.5R
2R
3R
4R
5R
Max Stored TP / SL Trades
Maximum historical projection objects kept on chart.
If TP and SL Hit Same Bar
Controls same-bar ambiguity handling.
Show TP1 / TP2 / TP3 Lines
Shows TP level lines inside the projection box.
Initial TP / SL Box Length
Initial forward length of projection boxes.
Show TP / SL Result Label
Shows result labels after projected trade closes.
🛡️ Professional Controls
Max Main Signal Labels
Limits the number of main-chart signal labels to protect PulseWire object limits.
Enable Dynamic Alert Messages
Enables alert() based dynamic alert messages.
Show Version Badge
Shows the V1.0 badge in the visual panels.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine uses familiar concepts such as:
⚡ oscillator momentum
📈 signal lines
🧭 EMA context
🕰️ higher-timeframe filtering
📦 ATR-based risk projection
📊 dashboards
🚨 alerts
These components are not unique by themselves.
The originality of the script lies in how these components are organized into one workflow:
Pulse Engine
→ Stretch Detection
→ Signal Mode Filtering
→ Score Classification
→ HTF Bias Confirmation
→ Modern Oscillator Visualization
→ Star-Based Quality Label
→ TP/SL Projection
→ Active-Trade Candle Coloring
→ Compact Dashboard
→ Dynamic Alerts
This structure is intended to give users a more organized way to review momentum-based entries.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings.
Signal frequency and visual output may change based on:
🎛️ selected Signal Mode
🕯️ confirmation mode
📈 EMA filter setting
🧭 HTF bias mode
🌊 oscillator visual mode
🖥️ display profile
📏 ATR multiplier
🎯 TP RR setting
📊 market
⏱️ timeframe
📉 symbol volatility
📚 available historical bars
A mode that appears cleaner on one symbol may not behave the same way on another.
The TP/SL boxes are visual projections based on the script’s rules.
They are not broker orders.
They do not account for real execution conditions.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
❌ It does not guarantee profitable trades.
❌ It does not predict future price movement.
❌ It does not replace risk management.
❌ It does not execute trades.
❌ It does not place orders.
❌ It does not include broker slippage.
❌ It does not include commissions.
❌ It does not include spreads.
❌ It uses bar-based chart data.
❌ Same-bar TP/SL order is approximated by a user-selected rule.
❌ Live Intrabar mode may change before candle close.
❌ Higher-timeframe filters can lag.
❌ EMA filters can conflict with certain market structures.
❌ Momentum signals can fail in choppy markets.
❌ Strong scores do not guarantee successful outcomes.
❌ TP/SL projections are visual analysis tools, not trade instructions.
❌ Historical visual behavior does not ensure future behavior.
For these reasons, Pulse Entry Engine should be used as an educational decision-support tool, not as a standalone trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
✅ study momentum-based entries
✅ want a structured entry review tool
✅ want a clean visual dashboard
✅ want higher-timeframe context
✅ want ATR-based TP/SL projection
✅ want signal strength scoring
✅ want modern oscillator visuals
✅ want star-based quality labels
✅ want active-trade candle coloring
✅ want dynamic alerts
✅ prefer organized chart-based analysis
✅ want a free visual trading assistant for review and education
It may be less suitable for users who:
❌ want guaranteed buy/sell signals
❌ want a fully automated trading bot
❌ do not want chart visuals
❌ do not use technical analysis
❌ expect one setting to work on every market
❌ want an indicator that replaces their own decision-making
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
✅ Start with Bar Close confirmation.
✅ Start with Balanced or Funded Account mode.
✅ Use HTF Bias only when you want broader directional filtering.
✅ Use Minimal display mode if the chart feels crowded.
✅ Use Full display mode for screenshots, education, and live demonstrations.
✅ Review signals together with market structure.
✅ Avoid treating every label as an automatic trade.
✅ Test the indicator on the specific symbols and timeframes you actually watch.
✅ Combine the tool with your own analysis and risk rules.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability. Indicator

[ A L P H A X ] VertexAlphaX Vertex — Volatility Squeeze Release, HTF Regime, Smart Confluence & Session-Ready Signals
AlphaX Vertex is a Pine Script v6 overlay indicator built around a classic volatility squeeze: Bollinger Bands fully inside Keltner Channels signal a coil in volatility; the first bar of expansion is the release. Vertex layers higher-timeframe regime, directional energy (+DI/−DI and ADX), RSI momentum with an optional hook, optional MACD histogram alignment, and optional volume — then separates hard gates from a compact soft confluence score so filters actually change outcomes. Factory defaults are tuned for responsive intraday work (including spot/CFD XAUUSD on 1-minute); every setting remains fully customizable. Visuals follow the AlphaX palette — yellow-green for bullish continuity, red for bearish, amber squeeze highlights, and a dark compact dashboard — consistent with AlphaX Titan / OMEGA styling.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📸 Visual Overview
AlphaX Vertex on chart — optional squeeze bar tint, triangle markers at confirmed releases with optional V↑ / V↓ score labels (soft score out of 3), optional Bollinger and Keltner plots, and a multi-row VERTEX dashboard showing coil state, HTF regime, bridge check, ADX, DI, RSI, and session gate.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 Squeeze Engine — Coil and Release
The core geometry is the TTM-style relationship between Bollinger Bands and Keltner Channels:
Coil (squeeze ON): The entire Bollinger envelope sits inside the Keltner envelope — volatility has contracted and energy is stored.
Release: The first bar where that condition ends — Bollinger expands outside Keltner again — is the volatility release event ( release_ok ).
Minimum coil length: Vertex counts how many consecutive bars stayed in the coil; releases shorter than Min Squeeze Bars are ignored to reduce one-bar noise (especially important on fast timeframes and symbols with spiky micro-ranges).
Inputs include Bollinger length and standard-deviation multiplier, Keltner length and ATR multiplier, and minimum coil bars. Optional Highlight Squeeze Bars tints bars during the coil; optional Plot BB & Keltner draws both channels for full transparency.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Direction on Release — Keltner Basis Bias
On the release bar, directional bias for long vs short is anchored to the Keltner basis (EMA midline):
Long-side release — price closes at or above the Keltner basis when the coil fires.
Short-side release — price closes at or below the Keltner basis when the coil fires.
This is the same directional cue used in textbook squeeze-plus-basis workflows: expansion plus which side of the midline price reclaims on the signal bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Higher-Timeframe Regime — Hard Gate (No Lookahead)
When Use HTF Regime Filter is enabled, Vertex pulls the selected HTF without lookahead ( barmerge.lookahead_off ) and applies a strict regime test before any long or short can qualify:
Bullish HTF — HTF close is above the HTF EMA and the EMA is sloped upward over your slope lookback.
Bearish HTF — HTF close is below the HTF EMA and the EMA is sloped downward over the same lookback.
Neutral — If neither bull nor bear condition is satisfied, Vertex blocks both directions for that bar (no cherry-picking HTF as a partial score — it is a real veto).
The dashboard shows regime ( BULL / BEAR / NEUTRAL / OFF ), the active HTF string, an HTF filter row ( Allows LONG , Allows SHORT , or Blocks both ), and a Bridge row: Chart < HTF when your chart timeframe is strictly lower than the selected HTF (the intended use case), or Chart >= HTF as a warning that you are not stepping up to a higher timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💪 ADX and +DI / −DI — Hard Gates
When enabled, these are mandatory — not soft “minus one point” filters:
ADX minimum — Optional floor on ADX to avoid signaling releases in dead, non-trending chop.
+DI / −DI bias — Longs require +DI > −DI when the gate is on; shorts require −DI > +DI.
The live dashboard shows ADX value (and whether the gate is off) plus the current DI+ / DI− readout.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 RSI, MACD Histogram, Volume — Soft Confluence (Score / 3)
After all squeeze, session, HTF, ADX, and DI conditions pass for the candidate direction, Vertex scores a separate soft module:
RSI — Configurable length and bull/bear levels; optional RSI Hook demands a crossover or short ramp in the trade direction so momentum is not stale.
MACD histogram — Optional confirm: histogram must agree with direction (or be building in that direction when enabled).
Volume — Optional confirm versus a volume moving average and multiplier; when volume confirm is off , the volume slot still contributes to the soft score as a pass-through so Min Confluence remains intuitive (see tooltips in script).
Min Confluence is the minimum soft score (1–3) required in addition to all hard gates. Raising it tightens entries; lowering it relaxes the model.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🕐 Session Gate (UTC)
Optional London, London/NY overlap, and NY afternoon windows in UTC (same convention style as AlphaX Titan Signal). When disabled, structure is evaluated around the clock; when enabled, signals outside selected windows are blocked.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Markers, Labels, and Execution Timing
Triangles — Small green up-triangles below the bar for qualifying longs; small red down-triangles above for qualifying shorts.
Score labels — Optional V↑ n/3 / V↓ n/3 labels offset by ATR show the soft score on the signal bar.
Shift markers right — Optional 0–3 bar horizontal offset for plotshapes (and aligned labels) e.g. to visualize “next bar” execution while alerts still reference the true signal bar.
Cooldown — Minimum bars between signals to reduce duplicate fires in the same impulse.
Bar-close logic — Conditions use completed bar data (OHLC, pivot-style squeeze state, etc.). The signal bar is the first bar where the full rule set is satisfied; intrabar entries at the open of that bar are not implied by the math.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Live Dashboard (Compact Table)
VERTEX — Brand header row.
Squeeze — COIL vs OPEN (expansion) state.
HTF — BULL / BEAR / NEUTRAL / OFF plus the configured HTF timeframe label.
HTF filter — Which direction the HTF gate currently allows, or whether both are blocked.
Bridge — Whether chart TF is strictly below the HTF or not.
ADX — Live ADX with pass/fail coloring.
DI+/DI− — Directional bias numerically.
RSI — Live RSI reading.
Session — OK or BLOCK when the session gate is used.
Dashboard corner is selectable (Top Right, Top Left, Bottom Right, Bottom Left). Default is Bottom Left to reduce overlap with markers near the right-edge price scale.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 TTM-style squeeze — Bollinger inside Keltner for coil; first expansion bar = release; minimum coil length filter
Keltner basis bias — Long/short qualification tied to close vs EMA midline on the release bar
🌐 HTF regime gate — request.security with no lookahead; bull/bear/neutral with neutral blocking both sides
💪 ADX & +DI/−DI hard gates — Optional but structurally enforced when toggled on
📊 RSI + optional hook — Momentum filter with configurable levels
📉 Optional MACD histogram — Soft-score confirmation
📦 Optional volume — Soft-score vs volume MA
🎯 Soft score /3 — Separate from hard gates; Min Confluence control
🕐 UTC session filter — Optional London / overlap / NY afternoon
⏱ Signal cooldown — Limits back-to-back markers
📋 9-row dashboard — Real-time regime, bridge, ADX, DI, RSI, session
🔔 3 alert conditions — Vertex Long, Vertex Short, raw volatility release (unfiltered)
✅ Non-repainting historical signals — Confirmed bar-close style logic (standard indicator execution)
🎨 AlphaX theme — #A7D129 bull, #E43636 bear, dark table chrome
📌 Pine v6 — Built for PulseWire Pine Script v6
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Squeeze Engine
BB Length — Bollinger period (default 18 in factory XAUUSD M1 preset; full range 5–100)
BB StdDev Mult — band width multiplier
Keltner Length — basis/ATR channel period
Keltner ATR Mult — channel width vs ATR
Min Squeeze Bars — minimum consecutive coil bars before a release counts (default 6 in XAUUSD M1 factory preset)
HTF Regime
Use HTF Regime Filter — master switch for HTF veto
HTF Timeframe — e.g. 15, 60, 240, D (factory default 15 for 1m chart bridging)
HTF EMA Length — regime EMA on that timeframe (factory default 21)
HTF EMA Slope Lookback — bars back on HTF for slope direction (factory default 4)
Direction
DMI / ADX Length — DI and ADX calculation period
Require ADX ≥ Minimum — hard gate toggle
ADX Minimum — threshold when gate is on
Require +DI / −DI Bias — hard gate toggle
RSI Length — momentum oscillator period
Bullish / Bearish RSI Level — directional thresholds
Require RSI Hook — momentum freshness filter
MACD Histogram Confirm — include MACD in soft score when on (12,26,9 MACD)
Volume
Volume Confirm — add volume-vs-MA requirement to soft score when on
Volume MA Length — lookback for average volume
Volume vs MA Mult — spike multiplier
Session
Enable Session Gate (UTC) — master switch
London 08:00–13:00 UTC — sub-window
London/NY Overlap 13:00–17:00 UTC — sub-window
NY Afternoon 17:00–21:00 UTC — sub-window
Signals
Min Confluence (score / 3) — soft-score threshold after all hard gates
Cooldown Bars — spacing between allowed signals
Show Long / Short Markers — plotshape toggles
Show Confluence Score on Marker — V↑ / V↓ labels with n/3
Display
Highlight Squeeze Bars — barcolor tint during coil
Plot BB & Keltner — show both channel sets
Compact Dashboard — table on/off
Dashboard Corner — table anchor
Shift ▲▼ markers right (bars) — plotshape/label offset 0–3
Label Offset (× ATR) — vertical label distance from bar extreme
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Vertex — Step by Step
Step 1 — Confirm squeeze state
Watch the dashboard Squeeze row: COIL means volatility is compressed; you are hunting the OPEN transition to expansion.
Optional: enable BB/Keltner plots to visually verify the envelope relationship.
Step 2 — Align with higher timeframe
If HTF filter is on, require BULL regime for long-only bias and BEAR for short-only bias. NEUTRAL blocks both — stand aside until the HTF clears.
Prefer Bridge: Chart < HTF so the regime is truly higher than your execution chart.
Step 3 — Respect directional energy
With ADX gate on, avoid releases when ADX is below your floor — the move may lack trend strength.
With DI gate on, ensure +DI leads for longs and −DI leads for shorts.
Step 4 — Wait for the scored release
After release and Keltner bias, soft score must meet Min Confluence : RSI hook/levels, optional MACD, optional or pass-through volume slot.
Triangles and optional V↑/V↓ n/3 labels mark the bar where the stacked logic first succeeds together.
Step 5 — Session and repetition control
Apply session filter if you only trade specific liquidity windows.
Use cooldown to avoid over-trading the same expansion cluster on very fast timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
Vertex Long — full long stack: squeeze release, long bias, all active hard gates, soft score ≥ Min Confluence, cooldown respected, single direction resolution if both sides conflict
Vertex Short — full short stack (mirror of long)
Vertex Raw Release — volatility coil ended (expansion began) without the full Vertex filter stack — diagnostic for “something fired” even when regime/momentum vetoes
Alert messages are fixed strings suitable for manual routing; add {{ticker}} and {{interval}} in PulseWire’s alert message editor if your workflow requires them.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🥇 Volatility breakout and squeeze traders — systematic coil → expansion framing
📉 Forex, metals, indices, and liquid CFDs — any symbol where compress-expand behavior matters
⏱ Scalpers through swing traders — parameters and HTF bridge scale with your timeframe choices
🧠 Traders who want explicit hard vs soft logic — regime and trend-energy gates separate from RSI/MACD/volume confluence score
🔔 Alert-driven workflows — filtered long/short plus raw-release diagnostic
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
Vertex is an indicator , not a strategy — it does not place orders; it visualizes conditions and exposes alertconditions.
The squeeze release uses the relationship between completed bar ranges (high/low/close) inside the channel math; treat the marker bar as confirmed at bar close in line with standard Pine indicator behavior.
Raising Min Squeeze Bars reduces false coils on noisy feeds; lowering it increases sensitivity.
Turning MACD Histogram Confirm off and lowering Min Confluence increases signal frequency; tightening HTF, ADX, DI, and session does the opposite.
Neutral HTF regime ( Blocks both ) is intentional — it prevents trading “squeeze only” when higher-timeframe bias is undefined.
The statistical target and Fibonacci extension sections in other AlphaX products are not part of Vertex; Vertex focuses on coil, release, regime, energy, and scored momentum only.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are derived from price and volume data via mathematical rules; profitability is not guaranteed. Past behavior of volatility coils does not guarantee future outcomes. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before trading. The author accepts no responsibility for losses arising from use of this tool.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who want squeeze releases vetted by higher-timeframe bias, trend energy, and a transparent momentum score — AlphaX Vertex: coil, release, confluence.
Indicator

Trend Re-Entry Planner [AGPro Series]Trend Re-Entry Planner
🧠 Core Idea
Is an active trend pullback creating a clean re-entry planning context, or is the reset becoming too risky?
📌 Overview / What it does
Trend Re-Entry Planner is a chart-first trend continuation planning tool designed to evaluate pullbacks inside an active trend structure. The default profile is tuned for 1H charts, where re-entry pockets, trigger candles, invalidation edges, and target-room context usually remain more readable.
The script builds a re-entry pocket from the current impulse range, scores the quality of the pullback, maps a trend defense line, shows an invalidation edge, and estimates target-room context. The goal is to help users judge whether a pullback is becoming organized enough for review or whether the trend context should be rebuilt.
It does not predict price, automate entries, or turn every pullback into a signal. It is a rule-based planning framework for evaluating trend re-entry structure.
🎯 Purpose & Design Philosophy
This script was built for traders who already track trend continuation but want a cleaner way to decide whether a pullback is worth attention.
Many trend tools show direction. Many pullback tools mark a reaction. This script focuses on the planning layer between those two ideas: trend side, pullback depth, reset quality, trigger behavior, target room, risk edge, and next action.
The design supports a disciplined workflow: evaluate context first, then decide whether the setup is ready, confirmed, invalidated, or still waiting.
⚡ Why This Script Is Different
Most tools focus on trend direction, moving average crosses, or broad pullback labels.
This script does NOT clone SuperTrend pullback grading, generic trend continuation signals, or low-volume pullback zones.
Instead, it uses an EMA trend stack and impulse-based re-entry pocket to build a planning view around the current pullback. The output is not just a marker. It is a decision panel with a 0-100 re-entry score, pullback depth, risk edge, target-room context, and next-action state.
⚙️ Methodology
1. Context Detection
The script identifies active bullish or bearish trend structure using an EMA stack and directional slope.
2. Reference Mapping
It maps the current impulse range and builds a concept-native re-entry pocket from that range.
3. Reaction Evaluation
The engine scores trend slope, pullback depth, reset quality near the mid EMA, trigger candle behavior, and target-room availability.
4. Visual Output
The script displays the re-entry pocket, invalidation edge, target-room guide, event labels, sparse context labels, and a premium AG Pro planning panel.
🗺️ How to Read the Chart
Zones = the re-entry pocket and target-room area used for planning context.
Labels = READY, CONFIRMED, INVALIDATED, FOLLOW-THROUGH, and sparse context states.
Colors = teal for bullish continuation context, pink for bearish or invalidation context, yellow for watch/review states, and indigo for target-room or follow-through emphasis.
Panel = the compact decision dashboard showing trend side, re-entry score, pullback depth, risk edge, and action.
🚦 Signals & States
• WATCH → the pullback is developing but still needs confirmation or cleaner structure.
• READY → the re-entry context has enough quality for closer review.
• CONFIRMED → a qualifying trigger candle appears after the pullback context improves.
• FOLLOW-THROUGH → the confirmed context produces a stronger continuation marker.
• INVALIDATED → price crosses the active invalidation edge and the plan should be rebuilt.
🔔 Alerts Logic
Alerts trigger when the script detects READY, CONFIRMED, INVALIDATED, or FOLLOW-THROUGH states.
Each alert is an attention marker tied to the rule-based state engine. Alerts are not trade instructions and do not guarantee that continuation will occur.
🧩 Confluence Logic
The context becomes stronger when trend slope, pullback depth, mid-EMA reset quality, trigger candle behavior, and target-room availability align.
The script intentionally requires multiple conditions instead of labeling every trend pullback as meaningful.
📊 When to Use
• 1H charts with active directional structure
• Directional markets with clear trend structure
• Pullbacks after a visible impulse move
• Continuation review workflows
• Trend-following plans where risk edge and target room matter
⚠️ When NOT to Use
• Low-liquidity symbols with unreliable price movement
• Extremely choppy markets with frequent trend-stack flips
• News-driven volatility where pullback structure changes too quickly
• Markets where the active impulse range is stale or unclear
🎛️ Key Inputs
• Sensitivity → adjusts how selective the re-entry score model is.
• Planning Profile → keeps the default behavior tuned for hourly re-entry planning or allows manual/higher-timeframe adjustment.
• Impulse Lookback → controls the range used to build the re-entry pocket.
• Re-Entry Depth settings → define the shallow, ideal, and deep areas of the pocket.
• Thresholds → control WATCH, READY, and CONFIRMED state requirements.
• Visual settings → control zones, EMA stack, labels, panel theme, panel location, and font sizes.
🖥️ Interface & Visual Design
The interface is built around a clean AG Pro panel and chart-first planning visuals.
The re-entry pocket and target-room guide are intentionally restrained so price remains readable. Labels are limited and spaced to keep the chart informative without becoming crowded.
The first panel row uses the standard AGPro merged blue header format.
🧪 Practical Usage Workflow
1. Read the panel to identify trend side and current action.
2. Check whether price is interacting with the re-entry pocket.
3. Evaluate the score, pullback depth, and risk edge.
4. Wait for READY or CONFIRMED state before treating the context as review-worthy.
5. Rebuild the plan if the invalidation edge is crossed.
🔍 Interpretation Guidelines
Think in terms of planning quality, not certainty.
A higher score means the current pullback has more constructive re-entry characteristics according to the script's rule set. A lower score means the pullback is less organized, has poor target room, lacks a clear trigger, or has moved too close to invalidation.
Use the script as a structure-reading tool within broader market context.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not an auto-trading system
• Not guaranteed signals
• Not a SuperTrend pullback clone
• Not a generic support/resistance zone map
⚠️ Limitations & Transparency
The script is rule-based and depends on visible chart data.
Timeframe differences, volatility shifts, low liquidity, and sudden news events can change how re-entry structure appears.
The score reflects the internal model only. It does not know future order flow, future liquidity, or future market intent.
🧠 Market Context Notes
Trend re-entry quality is usually clearer when a market has directional structure, a readable impulse, and enough room before nearby obstacles.
When a trend is mature, overly extended, or choppy, the same pullback behavior may carry less useful information.
🧾 Use Case Examples
When price pulls into the re-entry pocket during a bullish EMA stack and then prints a constructive trigger candle, the script may shift from WATCH to READY or CONFIRMED.
When price crosses the invalidation edge, the script marks the context as INVALIDATED so the user can rebuild the plan instead of forcing the old structure.
🧱 System Philosophy
AGPro planning tools are designed to turn chart structure into a clearer decision workflow.
This script follows that philosophy by focusing on context, readiness, risk edge, and next action rather than simple signal output.
🔐 Non-Promise Statement
No script can guarantee continuation, reversal, profit, or accuracy.
This tool provides structured context only. Users should combine it with their own analysis, timeframe review, and risk management process.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, position sizing, trade management, and risk control.
This script does not provide financial advice and does not guarantee trading outcomes.
📚 Educational Note
Trend Re-Entry Planner is intended to help users study how pullbacks behave inside active trend structure and how planning context can be organized more clearly.
Indicator

Entry Timing Quality [AGPro Series]Entry Timing Quality
🧠 Core Idea
Is the current setup timing early, improving, in-window, late, or already exhausted?
📌 Overview / What it does
Entry Timing Quality is a chart-first execution timing tool built to evaluate when a setup deserves attention from a timing perspective.
The script produces a 0-100 Timing Score, a timing window, an invalidation rail, target-side room context, early / improving / prime / late / exhausted state labels, a momentum clock marker, alert conditions, and a clean AGPro panel.
It does not predict price direction, automate execution, print directional commands, or replace a trader's own setup model. Its purpose is to organize timing quality after a setup thesis already exists.
🎯 Purpose & Design Philosophy
This script was built for traders who already see a possible setup but need a cleaner way to judge whether the timing is too early, becoming actionable, already extended, or no longer fresh.
The gap it fills is specific: many tools show entries, signals, levels, or broad readiness states, but they do not isolate the timing phase of a setup.
The design supports a disciplined execution-review mindset: timing first, risk context second, action only after independent confirmation.
⚡ Why This Script Is Different
Most tools focus on printing entries, highlighting generic signals, or building full trade plans.
This script does NOT act as a full Entry Execution Readiness system, Position Planner, Reward Room Analyzer, or directional signal indicator.
Instead, it answers a narrower timing question: is the setup still early, improving into a better timing window, in a prime timing phase, late, exhausted, or structurally invalidated?
⚙️ Methodology
1. Context Detection
The script detects the active timing side automatically from trend structure, or lets the user force long-side or short-side timing review.
2. Reference Mapping
It maps a timing window around the active trigger reference, an invalidation rail from recent structure, a late timing rail, and target-side reference room.
3. Reaction Evaluation
The model scores trigger proximity, candle efficiency, pullback maturity, momentum reset, volatility expansion, risk distance, and target-side room.
4. Visual Output
The chart displays the active timing window, target-side room context, invalidation rail, late timing rail, momentum clock marker, event labels, alerts, and the AGPro panel.
🗺️ How to Read the Chart
Zones = the timing window and target-side room context.
Invalidation rail = the structural level that weakens or resets the current timing read.
Late timing rail = the area where timing may become extended rather than fresh.
Labels = compact markers for Early, Improving, Prime, Late, Exhausted, and Invalidated states.
Colors = teal for stronger long-side timing context, pink for short-side or invalidation context, amber for early or late caution, and indigo for improving timing.
Panel = the fast decision cockpit showing Timing Score, Window State, Momentum Phase, Risk Distance, and Action.
🚦 Signals & States
• PRIME -> timing score and confirmation conditions align inside or near the active timing window.
• IMPROVING -> timing is building but has not reached the Prime threshold.
• EARLY -> the setup exists, but timing still needs cleaner proximity, reset, or candle quality.
• LATE -> price has stretched away from the timing window and may be less fresh.
• EXHAUSTED -> extension, pullback damage, or momentum heat suggests the timing phase needs reset.
• INVALIDATED -> price closed beyond the structural invalidation rail.
🔔 Alerts Logic
Prime Timing alerts trigger when the state upgrades into Prime Timing.
Improving Timing alerts trigger when the setup moves into an active monitoring state.
Late / Exhausted alerts trigger when the timing phase becomes stretched or no longer fresh.
Invalidation alerts trigger when price closes beyond the active invalidation rail.
Alerts are attention markers. They are not trading instructions.
🧩 Confluence Logic
Timing quality improves when trigger proximity, candle efficiency, pullback maturity, momentum reset, stable volatility, trend support, and target-side room align.
The score is intentionally multi-factor so a single candle or a single trend condition cannot dominate the timing read.
📊 When to Use
• Pullback timing reviews
• Trend continuation setups that need timing discipline
• Breakout continuation setups after a reset
• Execution-review workflows where a setup thesis already exists
• Charts where the user wants to avoid chasing late movement
⚠️ When NOT to Use
• Very low-liquidity symbols
• Extremely noisy sideways markets
• News-shock volatility spikes
• Charts where no independent setup thesis exists
• Situations where exact broker-level execution rules are required
🎛️ Key Inputs
• Timing Side -> Auto, Long Timing, or Short Timing review mode.
• Sensitivity -> adjusts how early or selective the timing model becomes.
• Timing Lookback -> affects structure references, pullback maturity, risk distance, and target-side room.
• Minimum Prime Timing Score -> sets the threshold required for Prime Timing.
• Confirmation Mode -> controls how much candle, trend, and momentum confirmation is required.
• Label Cooldown / Max Visible Labels -> controls label density and chart cleanliness.
• Visual settings -> control timing window, momentum clock marker, label offsets, and font sizes.
• Panel settings -> control panel visibility, location, theme, and font size.
🖥️ Interface & Visual Design
The panel follows the AGPro public-release standard with one merged blue header row containing only the script name.
The chart is designed to feel active but not crowded. It uses one timing window, one invalidation rail, one late rail, target-side room context, a compact momentum clock marker, and controlled event labels.
Label and panel font sizes are adjustable, with Normal as the default.
🧪 Practical Usage Workflow
1. Read the panel Timing Score and Window State.
2. Check whether price is inside, near, late beyond, or away from the timing window.
3. Review the Momentum Phase to see whether timing is resetting, expanding, hot, or cooling.
4. Compare Risk Distance with target-side room context.
5. Treat Prime Timing as a review state, not as an automatic execution command.
🔍 Interpretation Guidelines
A high Timing Score means the modeled timing conditions are cleaner than usual according to the script's rules.
An Improving state can be useful because it shows timing is building but not yet fully aligned.
A Late or Exhausted state does not mean price must reverse. It means the timing read is no longer fresh and should be reviewed with extra caution.
The best interpretation comes from reading score, state, momentum phase, risk distance, and invalidation together.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a full position-sizing planner
• Not a directional command system
• Not a full reward-room or target-planning tool
⚠️ Limitations & Transparency
The model is rule-based and depends on recent structure, ATR, moving-average context, candle behavior, and RSI-based momentum reset.
Different timeframes can produce different timing windows and invalidation rails.
Fast volatility expansion can move a setup from Improving to Late quickly.
No rule-based tool can know future price behavior, order-book conditions, spreads, or a user's execution plan.
🧠 Market Context Notes
Timing is most useful when read together with broader market structure, liquidity, trend condition, volatility, and session context.
A setup can have good direction but poor timing.
A setup can also have a clean timing window but poor broader context.
🧾 Use Case Examples
When price pulls back near the timing window, momentum resets, candle quality improves, and risk distance remains controlled, the state may move from Early to Improving or Prime.
When price stretches far beyond the late rail while momentum becomes hot, the script may mark Late or Exhausted rather than encouraging the user to chase.
When price closes beyond the invalidation rail, the active timing read is marked as Invalidated.
🧱 System Philosophy
AGPro tools are designed to convert visible chart information into structured decision context.
This script follows that philosophy by separating timing quality from generic signals, full trade planning, or prediction language.
🔐 Non-Promise Statement
No script can provide certainty.
No timing score can guarantee a future outcome.
This tool organizes visible timing conditions so users can perform a more structured review.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, execution, risk management, and decisions.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Use the script to study how timing improves, becomes prime, stretches late, exhausts, or invalidates around a structured execution window.
Indicator

Entry Execution Readiness [AGPro Series]Entry Execution Readiness
🧠 Core Idea
Is this setup ready for execution attention now, or should it remain on watch?
📌 Overview / What it does
Entry Execution Readiness is a chart-first decision engine built to evaluate whether an active setup has enough structure, risk quality, and target room to deserve execution attention.
The script produces a 0-100 Readiness Score, a clear entry state, an entry pocket, an invalidation rail, a target-room band, premium state labels, and a compact AGPro panel. It is designed to organize setup quality, not to predict price or automate execution.
It does not publish buy or sell commands. It does not replace a trader's own execution model. Its purpose is to turn observable setup conditions into a cleaner readiness map.
🎯 Purpose & Design Philosophy
This script was built for traders who already see a potential setup but need a disciplined way to decide whether the setup is clean enough to keep under execution review.
The gap it fills is practical: many tools identify signals, levels, or zones, but they do not answer whether the setup has acceptable risk distance, enough target room, suitable volatility, and directional confirmation at the same time.
The design philosophy is simple: execution should be reviewed through readiness, not excitement.
⚡ Why This Script Is Different
Most tools focus on printing a signal or highlighting a level.
This script does NOT act as a full Position Planner, position sizing model, signal service, or trade automation system.
Instead, it evaluates execution readiness through a compact decision layer: trend alignment, candle efficiency, distance to invalidation, target-room quality, and volatility fit are compressed into one transparent score and one clear next-action state.
⚙️ Methodology
1. Context Detection
The script detects the active setup side automatically, or lets the user force a long-bias or short-bias readiness view.
2. Reference Mapping
It maps an entry pocket around the active trend reference, builds an invalidation rail from recent structure, and projects target room from nearby structure or ATR-adjusted continuation space.
3. Reaction Evaluation
It scores trend alignment, candle efficiency, risk distance, reward room, and volatility fit from 0 to 100.
4. Visual Output
The chart displays the readiness state through zones, labels, alerts, and a premium AGPro panel with the key decision fields.
🗺️ How to Read the Chart
Zones = the active entry pocket and target-room band.
Invalidation rail = the structural level that would weaken or reset the current setup context.
Labels = the current readiness state, score tier, and risk context.
Colors = teal for stronger long-readiness contexts, pink for bearish or invalidation contexts, amber for waiting states, and indigo for monitoring/transition states.
Panel = the fastest summary of score, state, risk distance, target room, and next action.
🚦 Signals & States
• READY → the setup meets the score threshold and confirmation filter.
• MONITOR → the setup is improving but still needs cleaner confirmation or score strength.
• WAIT → the setup exists, but risk, target room, or confirmation is not yet strong enough.
• BLOCKED → the current context does not offer a clean execution-readiness profile.
• INVALIDATED → price closed beyond the active invalidation rail.
🔔 Alerts Logic
READY alerts trigger when the state upgrades into READY.
Downgrade alerts trigger when the active setup weakens from a stronger state.
Invalidation alerts trigger when price closes beyond the current invalidation rail.
Confirmation alerts trigger when score and confirmation improve together near the READY threshold.
Alerts are attention markers. They are not trade instructions.
🧩 Confluence Logic
The setup becomes stronger when directional trend alignment, candle quality, controlled invalidation distance, acceptable volatility, and clean target room improve at the same time.
The score is intentionally multi-factor so a single strong candle or a single clean level cannot dominate the full readiness view.
📊 When to Use
• Trend continuation setups
• Pullback-to-reference execution reviews
• Breakout continuation contexts with enough target room
• Active trade-planning workflows where the trader already has a directional thesis
• Intraday or swing charts where risk and target room need to be evaluated quickly
• 4-hour swing/execution review charts where the active pocket, invalidation rail, and target room can be read without excessive label compression
⚠️ When NOT to Use
• Very low liquidity markets
• Extremely noisy sideways conditions
• News-driven volatility spikes
• Charts where the user has no independent setup thesis
• Markets with poor execution conditions, wide spreads, or unreliable fills
🎛️ Key Inputs
• Setup Direction → Auto, Long Bias, or Short Bias readiness mode.
• Sensitivity → controls how selective the model is.
• Structure Lookback → affects structure, risk rail, target room, and volatility context.
• Minimum READY Score → defines the threshold required for READY state.
• Confirmation Mode → controls how much candle and trend confirmation is required.
• Label Cooldown / Max Visible Labels → controls label density.
• Panel Location / Panel Theme / Font Sizes → controls visual presentation.
🖥️ Interface & Visual Design
The interface is built around a clean premium overlay.
The panel uses the AGPro standard single merged blue header row and summarizes only the most decision-relevant fields.
The chart visuals are deliberately limited to the current entry pocket, invalidation rail, target room, and moderate state labels so the script remains readable in publication screenshots.
🧪 Practical Usage Workflow
1. Read the panel state and Readiness Score.
2. Check whether price is interacting cleanly with the entry pocket.
3. Review the invalidation rail and risk distance.
4. Compare the target-room band against the current risk.
5. Treat READY as a review state, not as an automatic execution command.
🔍 Interpretation Guidelines
Think of the output as a readiness filter.
A high score means the modeled conditions are aligned more cleanly than usual. It does not mean the setup will work.
A WAIT or MONITOR state can still be useful because it shows what part of the setup is not yet ready.
An INVALIDATED state means the current setup context should be reset or reviewed again from a fresh structure.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a full position-sizing planner
• Not a buy/sell command system
⚠️ Limitations & Transparency
Timeframe differences can change how structure, volatility, and target room appear.
Volatility expansion or contraction can make the readiness state change quickly.
Market conditions can shift faster than any rule-based chart tool can summarize.
The model is transparent and deterministic, but it cannot know future price behavior.
🧠 Market Context Notes
Entry readiness is most useful when it is read together with liquidity, structure, session context, and broader volatility conditions.
The script is strongest when the trader already has a setup thesis and needs a cleaner way to review whether execution conditions are improving or weakening.
🧾 Use Case Examples
When price pulls back toward the entry pocket, trend alignment remains intact, risk distance stays controlled, and target room remains clean, the setup may upgrade into MONITOR or READY.
When price stretches too far from the pocket or target room becomes too thin relative to invalidation distance, the score can weaken even if direction still looks attractive.
When price closes beyond the invalidation rail, the active setup context is marked as INVALIDATED.
🧱 System Philosophy
AGPro tools are designed to support structured chart reading, decision clarity, and rule-based interpretation.
This script follows that philosophy by focusing on execution readiness instead of generic signals.
🔐 Non-Promise Statement
No script can provide certainty.
No score can guarantee a future outcome.
This tool organizes visible chart conditions so the user can make a more structured review.
📉 Risk Disclosure
Trading involves risk. Market movement can be unpredictable, and any setup can fail.
Users are responsible for their own analysis, execution, risk management, and decisions.
This script does not provide financial advice, investment advice, or guaranteed trading outcomes.
📚 Educational Note
Use the script as a structured decision-support layer. The strongest benefit comes from reviewing why the state is READY, WAIT, MONITOR, BLOCKED, or INVALIDATED rather than treating any single label as a standalone answer.
Indicator

Setup Quality Scorecard [AGPro Series]Setup Quality Scorecard
Setup Quality Scorecard grades every bar on a transparent 0-100 scale across ten independent confluence dimensions. Instead of another signal generator, it is a quality filter: it tells you how strong the current setup is, which factors are firing, and how often similar past setups have followed through. Works on any symbol, any timeframe.
🔹 OVERVIEW
Every trader has the same question before pulling the trigger: "Is this setup actually good, or am I forcing it?" Setup Quality Scorecard answers that question with a single auditable number. The composite score blends ten orthogonal factors — trend, momentum, volume, volatility, structure, S/R proximity, divergence, candle quality, session context, and higher-timeframe alignment — into a weighted 0-100 quality rating. Bars scoring above the A-Tier threshold are marked with support/resistance-style zones on the chart, so high-quality setup regions stay visible even as the market moves on.
🔹 UNIQUE EDGE
Most quality indicators hide their internals behind a black-box algorithm. This one is fully transparent. Every factor exposes its own 0-10 score in the panel, every factor weight is user-adjustable, and every historical signal is evaluated against a forward-looking hit-rate test. There are no secret filters, no proprietary confidence bands, and no cherry-picked backtest. If a setup scores 87, you can see exactly which factors contributed and which did not.
🔹 METHODOLOGY
Each of the ten factors is computed independently on the current bar and normalized to a 0-10 scale:
1. Trend Alignment — EMA 20/50/200 stack plus slope confirmation
2. Momentum — RSI zone position combined with 3-bar RSI delta
3. Volume Context — relative volume versus 20-period SMA, calibrated for real-world distribution
4. Volatility Regime — ATR percentile over the last 100 bars, favoring mid-range regimes
5. Structure — HH/HL or LH/LL confirmation via recent pivots
6. S/R Proximity — ATR-normalized distance to the nearest pivot level
7. Divergence — price-versus-RSI regular divergence captured at pivot time
8. Candle Quality — body-to-range ratio and wick balance
9. Session Context — active trading session weighting (London/NY overlap prioritized)
10. HTF Agreement — graduated higher-timeframe alignment scoring (full stack, partial stack, opposed regimes)
The ten factor scores are weighted by user-adjustable coefficients, summed, and normalized to produce the final 0-100 composite. Tier labels (S / A / B / C / D) are assigned against user-configurable thresholds.
🔹 SIGNALS AND ALERTS
When a bar crosses into A-Tier or higher, a zone is drawn using support/resistance-style geometry (body plus a small ATR cushion). Zones merge automatically when adjacent qualifying setups share the same directional bias, preventing chart clutter. Each zone is labeled with its tier and score in compact A·83 format, with a dotted leader line connecting the label to the zone edge.
Four built-in alert conditions are exposed:
- S-Tier Setup Detected (score crosses the S-Tier threshold)
- A-Tier Setup Detected (score crosses the A-Tier threshold)
- New Bullish Quality Setup (first A-tier bullish bar in a run)
- New Bearish Quality Setup (first A-tier bearish bar in a run)
🔹 KEY INPUTS
- General: Higher timeframe reference, rolling history window, forward evaluation bars
- Thresholds: S / A / B / C tier cutoffs, fully adjustable
- Factor Weights: ten independent sliders, 0.0 to 2.0, tune the scorer to your style
- Zones: adaptive extend (auto or manual), merge window, max height cap in ATR units, maximum age
- Labels: on-chart label mode (A-Tier only, S-Tier only, off), size presets
- Panel: position, size, factor breakdown toggle
🔹 HOW TO USE
Start with defaults and observe for a full session on your chart. Trend traders should raise the Trend and HTF Align weights. Reversal traders should raise Divergence, Structure, and S/R Proximity. Use the Active count in the panel as a quick filter: fewer than three factors above seven generally means a weak setup regardless of composite score. Use the hit-rate number to sanity-check whether your current configuration is performing on this asset and timeframe — if it is below 50 percent on a large sample, revisit your weight assignments.
🔹 LIMITATIONS AND TRANSPARENCY
The hit-rate metric is backward-looking. It measures how often past A-tier signals produced a one-ATR directional move within the next N bars. It is not a forecast of future performance. A hit rate with fewer than twenty signals is flagged with an info marker because the sample size is not yet statistically meaningful. Factor definitions are static — they do not adapt to regime changes automatically. Session weighting assumes standard crypto and equity session times in UTC; adjust if you are trading exotic hours. The script uses pivot-based structure, which lags by the pivot length on the right edge of the chart (a standard trade-off for noise suppression).
🔹 RISK DISCLOSURE
This indicator is an analytical tool, not financial advice. It does not predict future price movements. A high quality score does not guarantee a winning trade. Past performance of any displayed signal does not indicate future results. Always use proper risk management and position sizing. Never trade with capital you cannot afford to lose. Indicator

[ A L P H A X ] Prism Price Action Institutional FlowAlphaX Prism — Price Action × Key Levels × Institutional Flow | Confluence Engine, Smart Entry/Exit Signals & Multi-Factor Confidence Scoring
AlphaX Prism is a professional-grade price action and confluence trading system that fuses three powerful analytical dimensions into a single, cohesive overlay indicator: automatic Key Level detection, real-time Price Action pattern recognition, and Institutional Footprint tracking. Every signal is governed by a 10-factor confluence scoring engine and a weighted confidence percentage system — so only high-quality, structurally valid setups reach your chart. Designed for traders who want clean, context-aware signals rooted in market structure rather than lagging oscillators.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Three Pillars of AlphaX Prism
AlphaX Prism operates across three simultaneous analytical layers, each feeding into the central confluence engine:
I. Key Level Engine — Automatic Support & Resistance Detection
The Key Level engine automatically identifies, tracks, and manages the most significant support and resistance zones on your chart using swing pivot detection. Rather than drawing static lines, AlphaX Prism builds intelligent zones that evolve as price interacts with them.
How the Key Level engine works:
Swing Pivot Detection — identifies significant highs and lows using a configurable swing length parameter
Zone Merging — nearby levels within a configurable ATR-based threshold are merged into a single consolidated zone, preventing level clutter
Touch Counting — each zone tracks how many times price has interacted with it. Zones below the minimum touch threshold appear in neutral gray; confirmed zones flip to color-coded support (yellow-green) or resistance (red)
Zone Age Management — zones older than a configurable bar count are automatically retired and removed, keeping your chart focused on relevant levels only
Dynamic Extension — all zones and lines extend to the right edge of the chart in real time
Key Level signals feed directly into the confluence engine and generate specific condition flags:
Price at Support — price is currently trading within a confirmed support zone
Price at Resistance — price is currently trading within a confirmed resistance zone
Bounce from Support — price touched support and closed bullish with a meaningful body — the highest-value condition for long setups
Rejection from Resistance — price touched resistance and closed bearish with a meaningful body — the highest-value condition for short setups
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
II. Price Action Pattern Engine — What the Candles Are Saying
AlphaX Prism recognizes five core price action patterns in real time, each validated with additional filters to reduce false triggers:
Bullish / Bearish Engulfing
A bullish candle that fully engulfs the prior bearish candle (or vice versa), with a meaningful body ratio and a candle range above a minimum ATR threshold. Engulfing patterns receive the highest PA score in the confluence engine and trigger a dedicated marker on the chart when occurring at a key level or in the direction of the established trend.
Bullish / Bearish Pin Bar
A candle with a wick at least 2.5× the body length, where the wick is significantly larger than the opposing wick, and the close is in the upper or lower half of the candle's range respectively. The candle must meet a minimum ATR size threshold to qualify.
Inside Bar Breakout
When a candle is fully contained within the prior candle's range (inside bar), the next candle breaking out above or below that range — with a directional close and a meaningful body — triggers an inside bar breakout marker. A controllable toggle allows you to enable or disable this pattern type independently.
Momentum Shift (3-Bar Reversal)
Two consecutive candles in one direction followed by a third candle that breaks the prior candle's extreme and closes with a body ratio above 0.5. This pattern captures short-term momentum reversals within the context of a broader structure.
Strong Directional Candle
A candle with a body ratio above 0.65 and a body size exceeding the average body — used as a supplementary structural signal within the confluence engine.
Pattern markers are context-filtered — they only appear when occurring at a key level, aligned with the trend structure, or accompanied by a bounce/rejection confirmation. This eliminates random pattern signals in the middle of nowhere.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
III. Institutional Footprint — Tracking Large Money Flow
Retail price action alone does not tell the full story. AlphaX Prism tracks two types of institutional activity that are invisible to most traders:
Institutional Candles — Directional Large-Body Moves
A bullish or bearish candle whose body exceeds the 20-bar average body by a configurable multiplier (default: 1.8×)
Volume exceeds the moving average by a configurable multiplier (default: 1.3×)
Body ratio above 0.55, with a close in the upper or lower third of the range — confirming directional conviction
These appear as bright colored dots at the bottom of the chart (yellow-green for bull, red for bear)
Absorption Candles — Hidden Accumulation and Distribution
A large wick (more than 2× the body) with high volume — indicating large orders absorbing supply or demand without a visible directional body
The wick must be at least 1.5× larger than the opposing wick, and the candle range must exceed the ATR minimum
These appear as dimmer dots at the bottom of the chart — subtler activity, but often a precursor to a directional move
Volume Spikes — when high volume occurs without an institutional candle pattern, a neutral gray dot appears — flagging elevated participation without clear directional conviction.
Institutional activity feeds into the confluence engine and acts as a significant signal amplifier when aligned with price action and key levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Two Signal Layers
AlphaX Prism produces two distinct signal types, each serving a specific role in the trade lifecycle:
1 ─ Entry Signals (▲ / ▼)
Entry signals are generated when the confluence engine determines that enough independent factors are aligned simultaneously. A bullish entry (▲) or bearish entry (▼) label appears offset from the bar with a dotted connector line for visual clarity.
Entry signals require ALL of the following to fire:
Confluence score meets or exceeds the minimum threshold (default: 4 out of 10 factors)
A qualifying Price Action pattern is present
A structural reason exists (key level, institutional candle, or trend context)
The candle is clean — not overextended, not at an RSI extreme, and with a meaningful body
ADX confirms a trending environment (not a ranging, directionless market)
Signal cooldown has elapsed since the last signal
When both bull and bear conditions trigger simultaneously, the higher-confluence side wins. If scores are equal, no signal fires — tie goes to caution.
2 ─ Exit Signals (✕)
Exit signals fire after an entry signal has been established and a reversal condition develops. They are filtered by the same cooldown as entries to prevent rapid oscillation.
Long Exit — price reaches a resistance zone and a bearish engulfing forms, or the trend shifts down with price below the medium EMA and MACD bearish, or an institutional selling candle closes below the fast EMA, or RSI is overbought with a bearish pattern
Short Exit — the inverse of the above conditions for a long exit
Exit signals indicate that the momentum behind the current trade is deteriorating. Use them to take partial or full profit, or to tighten your stop loss ahead of a potential reversal.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 10-Factor Confluence Scoring System
Every bar is evaluated against ten independent confluence factors — each one a separate reason to consider a trade. Only setups where enough factors align simultaneously are displayed.
The 10 Confluence Factors:
1. Key Level — price is bouncing from support or rejecting resistance (highest weight)
2. Price Action Pattern — any qualifying PA pattern is present
3. Strong Pattern Bonus — engulfing or momentum shift (higher-conviction PA types)
4. Institutional Activity — institutional candle or absorption present in signal direction
5. Trend Structure — swing-based trend direction (HH/HL or LL/LH) aligns with signal
6. MACD Momentum — MACD line above/below signal line and histogram expanding in signal direction
7. RSI Alignment — RSI slope rising/falling within the mid-range zone (not extreme)
8. RSI Divergence — price makes a new extreme but RSI does not confirm, signaling exhaustion
9. Volume — current volume exceeds the moving average in the signal direction
10. EMA Alignment — fast, medium, and slow EMAs are stacked in the signal direction, or price is positioned correctly relative to the 200 EMA
The score (0–10) is displayed in the dashboard alongside a weighted confidence percentage (0–100%) and a letter grade (D through A+).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Weighted Confidence Engine
In addition to the 10-factor binary confluence score, AlphaX Prism computes a weighted confidence percentage that assigns different point values to each factor based on its structural importance.
Bull / Bear Confidence Scoring Breakdown:
Bounce from Support / Rejection from Resistance — up to 18 points (the single most important condition in price action trading)
Price at Key Level without confirmed bounce/rejection — 12 points
PA Pattern Type — Engulfing: 14 pts | Momentum Shift: 12 pts | Pin Bar: 10 pts | Inside Bar Break: 8 pts
Institutional Candle — 12 points | Absorption: 8 points
Trend Structure Aligned — 10 points | Structural confirmation only: 6 points
MACD Momentum — both line and histogram aligned: 6 pts | line only: 3 pts
RSI Slope in Range — 5 points
RSI Divergence — 8 points
Volume Spike — 6 points | Above average: 3 points
EMA Trend Fully Aligned — 8 points | Price above/below 200 EMA only: 3 points
ADX Strong — 6 points
Penalty Deductions:
RSI at opposite extreme — -12 points (signal in wrong RSI zone)
Counter-trend direction — -15 points (trading against the established structure)
ADX weak / no trend — -6 points
Price overextended from EMA — -8 points
No PA pattern at all — -10 points (structure without a trigger is not enough)
Below average volume — -4 points
Letter Grade Scale:
A+ — 70% and above: exceptional confluence, all major factors aligned
A — 55–69%: high-quality setup with strong structural backing
B — 40–54%: good setup with most factors aligned
C — 25–39%: marginal setup, use caution and tighter risk management
D — below 25%: weak confluence, typically filtered out before display
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 EMA System
Three Exponential Moving Averages provide structural context for trend bias and signal filtering:
Fast EMA (21) — yellow-green cross markers — the immediate momentum reference. When price holds above the Fast EMA, intrabar momentum favors longs.
Medium EMA (50) — gray line — the intermediate trend filter. Slope direction confirms trend momentum across recent bars.
Slow EMA (200) — dark gray line, thicker — the structural backbone. Price position relative to the 200 EMA contributes to the confidence score and defines the macro bias.
EMA Fan Analysis:
All three EMAs fanning outward in order (Fast > Medium > Slow for bullish) — healthy trend, re-entry signals carry higher confidence
EMAs converging — trend is weakening, expect chop or reversal
EMAs tangled and flat — range-bound market, step aside and wait for structure to return
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Trend Structure Detection
AlphaX Prism tracks swing-based market structure using configurable pivot detection:
Uptrend (▲ UPTREND) — confirmed when the most recent significant high is higher than the prior high AND the most recent significant low is higher than the prior low (Higher Highs + Higher Lows)
Downtrend (▼ DOWNTREND) — confirmed when the most recent significant high is lower than the prior high AND the most recent significant low is lower than the prior low (Lower Highs + Lower Lows)
A configurable cooldown prevents label spam during choppy structure transitions
The trend structure direction is used as a directional filter and adds directly to the confluence score. Signals trading against the identified structure receive a significant confidence penalty.
ADX is calculated alongside the swing structure to confirm whether the trend has sufficient momentum. The ADX threshold (default: 22) prevents signals from firing during flat, low-conviction periods — regardless of how many other factors align.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 RSI Divergence Detection
AlphaX Prism includes a built-in RSI divergence scanner that runs continuously alongside all other analysis:
Bullish Divergence — price makes a lower low but the RSI pivot low is higher than the prior RSI low — indicating weakening bearish momentum
Bearish Divergence — price makes a higher high but the RSI pivot high is lower than the prior RSI high — indicating weakening bullish momentum
Divergences are validated against pivot lookback windows to ensure they represent meaningful structural shifts rather than random oscillator noise. When detected, they are marked with small diamond shapes and contribute up to 8 points to the confidence score.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Prism — Step by Step
Step 1 — Read the Dashboard
Check PRICE POSITION: Is price bouncing from support, rejecting resistance, or between levels?
Check TREND: Is structure bullish, bearish, or ranging?
Check ADX: Is there a trending environment, or is it weak and directionless?
Check PA PATTERN: Is there a qualifying candle pattern on the current bar?
If VERDICT reads "WEAK TREND — WAIT" or "NO PA PATTERN — WAIT" → do not enter. Preserve capital.
Step 2 — Wait for an Entry Signal
A ▲ or ▼ signal label appears when all mandatory conditions are met
Check the dashboard for the BULL SCORE or BEAR SCORE and the letter grade — higher grades represent cleaner, higher-probability setups
An A or A+ grade at a confirmed key level with institutional activity is the highest-conviction setup the system can produce
Step 3 — Confirm the Setup Manually
Review FACTORS in the dashboard — which of the 10 conditions are confirmed?
Look for a Bounce from Support or Rejection from Resistance as the anchor
Verify that volume is above average and the institutional footprint dots support the direction
Place your stop loss beyond the recent swing high/low or beyond the key level zone
Step 4 — Manage the Trade
Monitor the dashboard for changes in trend, RSI state, and institutional flow
If the VERDICT shifts from your trade direction, begin tightening your stop loss
Use subsequent entry signals in the same direction as opportunities to add to a winning position
Step 5 — Exit on the ✕ Mark
When an exit marker appears, the system has detected a counter-trend structural condition
Take partial or full profit
Do not immediately reverse — wait for a new entry signal in the opposite direction before committing to a new trade
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🏗 Automatic Key Level detection with zone merging, touch counting, and age management
🕯 Five Price Action pattern types — Engulfing, Pin Bar, Inside Bar Breakout, Momentum Shift, and Strong Directional Candle
🏦 Institutional footprint tracking — directional institutional candles and absorption patterns with volume validation
🧠 10-factor confluence binary score + weighted percentage confidence engine with A+ to D letter grading
📐 Three EMAs (21 / 50 / 200) for structural context, fan analysis, and trend bias
📉 Swing-based trend structure detection with HH/HL and LL/LH logic and a configurable trend label cooldown
⚡ ADX integration — prevents signals from firing in low-conviction, ranging environments
💎 RSI divergence scanner — continuously monitors for bullish and bearish momentum divergence
📊 MACD momentum engine — directional and histogram-based momentum alignment
✕ Context-aware exit signals — fire only after an active entry and only under specific structural reversal conditions
🖥 Fully featured dashboard — price position, PA pattern, institutional activity, trend, EMA, RSI, volume, confluence scores, verdict, and last signal details all in one panel
🎨 Cohesive dual-tone color theme — yellow-green for bullish, red for bearish, gray for neutral and weak conditions
🔔 8 alert conditions — long/short signals, engulfing at key levels, institutional candles, and RSI divergences
⚙ Fully configurable — all swing lengths, thresholds, ATR multipliers, confluence minimums, EMA periods, colors, and display toggles are adjustable from the settings panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Key Levels
Key Level Swing Length — pivot detection lookback for support/resistance identification (default: 8)
Merge Zones (x ATR) — how close two levels must be to merge into a single zone (default: 1.2× ATR)
Max Active Zones — maximum number of key level zones displayed simultaneously (default: 6)
Zone Max Age (bars) — how many bars before a zone is retired and removed (default: 250)
Show Key Level Zones — toggle zone box fills
Show Key Level Lines — toggle dotted center lines
Min Touches to Confirm — how many interactions before a zone is considered confirmed and color-coded (default: 2)
Price Action
Show PA Pattern Markers — toggle all price action pattern markers
Min Body Ratio (Engulf) — minimum body-to-range ratio required for engulfing patterns (default: 0.4)
Pin Bar Wick Ratio — minimum wick-to-body ratio required for pin bars (default: 2.5)
Show Inside Bar Breakouts — enable/disable inside bar breakout signals
Show Momentum Shift — enable/disable 3-bar momentum shift detection
Institutional Flow
Inst. Body Size (x Avg) — body size multiplier required for institutional candle detection (default: 1.8)
Inst. Volume (x Avg) — volume multiplier required for institutional candle detection (default: 1.3)
Show Institutional Candles — toggle all institutional footprint dots
Trend Context
Trend Swing Length — pivot lookback for trend structure HH/HL/LL/LH detection (default: 12)
Show Trend Shift Labels — toggle UPTREND/DOWNTREND structural labels
Trend Label Cooldown — minimum bars between consecutive trend labels (default: 18)
ADX Length — period for ADX trend strength calculation (default: 14)
ADX Trend Threshold — minimum ADX value required to permit signal generation (default: 22)
Momentum
RSI Length — period for RSI calculation (default: 14)
Show RSI Divergence — toggle the RSI divergence scanner and markers
Volume
Volume MA Length — period for volume moving average used in all volume comparisons (default: 20)
EMA Settings
Show Fast / Medium / Slow EMA — individual visibility toggles for each EMA
Fast EMA Length — default: 21
Medium EMA Length — default: 50
Slow EMA Length — default: 200
Confluence Engine
Min Confluence Score — minimum number of the 10 factors required to permit signal generation (default: 4)
Show Entry Signals — toggle all ▲ / ▼ entry signal labels
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 12)
Show Exit Signals — toggle all ✕ exit signal markers
Display
Show Dashboard — toggle the full dashboard panel
Dashboard Position — Top Right / Top Left / Bottom Right / Bottom Left
Dashboard Text Size — Tiny / Small / Normal
Dashboard Background — configurable background color
Theme Colors
Bull Primary / Bright / Dim — the yellow-green family for all bullish elements
Bear Primary / Bright / Dim — the red family for all bearish elements
Support / Resistance / Neutral Zone Colors — configurable zone color scheme
Pattern Color — marker color for price action pattern labels
Institutional Color — dot color for institutional footprint markers
Individual EMA Colors — Fast (yellow-green), Medium (gray), Slow (dark gray)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
Prism Long Signal — fires when a confirmed ▲ entry signal appears
Prism Short Signal — fires when a confirmed ▼ entry signal appears
Engulf at Support — fires when a bullish engulfing pattern forms at a confirmed support zone
Engulf at Resistance — fires when a bearish engulfing pattern forms at a confirmed resistance zone
Institutional Buying — fires when an institutional bullish candle is detected
Institutional Selling — fires when an institutional bearish candle is detected
RSI Bull Divergence — fires when a confirmed bullish RSI divergence is detected
RSI Bear Divergence — fires when a confirmed bearish RSI divergence is detected
All alert messages include {{ticker}} and {{interval}} placeholders for clean webhook and bot integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Default Settings — Optimized For
The default configuration is tuned for intraday trading on XAUUSD, forex majors, and indices (NAS100, US30, SPX500) on timeframes from M1 to H1.
For best results across different instruments:
Higher timeframes (H1, H4) — increase Trend Swing Length to 18–25, increase Min Confluence to 5–6, increase Signal Cooldown to 20–30
Volatile instruments (Gold, NAS100) — use defaults or increase ADX threshold to 25 for tighter trend filtering
Forex majors (EURUSD, GBPUSD) — reduce Inst. Body Size multiplier to 1.5, keep defaults otherwise
Calmer instruments — reduce ADX threshold to 18–20, reduce Min Confluence to 3
Fewer, cleaner signals — increase Min Confluence Score, increase ADX Threshold, increase Signal Cooldown
More frequent signals — decrease Min Confluence Score to 3, decrease Signal Cooldown to 8, reduce ADX Threshold to 18
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🥇 Price action traders — built on the foundations of PA trading: key levels, candlestick patterns, and structural context, with no dependence on arbitrary indicator signals
🏦 Traders who want to track institutional activity — the footprint engine highlights where large money is likely entering and exiting the market
📊 Confluence-based traders — the 10-factor scoring system provides a systematic, quantified framework for evaluating setups rather than relying on intuition alone
🧠 Systematic and discretionary traders alike — the dashboard makes every condition transparent and readable at a glance, while the alert system supports fully automated notification workflows
📈 Traders who struggle with overtrading — the mandatory ADX filter, PA pattern requirement, and minimum confluence threshold physically prevent weak or unqualified setups from generating signals
🎨 Traders who value clean, uncluttered charts — all elements follow a cohesive color theme, and the system is designed to show you only what matters, when it matters
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are calculated on bar close — AlphaX Prism is non-repainting. A signal that appears will not disappear on the next bar.
The key level zone boxes extend to the right edge of the chart in real time. As new bars form, zones that have aged beyond the maximum bar count are automatically removed.
RSI divergence detection uses a 5-bar pivot lookback on each side — divergences are confirmed only when the current bar is within 3 bars of the pivot, and the two pivots are between 5 and 50 bars apart, ensuring only meaningful divergences are flagged.
Designed for M1 through H1 timeframes. On daily or weekly charts, the ADX and confluence filters still function, but key level zone density may need adjustment via the swing length and max zones settings.
Maximum 500 labels and 500 boxes are used — on very low timeframes with extended chart history, oldest elements may be automatically removed by PulseWire's rendering limits.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who trade what they see — not what they hope. Indicator

[ A L P H A X ] Elliott Wave Detection & Fibonacci Golden ZoneAlphaX Wave – Elliott Wave Detection, Fibonacci Golden Zone Mapping, Multi-Confluence Scoring & Smart SL/TP System
AlphaX Wave is a professional-grade Elliott Wave analysis and trade signal system built on a proprietary multi-engine architecture that fuses automated wave counting, Fibonacci golden zone projection, multi-factor momentum scoring, and structure-based stop loss and target placement into a single cohesive tool. It identifies impulse wave patterns (waves 1–5), detects corrective ABC structures, projects Fibonacci retracement zones, scores trade setups across eight independent confluence factors, and generates graded entry signals with intelligent SL/TP levels derived from swing structure, Fibonacci levels, and wave projections. Designed for traders who use Elliott Wave theory as their primary framework on instruments like XAUUSD, indices, forex majors, and crypto.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Wave Engine — How It Works
At the core of AlphaX Wave is an automated Elliott Wave detection algorithm that identifies the classical 5-wave impulse structure and 3-wave corrective patterns in real-time. Unlike manual wave counting, this engine applies strict mathematical validation rules derived from Elliott Wave theory to ensure only structurally valid patterns are labeled.
Impulse Wave Detection (Waves 1–5)
The engine uses a rolling buffer of confirmed swing highs and swing lows detected via a configurable pivot lookback. When at least three swing highs and three swing lows are available, the engine tests them against the following Elliott Wave rules:
Wave 2 must not retrace beyond the start of Wave 1 — validated by checking that the second swing low remains above the first swing low (bullish) or below the first swing high (bearish)
Wave 3 must not be the shortest impulse wave — validated by comparing the Wave 3 range to at least 70% of the Wave 1 range
Wave 4 must not overlap into Wave 1 territory — validated by checking that the Wave 4 low stays above the Wave 2 low (bullish) or Wave 4 high stays below the Wave 2 high (bearish)
Wave 2 retracement must be between 15% and 95% of Wave 1 — filters out patterns that are too shallow or too deep
Wave 4 retracement must be between 10% and 90% of Wave 3 — ensures proper proportionality
Temporal ordering must be correct — all six pivot points must occur in strict chronological sequence
Wave 5 must exceed Wave 3's high (bullish) or undercut Wave 3's low (bearish) — confirms the impulse completed with a new extreme
When all rules pass simultaneously, the engine marks the complete 1–5 impulse structure on the chart with numbered labels and connecting wave lines. Wave 3 and Wave 5 receive larger, brighter labels because they represent the highest-momentum phases of the impulse.
Corrective Wave Detection (ABC Pattern)
After an impulse completes, the engine monitors for corrective price action:
For a completed bullish impulse — the engine watches for a pullback that retraces between 20% and 72% of the impulse range, indicating an ABC correction is forming
For a completed bearish impulse — the engine watches for a bounce that retraces between 20% and 72% of the impulse range
The correction must originate after Wave 5 completes — ensures proper sequence
A configurable cooldown prevents multiple correction labels from firing on the same structure
Corrective zones are particularly valuable because they represent potential entry opportunities in the direction of the prior impulse trend — the market is pulling back within a larger trend structure.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Fibonacci Golden Zone System
When an impulse wave completes, the engine automatically projects Fibonacci retracement levels across the entire impulse range:
38.2% Retracement — the shallowest institutional retracement level
50.0% Retracement — the equilibrium midpoint of the impulse
61.8% Retracement — the golden ratio level, highest-probability reversal zone
The area between the 38.2% and 61.8% levels forms the Golden Zone — a shaded box that represents the highest-probability area for the corrective wave to terminate and the trend to resume. This is where institutional traders typically place their limit orders.
The Golden Zone system includes intelligent lifecycle management:
Zones automatically expire after a configurable maximum age (default 80 bars)
Zones are removed when price closes significantly beyond them (1.5 ATR past the zone boundary) — indicating the zone has been invalidated
Maximum active zones are capped (configurable) to keep the chart clean
The indicator tracks whether price is currently inside a bullish or bearish Golden Zone — this information feeds directly into the confluence scoring engine
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Wave 3 Setup Detection
Wave 3 is traditionally the strongest and longest wave in Elliott Wave theory. AlphaX Wave includes a dedicated Wave 3 Setup Scanner that identifies potential Wave 3 initiations in real-time:
Detects when price has completed a valid Wave 1 (impulse move) followed by a Wave 2 (pullback between 15% and 90% of Wave 1)
Confirms the pullback low remains above the Wave 1 starting point (bullish) or below it (bearish) — validating the wave structure
Requires a directional confirmation candle (close above prior high for bullish, close below prior low for bearish)
Marked with small purple triangles — ▲ below bar for bullish Wave 3 setups, ▼ above bar for bearish
Wave 3 setups are among the highest-probability trade entries in all of technical analysis because they align with the strongest phase of the impulse trend.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 8-Factor Confluence Scoring Engine
Every potential trade signal is evaluated across eight independent confluence factors . Each factor scores either 0 or 1 point, producing a confluence score from 0 to 8. Only signals meeting your configured minimum confluence threshold are displayed.
Factor 1 — Wave 3 Setup (W3)
Is a valid Wave 3 initiation pattern present?
This is the single most powerful factor — Wave 3 moves are the strongest in Elliott theory
Factor 2 — ABC Correction Zone (ABC)
Is the market currently in a corrective phase following a completed impulse?
Corrections within trends offer the best risk/reward entries
Factor 3 — Price in Fibonacci Golden Zone (FIB)
Is price currently inside an active Golden Zone box (between 38.2% and 61.8% retracement)?
Golden Zone entries have institutional backing
Factor 4 — Price at Specific Fibonacci Level (FLV)
Is price at or near the 38.2%, 50.0%, or 61.8% retracement level specifically?
Precision Fibonacci entries add edge beyond just being "in the zone"
Factor 5 — Momentum Alignment (MOM)
Are RSI slope, MACD direction, MACD histogram momentum, and Stochastic all aligned in the signal direction?
Requires at least 2 of 5 momentum sub-factors to confirm
Factor 6 — RSI Divergence (DIV)
Is a confirmed RSI divergence present (price makes new low but RSI makes higher low, or vice versa)?
Divergence is one of the most reliable reversal confirmation signals
Factor 7 — Volume Confirmation (VOL)
Is current volume above the moving average with a candle closing in the signal direction?
Volume validates institutional participation in the move
Factor 8 — EMA Trend Alignment (EMA)
Are the Fast (21), Medium (50), and Slow (200) EMAs properly stacked in the signal direction?
Or is price at least above/below the 200 EMA with Fast above/below Medium?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Confidence Scoring & Grade System
Beyond the 8-factor confluence count, each signal receives a weighted confidence score from 0 to 100% that reflects the quality and strength of the setup:
Wave Structure (up to 22 points)
Wave 3 Setup present = 22 points (highest single contributor)
ABC Correction active = 12 points
Fibonacci Alignment (up to 22 points)
Price inside Golden Zone = 15 points
Price at 61.8% level = 7 points, at 50.0% = 5 points, at 38.2% = 4 points
Momentum Confirmation (up to 23 points)
Momentum aligned (2+ sub-factors) = 12 points
Strong momentum (4+ sub-factors) = additional 6 points
MACD crossover on signal bar = 5 points
RSI Analysis (up to 14 points)
RSI divergence confirmed = 10 points
RSI slope in ideal range = 4 points
RSI already at opposite extreme (penalty) = -5 points
Volume & Trend (up to 20 points)
Volume above average + directional candle = 5 points
Volume spike + directional candle = 3 points
Full EMA alignment (Fast > Medium > Slow or reverse) = 8 points
Cloud direction confirmed = 4 points
Signals are classified into grades based on the final confidence score:
A+ Grade (70%+) — Exceptional setup. Maximum confluence across wave structure, Fibonacci, momentum, and trend.
A Grade (55–69%) — High-quality setup. Most major factors aligned.
B Grade (40–54%) — Solid setup. Core conditions met with moderate confirmation.
C Grade (25–39%) — Marginal setup. Basic conditions met but weaker confirmation. Hidden by default.
D Grade (below 25%) — Weak setup. Minimal confluence. Hidden by default.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Signal Labels — What They Show
Each entry signal label displays comprehensive information in a compact format:
Direction — ▲ LONG or ▼ SHORT with spaced lettering
Grade — A+, A, B, C, or D classification
Confidence Percentage — The weighted score from the confidence engine
Confluence Count — How many of the 8 factors are active (e.g., 5/8)
Active Factor Checklist — Shows exactly which factors contributed: ✓W3 ✓ABC ✓FIB ✓FLV ✓MOM ✓DIV ✓VOL ✓EMA
Label colors follow the grade system:
Bull signals — Bright green (A+), Primary green (A), Dim green (B), Neutral gray (C/D). All use dark text for readability.
Bear signals — Bright red (A+), Primary red (A), Dim red (B), Neutral gray (C/D). All use white text for readability.
A thin dotted line connects the signal label to the price bar, keeping the label offset from price action to avoid chart clutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Smart SL/TP System — Structure-Based Risk Management
Every entry signal automatically generates three trade management levels — Stop Loss, Target 1, and Target 2 — using a multi-source calculation engine that prioritizes structural price levels over arbitrary ATR multiples.
Stop Loss Calculation
The SL engine searches for the optimal stop placement using this priority cascade:
Nearest swing structure — Finds the closest confirmed swing low (for longs) or swing high (for shorts) within a 50-bar lookback. Places the SL beyond this level with ATR padding.
ATR floor and cap — Ensures the SL is never too tight (70% of base ATR multiple) or too wide (180% of base ATR multiple) regardless of swing structure.
Confidence modifier — Higher-grade signals receive tighter stops (0.85× for A+, 0.92× for A, 1.0× for B, 1.15× for C/D). This reflects the higher-probability nature of strong setups.
Target 1 Calculation
TP1 represents the conservative take-profit level:
Nearest opposing swing — Searches for the closest swing high above entry (longs) or swing low below entry (shorts) that provides at least 1.2× the SL distance.
Fibonacci level targeting — If an active Fibonacci zone has a 38.2% or 50.0% level above/below entry that provides better targeting than the swing level, the Fib level is used.
Minimum R:R enforcement — TP1 is guaranteed to provide at least the configured ATR multiple (default 2.5×) of risk-reward.
Target 2 Calculation
TP2 represents the extended profit target:
Wave-based projection — If an impulse wave is active, TP2 is calculated as 61.8% of the total impulse range — representing the typical next-wave target.
Far swing structure — Searches for swing levels further than TP1 that provide at least 1.3× the TP1 distance.
Fibonacci extension — If the 61.8% Fibonacci level provides a target beyond TP1, it is used as TP2.
Minimum spacing — TP2 is guaranteed to be at least 1.5× the TP1 distance from entry.
Break-Even Protection
When TP1 is hit, the system automatically adjusts the Stop Loss to the entry price (break-even). The SL label changes to "BE" with a neutral color, visually confirming that the trade is now risk-free on the remaining position targeting TP2.
Hit Tracking
All SL/TP levels are tracked in real-time:
When a level is hit, the label changes color — red fill for SL hits, green fill for TP hits
SL hits are processed first — if the SL is hit, TP levels for that trade are no longer tracked
TP1 must be hit before TP2 tracking activates the break-even mechanism
Historical SL/TP groups are automatically trimmed to keep the chart clean (configurable history count)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Trend Context Layer
Three independent trend analysis systems provide structural context:
Triple EMA System
Fast EMA (21) — Yellow-green crosses. Immediate momentum reference.
Medium EMA (50) — Gray line. Intermediate trend filter.
Slow EMA (200) — Dark gray, thicker line. Macro structural backbone used in confidence scoring.
When all three are properly stacked (Fast > Medium > Slow for bullish, reverse for bearish), trend alignment scores maximum points.
Trend Cloud
Calculated from the midpoints of the highest high / lowest low over fast (9) and slow (26) periods
When the fast midpoint is above the slow midpoint, the cloud fills green — bullish bias
When below, the cloud fills red — bearish bias
Cloud direction adds 4 points to the confidence score when aligned with the signal
RSI Divergence System
Detects classical RSI divergence using pivot-based comparison
Bullish divergence — price makes a lower low but RSI makes a higher low
Bearish divergence — price makes a higher high but RSI makes a lower high
Divergence must occur within a valid lookback window (5–50 bars between pivots) and be recent (within 3 bars of the current RSI pivot)
Marked with small diamond shapes — green below bar for bullish, red above bar for bearish
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Momentum Engine
The momentum engine combines four oscillator systems into a unified momentum score:
RSI Slope — Smoothed RSI direction over 2 bars. Bullish when RSI is between 40–75 and rising. Bearish when RSI is between 25–60 and falling.
MACD Direction — MACD Line above Signal Line = bullish, below = bearish.
MACD Histogram Momentum — Histogram increasing = bullish momentum, decreasing = bearish momentum.
Stochastic Alignment — %K above %D with room to run (below 80) = bullish. %K below %D with room to fall (above 20) = bearish.
MACD Crossover — Fresh MACD crossover on the signal bar adds additional confirmation.
Scores of 2+ out of 5 confirm momentum alignment. Scores of 4+ indicate strong momentum — adding bonus points to the confidence score.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Dashboard Intelligence
A comprehensive 3-column AlphaX-branded dashboard provides real-time analysis across all engine layers:
Wave & Fibonacci Status
Current wave phase — Impulse 1–5 (detected/active), Corrective ABC, or Scanning
Wave trend direction — Bullish or Bearish impulse context
Fibonacci status — In Golden Zone, at specific level, or no active zone
Active Fibonacci zone count
Momentum & Trend
Momentum state — Strong Bull/Bear, Bullish/Bearish, or Flat
Bull/Bear sub-factor scores (e.g., 3▲ 1▼)
EMA trend alignment — Bull Aligned, Bear Aligned, or Mixed
Price position relative to 200 EMA
Cloud direction — Bullish, Bearish, or Flat
Volume & Oscillators
Relative volume — Spike, High, Normal, or Dry with exact ratio
RSI state — Overbought, Oversold, Rising, Falling, or Neutral with numeric value
Confluence & Verdict
Bull confluence score — count out of 8, confidence percentage, and letter grade
Bear confluence score — count out of 8, confidence percentage, and letter grade
Verdict — the engine's overall assessment: High Confidence Long, High Confidence Short, Lean Long/Short with Caution, Mixed — Stand Aside, or No Clear Edge
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Wave — Step by Step
Step 1 — Identify the Wave Structure
Look for completed impulse patterns (numbered 0–5 on the chart)
Check the Dashboard: What is the current Wave Phase?
If "SCANNING" — no valid wave structure detected yet. Wait for pattern formation.
Step 2 — Wait for Correction or Wave 3 Setup
After an impulse completes, watch for the "ABC CORRECTION ZONE" label — this is where the market is pulling back within the trend
Watch for Wave 3 Setup triangles (▲/▼) — these mark the beginning of the strongest wave
Check if price is entering a Fibonacci Golden Zone (purple shaded box)
Step 3 — Enter on Confluence Signal
Wait for a graded entry label (▲ LONG or ▼ SHORT) to appear
Check the grade — A+ and A signals have the highest probability
Review the factor checklist — more ✓ marks = stronger setup
The SL and TP levels are automatically plotted for immediate trade management
Step 4 — Manage the Trade
Monitor the SL/TP levels on the chart — they update automatically
When TP1 is hit, the label lights up green and the SL moves to break-even
Hold the remaining position for TP2 risk-free
If SL is hit first, the label turns red — accept the loss and wait for the next setup
Step 5 — Read the Verdict
The Dashboard Verdict row summarizes the engine's real-time assessment
"HIGH CONFIDENCE LONG/SHORT" — all systems aligned, actively look for entries
"LEAN LONG/SHORT — CAUTION" — some alignment but not full, trade with reduced size
"MIXED — STAND ASIDE" — conflicting signals, do not trade
"NO CLEAR EDGE" — insufficient data, wait for structure to develop
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ When NOT to Trade — Reading the Warning Signs
Dashboard shows "SCANNING" — No valid wave structure detected. The market may be in a complex correction or transition phase.
Verdict shows "MIXED — STAND ASIDE" — Bull and bear confluence are both active simultaneously. Conflicting signals cancel each other.
Cloud is flat or rapidly switching colors — No established trend direction. Signals during cloud transitions are less reliable.
EMAs are tangled and flat — Range-bound market. Wave patterns in choppy conditions produce lower-quality signals.
Only C or D grade signals appearing — Insufficient confluence. These grades are hidden by default for a reason.
RSI showing "OVERBOUGHT" on a long signal — The confidence engine already penalizes this (-5 points), but it is worth noting visually as well.
Volume showing "DRY" — Low-volume environments reduce the reliability of all technical patterns including waves.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 Automated Elliott Wave impulse detection (1–5) with strict rule validation
📐 ABC corrective pattern recognition with retracement depth validation
🎯 Wave 3 Setup Scanner — identifies the strongest wave initiation points
📊 Fibonacci Golden Zone projection with intelligent lifecycle management
🧠 8-factor confluence scoring — Wave, ABC, Fibonacci, Fibonacci Level, Momentum, Divergence, Volume, EMA
📈 Weighted confidence scoring (0–100%) with A+ through D grade classification
▲▼ Detailed signal labels showing grade, confidence, confluence count, and active factor checklist
🎯 Structure-based SL/TP system — swing levels, Fibonacci targets, and wave projections
🛡 Automatic break-even protection when TP1 is hit
📊 Real-time hit tracking with visual color changes on SL/TP labels
☁ Trend Cloud with gradient fill for instant directional bias
📐 Triple EMA system (21/50/200) for structural trend context
💎 RSI divergence detection with pivot-based validation
📊 Multi-oscillator momentum engine (RSI, MACD, Stochastic)
📊 Volume spike detection with configurable multiplier
📐 Comprehensive 3-column dashboard with verdict system
🎨 Cohesive triple-tone color theme — Green for bull, Red for bear, Purple for wave structure
🔔 10 alert conditions — signals, impulses, corrections, Wave 3 setups, and divergences
⚙ Fully configurable — wave detection, Fibonacci, momentum, signals, SL/TP, and all visuals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Wave Detection
Swing Detection Length — Pivot lookback for identifying swing highs and lows (default: 6)
Show Wave Count Labels — Toggle the numbered 0–5 labels on impulse waves
Show Wave Structure Lines — Toggle the connecting lines between wave points
Show Impulse Completion — Toggle the "IMPULSE COMPLETE" notification labels
Show Corrective Patterns — Toggle the "ABC CORRECTION ZONE" labels
Show Wave 3 Setup Markers — Toggle the purple triangle markers
Wave Pattern Cooldown — Minimum bars between wave pattern detections (default: 18)
Fibonacci
Show Fib Golden Zone Boxes — Toggle the shaded 38.2%–61.8% retracement zone
Max Fib Zone Boxes — Maximum simultaneous Golden Zones (default: 3)
Fib Zone Max Age — Bars before a zone auto-expires (default: 80)
Momentum
RSI Length / Smoothing — Core RSI calculation parameters
MACD Fast / Slow / Signal — MACD oscillator parameters
Show RSI Divergence — Toggle divergence diamond markers
Volume
Volume MA Length — Baseline period for volume comparison (default: 20)
Volume Spike Multiplier — Threshold for spike detection (default: 1.6×)
Show Volume Spike Dots — Toggle volume spike indicators at bar bottom
EMA Settings
Fast / Medium / Slow EMA — Independently toggle visibility and set periods
Defaults: 21 / 50 / 200
Trend Cloud
Show Trend Cloud — Toggle the gradient cloud fill
Cloud Fast / Slow Length — Midpoint calculation periods (default: 9 / 26)
Confluence Engine
Min Confluence Score — Minimum factors required for a signal (default: 3 of 8)
Show Entry Signals — Toggle signal labels
Signal Cooldown — Minimum bars between signals (default: 10)
Signal Label Offset — Distance below/above bar in ATR units (default: 3.0)
Show Grade C / D Signals — Toggle lower-quality signal visibility (default: off)
SL / TP
Show Stop Loss & Targets — Toggle all SL/TP visual elements
Stop Loss (× ATR) — Base ATR multiple for stop loss calculation (default: 2.0)
Target 1 (× ATR) — Base ATR multiple for conservative target (default: 2.5)
Target 2 (× ATR) — Base ATR multiple for extended target (default: 5.0)
Limit SL/TP History — Cap the number of visible historical trade levels
SL/TP History Count — Maximum trade groups shown (default: 8)
Move SL to Break Even after TP1 — Enable/disable break-even protection
Display
Show Dashboard — Toggle the information panel
Dashboard Position — Top Right, Top Left, Bottom Right, Bottom Left
Dashboard Text Size — Tiny, Small, Normal
Dashboard Background — Background color for the panel
Theme Colors
Bull Primary / Bright / Dim — Green family for bullish elements
Bear Primary / Bright / Dim — Red family for bearish elements
Wave Primary / Bright / Dim — Purple family for wave structure elements
Fibonacci Levels / Dim — Purple-pink family for Fibonacci zones
EMA colors — Fast (green), Medium (gray), Slow (dark gray)
Neutral — Gray for inactive/mixed states
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
Wave Long Signal — Fires when a graded bullish entry signal appears
Wave Short Signal — Fires when a graded bearish entry signal appears
Bullish Impulse Complete — Fires when a full 1–5 bullish impulse is detected
Bearish Impulse Complete — Fires when a full 1–5 bearish impulse is detected
Wave 3 Bull Setup — Fires when a bullish Wave 3 initiation pattern is detected
Wave 3 Bear Setup — Fires when a bearish Wave 3 initiation pattern is detected
RSI Bull Divergence — Fires when bullish RSI divergence is confirmed
RSI Bear Divergence — Fires when bearish RSI divergence is confirmed
Bullish ABC Correction — Fires when a bullish corrective zone is identified
Bearish ABC Correction — Fires when a bearish corrective zone is identified
All alert messages include {{ticker}} and {{interval}} placeholders for clean webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Default Settings — Optimized For
The default configuration is tuned for XAUUSD (Gold) and major instruments on the 5-minute to 1-hour timeframes :
Swing Length at 6 captures wave structure without excessive lag on intraday charts
Minimum confluence at 3/8 ensures signals have meaningful multi-factor backing
Signal cooldown at 10 bars prevents rapid-fire signals during volatile wave transitions
SL at 2.0 ATR with structure-based adjustment provides adaptive risk sizing
TP1 at 2.5 ATR and TP2 at 5.0 ATR provide minimum 1.25R and 2.5R risk-reward ratios
Break-even protection ensures profitable trades are protected after TP1
Grade C and D signals hidden by default to maintain signal quality
For other instruments or timeframes, adjust:
Higher timeframes (4H, Daily) — Increase Swing Length to 8–14, increase Wave Cooldown to 30–50, increase SL/TP ATR multiples
Lower timeframes (1m) — Reduce Swing Length to 4–5, reduce Signal Cooldown to 5–7, increase Min Confluence to 4
Forex majors — Use defaults, optionally reduce Swing Length to 5 for tighter wave detection
Crypto — Increase Swing Length to 8–10 (higher volatility), increase SL ATR multiple to 2.5–3.0
Fewer, higher-quality signals — Increase Min Confluence to 4–5, increase Signal Cooldown, hide Grade C/D
More signals — Reduce Min Confluence to 2, enable Grade C signals, reduce cooldown
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
📐 Elliott Wave Practitioners — Automated wave counting with strict rule validation eliminates subjective bias
📊 Fibonacci Traders — Automatic Golden Zone projection with lifecycle management removes manual drawing
🥇 Gold & Forex Intraday Traders — Optimized for instruments with clean wave structures on fast timeframes
🧠 Systematic Traders — The 8-factor confluence + weighted confidence system provides a fully quantitative framework
🎯 Traders who want complete trade plans — Entry, SL, TP1, TP2, and break-even all generated automatically
📈 Traders learning Elliott Wave — The visual wave labels and structure lines serve as an educational overlay
⚠ Traders who struggle with exit management — The SL/TP system with hit tracking and break-even automation removes emotional decision-making
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
Wave detection uses confirmed pivot points (offset by the swing length) — wave labels appear after structural confirmation, not in real-time. This prevents repainting.
The indicator requires sufficient bar history to populate swing buffers — allow at least 100+ bars of data before expecting wave pattern detection
Elliott Wave rules are applied as mathematical approximations of the classical theory — certain complex wave structures (extended waves, truncations, diagonal triangles) may not be detected
SL/TP levels are calculated at signal time and do not adjust afterward (except the break-even mechanism on TP1 hit)
Maximum 500 labels, 500 lines, and 500 boxes are used — on very low timeframes with extended history and many signals, oldest drawings may be automatically removed by PulseWire's rendering limits
The SL/TP history is automatically trimmed to the configured limit (default 8 trade groups = 24 labels/lines) to stay within PulseWire's drawing limits
All confluence factors and confidence scores are recalculated on every bar — the dashboard reflects the current bar's state, not the last signal's state
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. Elliott Wave patterns, Fibonacci levels, and all signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Elliott Wave theory is inherently subjective and interpretive; automated detection provides one possible wave count among many valid alternatives. Past wave patterns and signal performance do not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who demand clarity, confidence, and precision from their charts. Indicator

Indicator

AG Pro Position Planner [AGPro Series]AG Pro Position Planner
OVERVIEW
AG Pro Position Planner is a structured trade-planning and risk-organization tool designed for traders who want to map a position before execution. It focuses on four core elements of trade preparation: entry location, stop placement, target mapping, and position sizing. Instead of trying to predict direction or generate automated entries, the script helps organize a plan around levels that the user defines manually.
The purpose of this tool is not to tell the user what to buy or sell. Its purpose is to turn a discretionary plan into a visible, measurable framework on the chart. By combining entry, stop, risk budget, capital usage, and target structure in one view, the script helps reduce planning ambiguity and makes the trade idea easier to review before any order is placed.
The script supports both long and short planning. It can also operate in two different target modes. In R-Based mode, targets are derived from the distance between entry and stop. In Manual mode, the user can input exact target prices directly and the script will convert those targets into their implied R-multiples. This allows the same tool to support both systematic planning and discretionary scenario mapping without changing the underlying workflow.
The visual design is intentionally restrained. The chart shows entry, stop, and target levels, along with optional reward and risk zones. A compact panel summarizes the key planning information, including direction, mode, risk per unit, risk budget, sizing, exposure, and target statistics. The result is a planning layout that remains readable on both light and dark themes while keeping the focus on structure rather than decoration.
WHAT THIS SCRIPT DOES
This script helps the user:
• define a planned entry price
• define a planned stop price
• convert account risk into a position size estimate
• map one to three targets on the chart
• compare manual targets to the initial risk distance
• review exposure before execution
• validate whether a manual target structure is logically ordered
• visualize the reward zone above entry and the risk zone below entry for long scenarios, or the inverse logic for short scenarios
The script is designed as a planning layer. It does not attempt to replace the user’s analysis process. It assumes the user already has a trade idea and needs a cleaner way to structure and review that idea.
UNIQUE EDGE
The distinguishing feature of this script is not signal generation. Its edge is organizational clarity.
Many tools focus on entries, signals, or directional interpretation. This one focuses on plan construction. The user chooses the key prices, and the script translates them into a coherent risk model. That distinction matters. The script does not present itself as a forecasting engine, a market-timing system, or an automated decision model. It is a position-planning framework.
A second differentiator is the dual target workflow. Some users think in fixed R-multiples. Others think in exact price objectives. AG Pro Position Planner supports both approaches in the same interface. In Manual mode, the script still reports the effective R-value of each target, which helps the user compare discretionary targets against the initial stop distance without losing consistency.
A third differentiator is the built-in validation behavior. The script checks whether the trade structure is logically valid for the chosen direction. In Manual mode, it also checks whether the targets are placed in the correct direction and in the correct order. This helps the user detect plan errors before execution rather than after the fact.
METHODOLOGY
The planning model is straightforward by design.
1) Entry and stop define the base risk distance.
The script measures the absolute distance between entry and stop. That distance becomes the reference risk per unit.
2) Account risk defines the risk budget.
The user enters an account size and a percentage risk per trade. The script converts this into a monetary risk budget.
3) Position size is estimated from the risk budget.
The script divides the risk budget by effective risk per unit and rounds the resulting quantity down to the selected quantity step.
4) Optional fee adjustment can be included.
An estimated fee percentage can be added to the per-unit risk as a conservative sizing buffer.
5) Targets are then mapped in one of two ways.
In R-Based mode, each target is calculated from the entry-to-stop distance using the selected R-multipliers.
In Manual mode, the user provides exact target prices and the script calculates the implied R-value of each target relative to the original stop distance.
6) Exposure statistics are summarized in the panel.
The panel shows stop distance, capital usage, risk budget, and sizing information so the trade can be evaluated as a complete plan rather than as isolated levels.
This methodology is intentionally transparent. The script is not using hidden directional filters, prediction logic, or undisclosed entry models. The calculations are derived from the user’s own inputs.
TARGET MODES
R-Based Mode
R-Based mode is intended for users who want a consistent structure around initial risk. The user defines entry and stop, then sets target multipliers such as 1R, 2R, or 3R. The script projects those levels automatically from the base risk distance. This is useful when the user wants standardized scenario planning and fast comparison between multiple setups.
Manual Mode
Manual mode is intended for users who work with exact price objectives. In this mode, the user enters target prices directly. The script then converts those levels into implied R-values. This allows discretionary targets to be measured against the same initial risk model.
To reduce planning mistakes, the script validates whether manual targets are placed in the correct direction and in the correct order for the chosen trade direction. Invalid target structures are flagged in the panel instead of being silently accepted.
PANEL AND VISUAL STRUCTURE
The chart can display:
• entry line
• stop line
• target lines
• reward zone
• risk zone
• right-side labels for entry, stop, and targets
• a compact summary panel
The panel is designed to keep the most useful information visible without taking over the chart. Its goal is to support review, not to dominate the screen.
The compact panel includes:
• plan summary
• validation badge
• entry and stop
• risk per unit
• risk budget
• sizing
• exposure
• target statistics
This structure is meant to help the user answer practical questions quickly:
How much is being risked?
How large is the position?
How much capital is being used?
How far is the stop?
What does each target represent in both price and R terms?
KEY INPUTS
Trade Setup
• Trade Direction
• Target Mode
• Entry Price
• Stop Price
• R-based targets
• Manual targets
Risk Model
• Account Size
• Risk Per Trade (%)
• Estimated Fees (%)
• Quantity Step
Visual Settings
• Panel visibility
• Panel position
• Panel theme
• Panel text size
• Level label size
• Label offset
• Risk/reward zone visibility
• Zone transparency
• Individual target visibility
These inputs are separated by function so the planning workflow stays readable and predictable.
VALIDATION AND SAFETY LOGIC
The script validates several conditions before presenting a plan as valid.
For direction:
• Long plans require stop below entry
• Short plans require stop above entry
For base structure:
• Entry must be positive
• Stop must be positive
• Account size must be positive
• Risk percentage must be positive
• Quantity step must be positive
• Entry and stop must not be identical
For manual targets:
• Targets must be in the correct direction relative to entry
• Targets must be logically ordered for the selected direction
If the structure is invalid, the panel reflects that status instead of presenting the setup as a clean plan. This behavior is intentional. The script is designed to help organize decisions, but also to prevent simple construction errors from being overlooked.
WHO THIS SCRIPT IS FOR
This script is intended for users who already make their own directional decisions and want a cleaner way to structure position plans on the chart.
It may be useful for:
• discretionary traders
• swing traders
• intraday traders
• users who plan entries and stops manually
• users who prefer fixed-R target mapping
• users who want manual targets translated into risk terms
• users who want better visual discipline before execution
It is less relevant for users who are looking for:
• automated entries
• hidden directional logic
• predictive signals
• scanner behavior
• portfolio automation
• strategy backtests
SIGNALS AND ALERTS
This script does not generate buy signals or sell signals.
This script does not publish automated trade calls.
This script does not attempt to identify market direction.
This script does not include alert logic for execution decisions.
Its purpose is planning, visualization, and risk organization.
LIMITATIONS AND TRANSPARENCY
This script is a planning tool, not an execution engine.
It does not know whether the selected entry will be filled.
It does not know whether slippage will occur.
It does not know whether the market will reach the defined targets.
It does not account for instrument-specific margin rules, liquidation mechanics, funding costs, or exchange-specific order behavior unless the user adjusts inputs manually.
The sizing output is an estimate based on the values entered into the script. Real-world execution may differ due to slippage, fees, order type, spread, partial fills, and instrument-specific trading conditions.
In Manual mode, the script evaluates the price structure entered by the user, but it does not claim that those targets are likely to be reached. It only expresses them relative to the initial risk distance.
The chart zones are visual planning aids. They are not probability forecasts and should not be interpreted as predictive boundaries.
WHAT THIS SCRIPT IS NOT
This script is not:
• a strategy tester
• a signal service
• an automated trade system
• a forecasting model
• a promise of profitability
• a replacement for independent analysis
• a substitute for execution judgment
• a guarantee of risk control in live market conditions
It is a structured chart tool for planning and reviewing position scenarios.
RISK DISCLOSURE
Trading and investing involve risk. Any planned setup can fail, and losses can exceed expectations due to slippage, volatility, or execution conditions. This script is provided as an organizational and visualization tool only. Users remain fully responsible for their own analysis, trade selection, order placement, and risk management decisions.
No indicator can remove market risk. A visually clean plan is still only a plan. Position sizing, stop placement, and target mapping should always be reviewed in the context of the instrument, timeframe, liquidity conditions, and the user’s own trading process.
FINAL NOTE
AG Pro Position Planner is built around a simple idea: a trade plan should be measurable before it is actionable. By turning entry, stop, risk budget, sizing, and targets into a single visible structure, the script aims to make discretionary planning more disciplined, more transparent, and easier to review.
The script does not attempt to decide for the user. It helps the user define the plan clearly enough to evaluate it. Indicator

[ A L P H A X ] Edge - Support/Resistance | Breakout EntryAlphaX Edge — Support/Resistance × Breakout × Trend Confluence | Multi-Factor Confidence Scoring, Smart S/R Zones & Squeeze Detection
AlphaX Edge is a professional multi-confluence trading system that combines six independent analytical layers into a single unified signal engine. Rather than relying on any single indicator, it requires agreement across Support/Resistance structure, trend direction, momentum, volume, ADX strength, and squeeze dynamics before generating a signal — producing fewer, higher-quality setups and filtering out the noise that plagues single-indicator systems. Designed for intraday and swing traders across all instruments and timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📸 Visual Overview
The chart displays color-coded S/R zones, breakout and retest labels, trend structure labels, EMA ribbons, RSI divergence diamonds, and triangle entry signals — all governed by a real-time dashboard showing every active market condition at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Six Analytical Layers
1 — Smart Support & Resistance Zones
AlphaX Edge automatically detects, merges, and manages S/R zones using pivot-based swing detection. Each zone is:
Built from confirmed swing highs and lows using a configurable swing length
Merged automatically when two levels fall within a user-defined ATR multiplier — preventing zone clutter
Color-coded by role: yellow-green for confirmed support, red for confirmed resistance, gray for untested levels
Aged out after a configurable number of bars to keep the chart clean and relevant
Upgraded from neutral to confirmed only after a minimum number of touches — preventing weak levels from triggering signals
When price approaches a confirmed zone from above, the zone acts as resistance. When approached from below, it acts as support. Broken zones flip polarity — a broken resistance becomes support and vice versa — and are tracked for retest opportunities.
2 — Breakout Detection with Anti-Fake Filter
A breakout is confirmed only when all of the following conditions are met simultaneously:
The candle body closes convincingly beyond the zone boundary (not just a wick poke)
The candle body represents at least 40% of the total candle range — no doji or indecision candles
Volume confirms participation (configurable: require spike or simply above-average volume)
A cooldown timer prevents repeated breakout labels during choppy back-and-forth action
RSI is not at an extreme overbought/oversold level — unless ADX confirms the trend is genuinely strong (preventing exhaustion breakout entries)
3 — Trend Structure Analysis
AlphaX Edge tracks market structure using higher swing pivots — independently from the S/R zone engine. It identifies:
Higher Highs + Higher Lows → confirmed uptrend structure
Lower Highs + Lower Lows → confirmed downtrend structure
Trend line drawn automatically connecting the most recent pivot lows (uptrend) or pivot highs (downtrend)
UPTREND ▲ and DOWNTREND ▼ labels fire when structure shifts — with a configurable cooldown to prevent label spam
4 — EMA Trend Ribbon
Three EMAs provide structural context at all times:
Fast EMA (21) — yellow-green cross marks — immediate momentum direction
Medium EMA (50) — gray line — intermediate trend filter
Slow EMA (200) — dark gray thick line — macro structural backbone
When all three are fanned in sequence (Fast > Medium > Slow for bull, reverse for bear), the trend is healthy and signals carry higher weight in the confluence engine. When they converge and flatten, the market is ranging — a visual warning to stand aside.
5 — Momentum Engine (RSI + MACD + Stochastic)
Three oscillators run simultaneously and vote on momentum direction:
RSI slope direction with smoothing — avoids single-bar noise
MACD line vs signal cross and histogram direction
Stochastic K vs D with overbought/oversold zone filtering
A minimum of two out of three must agree before momentum is considered bullish or bearish. This voting approach prevents a single oscillator spike from generating false signals.
6 — Bollinger Squeeze Detection
The squeeze engine monitors when Bollinger Bands contract inside Keltner Channels — indicating coiled volatility about to expand. When the squeeze fires (bands break outside the channels), directional momentum is assessed to determine which way the expansion is likely to break. Squeeze entries carry bonus weight in the confluence scoring system.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 Confluence Scoring & Confidence System
Every signal is evaluated across 10 independent factors , each contributing one point to the confluence score. Only signals meeting your configured minimum score threshold are displayed.
The 10 factors per direction:
✓ SUP — Price is at a confirmed support zone (bull) or resistance zone (bear)
✓ BRK — A valid breakout has just occurred in the signal direction
✓ RET — A confirmed post-breakout retest is occurring
✓ TRD — Trend structure (HH+HL or LH+LL) aligns with signal direction
✓ MOM — At least 2 of 3 momentum oscillators confirm direction
✓ PAT — A candlestick pattern is present (engulfing, pin bar, or RSI divergence)
✓ VOL — Volume is above average and candle closes in the signal direction
✓ EMA — EMA ribbon is aligned or price is on the correct side of the 200 EMA
✓ ADX — ADX confirms a trending market with directional dominance
✓ SQZ — Squeeze has fired or is expanding in the signal direction
Alongside the 10-point score, a confidence percentage (0–100%) is calculated using a weighted system that gives higher importance to structural factors (retest = 20 pts, breakout = 16 pts, support/resistance = 14 pts) and applies heavy penalties for counter-trend signals, overbought/oversold exhaustion, no-trend conditions, overextension from EMAs, and low volume. The resulting grade ranges from D to A+.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Signal Types — Complete Entry Guide
AlphaX Edge produces four distinct signal types. Below is a ranked guide to how each should be traded, from highest to lowest quality.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🥇 RANK 1 — Breakout + Volume Spike Confirmation (Highest Quality)
What it looks like: A BREAKOUT ▲ or BREAKOUT ▼ label appears, and within 1–2 candles a volume spike dot (●) appears in the same direction. The confluence triangle signal fires.
Why it's the strongest: The volume spike occurring immediately after or alongside the breakout label confirms that institutional participation is behind the move. A breakout without volume is frequently a trap — a breakout with a volume spike right after is significantly more likely to follow through.
How to enter:
Wait for the breakout label to appear AND see the volume spike dot on the same or next 1–2 candles
Enter at market on the close of the volume spike candle, or on a small pullback into the broken level
Stop loss: just below the broken resistance (for longs) or just above the broken support (for shorts) — beyond the zone boundary
Target: next S/R zone visible on the chart, or a 1.5–2x ATR minimum
⚠ If BREAKOUT ▲/▼ shows "⚠ STRETCHED": This means price is already significantly extended from the EMA ribbon at the moment of the breakout. A volume spike dot within 1–2 candles still validates the move — but be aware that a pullback to the EMAs is likely before continuation. In this case, reduce position size or wait for the retest instead of chasing the initial breakout.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🥈 RANK 2 — Retest Entry (High Quality, Lower Risk)
What it looks like: After a BREAKOUT label fires, price pulls back to the broken level within the retest window. A RETEST ▲ or RETEST ▼ label appears, and the confluence triangle signal fires.
Why it's strong: The retest is the classic institutional entry — the breakout already proved the level was breakable, and the pullback offers an optimal risk/reward entry with a nearby and well-defined stop.
How to enter:
Wait for the RETEST label — do not anticipate it. Price must close back in the broken zone's range and show a reversal candle (engulfing or pin bar adds confidence)
Enter on the close of the confirming candle at the retest zone
Stop loss: a close back below the retest zone (not a wick — a full candle body close on the wrong side)
Target: the breakout high/low target or the next S/R zone
Highest conviction retest setup: RETEST label + confluence triangle + volume above average + RSI not at extreme = A or A+ grade signal. These are the setups to size up on.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🥉 RANK 3 — Trend Confluence Signal at S/R (Medium-High Quality)
What it looks like: Price reaches a confirmed support or resistance zone while the trend structure, EMA alignment, momentum, and ADX all agree. The confluence triangle fires without a preceding breakout — price is bouncing from the zone within an established trend.
Why it works: This is the classic trend continuation pullback entry — price returns to a key level inside an ongoing trend, and multiple independent factors confirm the bounce has begun.
How to enter:
The UPTREND ▲ or DOWNTREND ▼ label must have already appeared — do not take confluence signals at S/R during a ranging market (no active trend label = lower confidence)
Wait for a confirming candle at the zone — a bullish engulfing, pin bar, or strong close in the trend direction adds significant weight
Enter on the close of the confirming candle
Stop loss: beyond the S/R zone boundary plus one ATR buffer
Target: the prior swing high/low, next resistance zone, or 2x ATR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4 — Trend Structure Label Entry (Use With Additional Confirmation)
What it looks like: An UPTREND ▲ or DOWNTREND ▼ label appears, marking a confirmed shift in market structure (a new Higher High + Higher Low, or Lower High + Lower Low).
Important — do not enter directly on the label: The trend label confirms that structure has already shifted — it is not an entry signal by itself. Price has typically already moved significantly by the time the label fires, and entering immediately carries the risk of chasing an extended move.
How to use the trend label:
Treat it as a directional bias reset — from this point forward, only look for long setups (after UPTREND ▲) or short setups (after DOWNTREND ▼)
Wait for the first confluence triangle signal that appears after the trend label — this is your primary entry in the new trend direction
Alternatively, wait for price to pull back to the nearest S/R zone or EMA and generate a confluence signal there
The closer the first post-label triangle is to an S/R zone and the 21 or 50 EMA, the higher the trade quality
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ The Stretched Breakout — When to Be Careful
When a breakout label shows "⚠ STRETCHED" , it means the breakout is occurring while price is already significantly extended from the EMA ribbon — the gap between price and the Fast EMA, or between the Fast and Slow EMA, has reached a level where mean reversion risk is elevated.
Stretched breakout without volume spike → Stand aside or reduce size significantly. The move has likely already travelled the bulk of its range for this leg, and a snapback to the EMAs is the more probable next event.
Stretched breakout with volume spike within 1–2 candles → Momentum is genuine, but manage it differently:
Do not chase — wait for a small pullback toward the broken level or the Fast EMA
Use a tighter stop and reduced position size
Take profit earlier than you normally would — the extended distance from EMAs means the move is borrowing from the next leg
Watch for RSI divergence forming quickly after the breakout — this is a sign the stretched move is exhausting
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Choppy / Ranging Markets — When NOT to Trade
AlphaX Edge has multiple visual signals that tell you to step aside:
EMAs converging and flattening — when all three EMAs cluster together and move sideways, there is no directional bias. Signals in this environment are lower quality regardless of score.
No active trend label — if neither UPTREND ▲ nor DOWNTREND ▼ has appeared recently, the market is in a structural no-man's-land. Wait for structure to develop.
Dashboard shows WEAK TREND — STAND ASIDE or MIXED — STAND ASIDE — these verdict states indicate that ADX is below threshold or bull and bear scores are close. Both are warning signs.
Squeeze is ON (● SQUEEZE ON in dashboard) — do not enter during an active squeeze. Wait for the squeeze to fire (◆ SQUEEZE FIRED) and for a directional confluence signal to follow.
Rapid alternating UPTREND/DOWNTREND labels — if the trend structure labels are flipping frequently, the market is whipsawing. The cooldown filter reduces this, but the message is clear: no clean trend is present.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 The Dashboard — Reading Your Market State at a Glance
The real-time dashboard displays 12 live metrics organized into three sections:
Structure Section:
Price Position — whether price is at support, resistance, breaking out, or retesting
Trend — current trend direction with active structure state (HH+HL, LH+LL, etc.)
EMA Trend — EMA ribbon alignment and price position relative to the 200 EMA
ADX — trend strength with numeric value
Squeeze — current squeeze state
Momentum Section:
Momentum — oscillator vote count (how many of the three confirm each direction)
RSI — current RSI state (rising, falling, overbought, oversold) with numeric value
Rel Volume — current volume relative to the moving average (Dry / Normal / High / Spike)
Scoring Section:
Bull Score — current confluence count out of 10 and confidence percentage with grade
Bear Score — same for bearish direction
Verdict — system's current market assessment (High Confidence Long/Short, Lean Long/Short, Mixed, Squeeze, Weak Trend)
Last Signal — direction, grade, confidence %, score, active factors, entry price, and bars since signal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
Edge Long Signal — confluence triangle long entry fires
Edge Short Signal — confluence triangle short entry fires
Bullish Breakout — confirmed resistance breakout
Bearish Breakout — confirmed support breakdown
Bullish Retest — post-breakout bullish retest confirmed
Bearish Retest — post-breakout bearish retest confirmed
RSI Bull Divergence — bullish RSI divergence detected
RSI Bear Divergence — bearish RSI divergence detected
All alert messages include {{ticker}} and {{interval}} for clean webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 Six-layer confluence engine — S/R, breakout, trend structure, EMA, momentum, squeeze must agree before a signal fires
🏷 Smart S/R zones — auto-merged, touch-confirmed, polarity-flipping, age-managed
⚠ Stretch filter — warns when breakouts occur at EMA-extended levels with visual label modification
🧠 10-factor confluence scoring with weighted confidence percentage and A+ to D grading
📊 Anti-fake breakout engine — body strength, volume, margin close, and RSI/ADX filter required
◆ Bollinger Squeeze integration — coiled volatility detection with directional momentum bias
📐 Three-EMA structural ribbon (21 / 50 / 200) with fan analysis
💎 RSI divergence detection with pivot-confirmed highs and lows
🕯 Candlestick pattern recognition — engulfing, pin bar, strong body candles
📋 Real-time 12-metric dashboard with live verdict and last signal tracker
🔔 8 alert conditions with ticker and interval placeholders
⚙ Fully configurable — all periods, thresholds, zone parameters, stretch filters, label sizes, and colors adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Support / Resistance
S/R Swing Length — pivot detection sensitivity (default: 7)
Merge Zones Within (x ATR) — how close two levels must be to merge (default: 1.2)
Max Active Zones — maximum number of zones displayed simultaneously (default: 6)
Zone Max Age (bars) — bars before an untouched zone is removed (default: 250)
Min Touches to Confirm — touches required before a zone is considered confirmed (default: 2)
Show S/R Zones / Show S/R Level Lines — visibility toggles
Breakout Detection
Show Breakout Labels — toggle breakout label display
Require Volume on Breakout — whether volume confirmation is required (default: on)
Breakout Volume Multiplier — volume threshold relative to average (default: 1.4x)
Breakout Cooldown (bars) — minimum bars between breakout labels (default: 10)
Show Retest Labels / Retest Window (bars) — retest detection controls
Trend Structure
Trend Swing Length — pivot length for structure analysis (default: 12)
Show Trend Lines / Show Trend Shift Labels — visibility toggles
Trend Label Cooldown — minimum bars between trend labels (default: 18)
Momentum
RSI Length (default: 14) — Show RSI Divergence toggle
ADX Length (default: 14) — ADX Trend Threshold (default: 22)
Volume
Volume MA Length (default: 20) — Show Volume Spike Dots toggle
Squeeze Filter
Bollinger Band Length / Multiplier — BB parameters for squeeze detection
Keltner Channel Length / Multiplier — KC parameters for squeeze detection
EMA Settings
Fast / Medium / Slow EMA lengths (defaults: 21 / 50 / 200) with individual visibility toggles
Stretch Filter
Stretch: Fast EMA Distance (x ATR) — how far price must be from Fast EMA to trigger stretch warning (default: 2.0)
Stretch: EMA Spread (x ATR) — how wide the EMA ribbon must be to trigger stretch warning (default: 3.0)
Confluence Engine
Min Confluence Score — minimum out of 10 factors required for a signal (default: 4)
Show Entry Signals — toggle triangle signals
Signal Cooldown (bars) — minimum bars between entry signals (default: 12)
Display
Show Dashboard — toggle dashboard visibility
Dashboard Position — Top Right / Top Left / Bottom Right / Bottom Left
Dashboard Text Size — Tiny / Small / Normal
Dashboard Background color
Label Size — controls size of all chart labels (Tiny / Small / Normal, default: Tiny)
Theme
Bull Primary / Bright / Dim — yellow-green family for all bullish elements
Bear Primary / Bright / Dim — red family for all bearish elements
Support / Resistance / Untested Zone Colors
Neutral color for inactive states
Individual EMA colors
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument
XAUUSD 1m–5m — defaults work well. Increase ADX threshold to 25 on 5m for cleaner trend filter.
Forex Majors — reduce S/R Swing Length to 5, reduce Breakout Volume Multiplier to 1.2
Indices (NAS100, US30) — increase Trend Swing Length to 15–18, increase Min Confluence to 5
Higher Timeframes (1H+) — increase all swing lengths by 30–50%, increase signal cooldowns
More signals — reduce Min Confluence Score to 3, reduce ADX threshold to 18
Cleaner signals — increase Min Confluence Score to 5–6, enable volume requirement
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🥇 Breakout traders — the anti-fake breakout engine with volume, body strength, and RSI/ADX filters is built specifically to eliminate the false breakouts that destroy breakout strategies
📉 Pullback and retest traders — the retest detection system with polarity-flipping zones provides textbook entries at confirmed levels
📊 Trend followers — trend structure analysis with EMA ribbon and ADX ensures signals only fire in genuine trending conditions
🧠 Systematic traders — the 10-factor scoring and confidence grading give a quantitative framework, not just colored arrows
📈 Traders who want clean charts — everything is on one indicator with a consistent visual language. No indicator soup.
⚠ Traders who struggle with overtrading — the confluence requirements, ADX filter, squeeze gate, and cooldown timers physically prevent low-quality signals from appearing
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — no repainting
S/R zones use extend.right — they project forward until broken or aged out
The squeeze engine compares Bollinger Bands against Keltner Channels on every bar — no external squeeze indicator required
RSI divergence uses confirmed pivot highs and lows with a minimum separation requirement — single-bar spikes do not qualify
Maximum 500 labels, boxes, and lines are used — on very low timeframes with extended history, oldest drawings may be removed by PulseWire's rendering limits
The confidence percentage and grade are recalculated on every bar in real time — the dashboard always reflects the current bar's conditions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who need more than arrows — a full analytical system that thinks before it signals. Indicator

Viprasol Sniper Confluence Entry/Exit## Overview
The Sniper Confluence Entry/Exit indicator builds on Sniper Entry/Exit with SL&TP by , which provided EMA crossover signals with ATR-based stop-loss/take-profit levels, a VWAP overlay, RSI/MACD display, and retest candle highlighting. This version adds a 7-factor confluence scoring engine that gates every signal — crossovers only fire when multiple technical factors align, dramatically reducing false entries. Built for swing and intraday traders who want clean, high-probability setups with automatic risk management.
## How It Works
**Signal Generation (from original):**
Entries are triggered by a Fast EMA / Slow EMA crossover. When the fast EMA crosses above the slow EMA, a long signal is generated; when it crosses below, a short signal is generated. The original script displayed these crossovers alongside supporting indicators (VWAP, RSI, MACD) but did not require them to agree before firing a signal.
**7-Factor Confluence Engine (new):**
This version adds a scoring layer that sits between the crossover and the signal output. Each bar, the indicator evaluates 7 independent factors and assigns 1 point for each that confirms the trade direction. A signal only fires when the total score meets your minimum threshold (default: 4/7).
Scoring logic (pseudocode):
```
confluenceScore = 0
// Factor 1: Price vs VWAP
if (long and close > vwap) or (short and close < vwap) → score += 1
// Factor 2: RSI direction
if (long and rsi > 50) or (short and rsi < 50) → score += 1
// Factor 3: MACD trend
if (long and macdLine > signalLine) or (short and macdLine < signalLine) → score += 1
// Factor 4: EMA alignment
if (long and fastEMA > slowEMA) or (short and fastEMA < slowEMA) → score += 1
// Factor 5: ADX + directional index
if adx > 25 and ((long and diPlus > diMinus) or (short and diMinus > diPlus)) → score += 1
// Factor 6: Volume confirmation
if volume > volumeSMA and ((long and close > open) or (short and close < open)) → score += 1
// Factor 7: Secondary timeframe RSI
if (long and secondaryRSI > 50) or (short and secondaryRSI < 50) → score += 1
signal fires only if confluenceScore >= minimumScore
```
A score of 5/7 or higher typically indicates a strong, well-supported setup. The configurable minimum lets you tune signal frequency vs. quality.
**Bar-Close Confirmation (new):**
When enabled, signals are delayed until the bar closes, preventing premature entries from intra-bar wicks that reverse before close.
**ATR-Based Stop-Loss & Take-Profit (from original, extended):**
The original calculated a single stop-loss and take-profit from ATR. This version extends that to:
- **Stop-Loss** — ATR multiplied by your chosen risk factor (same core logic as original)
- **Take-Profit Levels (1-5)** — Configurable number of TP levels at 1R, 2R, 3R, 4R, 5R distances (new — original had fixed levels)
- **Trailing Stop to Breakeven** — Optionally moves SL to entry price once TP1 is hit (new)
**Retest Candle Highlighting (from original):**
Bars that pull back to the fast EMA after a signal are highlighted in orange, marking potential add-on or re-entry opportunities.
**Secondary Timeframe RSI (from original, extended):**
The original included a secondary timeframe RSI hardcoded to the 5-minute chart. This version makes the timeframe user-configurable.
## Key Features
**From the Original:**
- EMA crossover signal generation (fast/slow EMA)
- ATR-based stop-loss and take-profit calculation
- VWAP overlay with directional coloring
- RSI and MACD display
- Retest candle highlighting at EMA pullbacks
- Secondary timeframe RSI confirmation
**Added in This Version:**
- 7-factor confluence scoring engine with configurable minimum score threshold
- Bar-close confirmation filter to prevent wick-driven false entries
- Trailing stop-loss to breakeven after TP1 is hit
- Configurable number of take-profit levels (1-5, was fixed)
- Configurable secondary timeframe (was hardcoded to 5m)
- SL label showing breakeven status when trailing is active
- 5 alert conditions with dynamic messages
- Full dashboard showing all 7 confluence factors, position status, and targets hit
## How to Use
**Setup:**
1. Add to any chart (works on all markets and timeframes)
2. Set your preferred EMA periods (default: 9/21)
3. Adjust the minimum confluence score — higher = fewer signals, better quality
4. Set your ATR multiplier for stop-loss width
**Reading Signals:**
- **LONG label** appears below bar when bullish crossover fires with sufficient confluence
- **SHORT label** appears above bar when bearish crossover fires with sufficient confluence
- Blue line = Entry, Red line = Stop-Loss, Green dashed lines = Take-Profit levels
- Lines turn turquoise when their target is hit
- Orange candles indicate price retesting the fast EMA (potential add-on opportunity)
**Dashboard:**
The side panel shows real-time scores for all 7 factors plus current position info, targets hit, and SL status.
**Recommended Starting Settings:**
- Scalping (1m-5m): Fast EMA 5, Slow EMA 13, Min Score 5, ATR Mult 1.0
- Intraday (15m-1H): Fast EMA 9, Slow EMA 21, Min Score 4, ATR Mult 1.5
- Swing (4H-1D): Fast EMA 9, Slow EMA 21, Min Score 4, ATR Mult 2.0
## Settings
**Signal Settings:** Fast/Slow EMA periods and bar-close confirmation toggle.
**Confluence Filter:** Enable/disable the score filter and set the minimum threshold.
**Risk Management:** ATR period, SL multiplier, number of TP levels, and breakeven trailing toggle.
**Secondary Timeframe:** Choose which timeframe provides the secondary RSI confirmation.
**Dashboard:** Position, font size, and show/hide toggle.
**Visuals:** Toggle EMA ribbon, VWAP, TP/SL lines, retest highlighting, label sizes and offsets.
## Alerts
1. **Long Entry Signal** — Fires when a bullish confluence entry triggers
2. **Short Entry Signal** — Fires when a bearish confluence entry triggers
3. **Any Entry Signal** — Fires on either long or short entry
4. **Strong Bull Bias** — Fires when bull confluence score crosses above 70%
5. **Strong Bear Bias** — Fires when bear confluence score crosses above 70%
All alerts include {{ticker}}, {{close}}, and {{interval}} for dynamic notification messages.
## Limitations & Disclaimer
- EMA crossover signals are inherently lagging — they work best in trending markets and may produce whipsaws during consolidation
- The confluence score uses current-bar values; in fast markets, conditions can change quickly
- The secondary timeframe RSI uses `request.security()` which may repaint on the current bar of that timeframe
- TP/SL levels are visual guides — they do not execute trades automatically
- Past performance of any signal system does not guarantee future results
- This indicator is for educational and analytical purposes only — it is not financial advice. Always use proper risk management and do your own analysis before trading.
## Credits & Attribution
This indicator is derived from **"Sniper Entry/Exit with SL&TP (open-source, PulseWire). The following components originate from that script:
- EMA crossover signal generation logic
- ATR-based stop-loss and take-profit calculation
- VWAP overlay
- RSI and MACD display
- Retest candle highlighting concept
- Secondary timeframe RSI (originally hardcoded to 5m)
Viprasol additions: 7-factor confluence scoring engine, bar-close confirmation, trailing stop to breakeven, configurable TP levels (1-5), configurable secondary timeframe, breakeven status labels, alert conditions, and dashboard.
Indicator

Indicator
