Indicator

[Kpt-Ahab] Moving Average Simple AlgoPilotImportant Notice and Risk Warning
The published settings were selected exclusively based on historical data for the asset and timeframe shown.
The displayed result may be random or over-optimized and cannot automatically be transferred to other assets, timeframes, or future market conditions. Even with the presented settings, the strategy may cause significant losses at any time, including the complete loss of the allocated strategy capital.
This script is intended exclusively for analysis and testing purposes. It does not constitute investment advice or a trading recommendation.
Description
This script uses reused and adapted code components from ** Auto RiskManagement & Backtest System 2.1b** and the ** Moving Average Alarm Output **.
These components have been combined into a standalone strategy that integrates moving-average signals with position management, risk management, and backtesting functions.
How It Works
The strategy uses two freely configurable moving averages. **SMA, EMA, WMA, VWMA, or HMA** can be selected independently for the short and long moving averages.
A long signal is generated when the short moving average crosses above the long moving average. A short signal is generated when the short moving average crosses below the long moving average.
The moving averages are displayed directly on the chart. An additional colored area visualizes the position of the price relative to the long moving average. Its intensity changes according to the distance between the two moving averages.
Position and Risk Management
The script supports, among other features:
* Long and short positions
* Fixed or trailing stop-loss levels
* Multiple partial profit targets
* A final profit target
* Breakeven after the first profit target
* Optional additional entries
* Drawdown and losing-trade limits
* Internal or external trading signals
* Different position-sizing methods
Additional entries and simulated leverage may significantly increase the risk of loss.
Backtest Limitations
Strategy Tester results are based exclusively on historical market data. Real-world results may differ significantly due to commissions, spreads, slippage, liquidity, price gaps, and execution delays.
Past performance is not a reliable indication of future results.
Signals During an Open Position
The **Open Position Signals** setting determines how new signals are handled while a position is already open:
* **Wait-End-Deal:** All new moving-average signals are ignored until the current position has been closed by a profit target, stop-loss, or another protective function.
* **Wait-Reversal:** An opposing moving-average signal may close the currently open position.
With **Wait-Reversal**, a sell signal closes a long position, while a buy signal closes a short position. The opposing signal does not automatically open a new position during the same step.
Price-based additional entries remain independent of this setting and may still be executed when enabled.
Stop-Loss, Trailing Stop, Breakeven, and Liquidation Line
The strategy supports both a fixed stop-loss and a trailing stop. The selected percentage represents the direct price distance from the average entry price and is not automatically adjusted by the simulated leverage.
In **FIXED %** mode, the stop is calculated from the current average entry price. If the average entry price changes due to an additional entry, the stop is recalculated accordingly.
In **TRAILING** mode, the stop only moves in a direction that is favorable to the position. If the average entry price changes due to an additional entry, the existing trailing stop is adjusted accordingly.
The stop may optionally be moved to the average entry price after the first profit target has been reached. A stop mode must be enabled for this breakeven function to operate.
The displayed liquidation line is only an internal estimate based on the simulated position and account values. It may differ significantly from the actual liquidation calculation used by a broker or exchange.
Using External Indicators
An external numerical signal source may be used instead of the integrated moving-average signals.
The external indicator must provide a selectable plot series containing the following values:
* **+1:** Long or buy signal
* **−1:** Short or sell signal
All other values, including `na`, produce no new signal.
The external indicator must output the required numerical values through a selectable plot. This plot can then be selected under **External Source**.
How an external signal is processed while a position is already open also depends on the selected **Open Position Signals** setting.
Wichtiger Hinweis und Risikowarnung
Die veröffentlichten Einstellungen wurden ausschließlich anhand historischer Daten für das dargestellte Asset und den verwendeten Zeitrahmen gewählt.
Das Ergebnis kann zufällig oder überoptimiert sein und lässt sich nicht automatisch auf andere Assets, Zeitrahmen oder zukünftige Marktphasen übertragen. Auch mit den dargestellten Einstellungen kann die Strategie jederzeit erhebliche Verluste verursachen und das eingesetzte Strategiekapital vollständig verlieren.
Dieses Skript dient ausschließlich zu Analyse- und Testzwecken und stellt keine Anlageberatung oder Handelsempfehlung dar.
Beschreibung
Dieses Skript verwendet wiederverwendete und angepasste Codebestandteile aus ** Auto RiskManagement & Backtest System 2.1b** und dem ** Moving Average Alarm Output **.
Die Komponenten wurden zu einer eigenständigen Strategie verbunden, die Moving-Average-Signale mit Positions-, Risiko- und Backtestfunktionen kombiniert.
Funktionsweise
Die Strategie verwendet zwei frei konfigurierbare gleitende Durchschnitte. Für den kurzen und den langen Moving Average können jeweils **SMA, EMA, WMA, VWMA oder HMA** ausgewählt werden.
Ein Long-Signal entsteht, wenn der kurze Moving Average den langen Moving Average von unten nach oben kreuzt. Ein Short-Signal entsteht bei einer Kreuzung von oben nach unten.
Die Moving Averages werden direkt im Chart dargestellt. Eine zusätzliche farbliche Fläche visualisiert die Position des Kurses relativ zum langen Moving Average. Die Intensität der Darstellung verändert sich abhängig vom Abstand zwischen den beiden Moving Averages.
Positions- und Risikomanagement
Das Skript unterstützt unter anderem:
* Long- und Short-Positionen
* feste oder nachlaufende Stop-Loss-Marken
* mehrere Teilgewinnziele
* ein abschließendes Gewinnziel
* Breakeven nach dem ersten Gewinnziel
* optionale zusätzliche Einstiege
* Drawdown- und Verlustserienbegrenzungen
* interne oder externe Handelssignale
* unterschiedliche Methoden zur Bestimmung der Positionsgröße
Zusätzliche Einstiege und ein simulierter Hebel können das Verlustrisiko deutlich erhöhen.
Einschränkungen des Backtests
Die Ergebnisse des Strategietesters basieren ausschließlich auf historischen Kursdaten. Reale Ergebnisse können durch Gebühren, Spread, Slippage, Liquidität, Kurslücken und Ausführungsverzögerungen erheblich abweichen.
Vergangene Ergebnisse sind kein verlässlicher Hinweis auf zukünftige Ergebnisse.
Signale während einer offenen Position
Über **Open Position Signals** wird festgelegt, wie neue Signale während einer bereits geöffneten Position behandelt werden:
* **Wait-End-Deal:** Alle neuen Moving-Average-Signale werden ignoriert, bis die aktuelle Position durch ein Gewinnziel, einen Stop-Loss oder eine andere Schutzfunktion beendet wurde.
* **Wait-Reversal:** Ein entgegengesetztes Moving-Average-Signal kann die aktuell geöffnete Position schließen.
Bei **Wait-Reversal** schließt ein Verkaufssignal eine Long-Position und ein Kaufsignal eine Short-Position. Das entgegengesetzte Signal eröffnet dabei nicht automatisch im selben Schritt eine neue Position.
Preisbasierte zusätzliche Einstiege bleiben von dieser Auswahl unabhängig und können weiterhin ausgeführt werden, sofern sie aktiviert sind.
Stop-Loss, Trailing-Stop, Breakeven und Liquidationslinie
Die Strategie unterstützt einen festen Stop-Loss sowie einen nachlaufenden Trailing-Stop. Der eingestellte Prozentwert beschreibt den direkten Kursabstand zum durchschnittlichen Einstiegspreis und wird nicht automatisch durch den simulierten Hebel verändert.
Im Modus **FIXED %** wird der Stop anhand des aktuellen durchschnittlichen Einstiegspreises berechnet. Verändert sich dieser durch einen zusätzlichen Einstieg, wird auch der Stop neu berechnet.
Im Modus **TRAILING** wird der Stop nur in eine für die Position günstigere Richtung nachgezogen. Verändert sich der durchschnittliche Einstiegspreis durch einen zusätzlichen Einstieg, wird der bestehende Trailing-Stop entsprechend angepasst.
Optional kann der Stop nach dem Erreichen des ersten Gewinnziels auf den durchschnittlichen Einstiegspreis verschoben werden. Für diese Breakeven-Funktion muss ein Stop-Modus aktiviert sein.
Die angezeigte Liquidationslinie ist lediglich eine interne Schätzung auf Basis der simulierten Positions- und Kontowerte. Sie kann deutlich von der tatsächlichen Liquidationsberechnung eines Brokers oder einer Börse abweichen.
Verwendung externer Indikatoren
Anstelle der integrierten Moving-Average-Signale kann eine externe numerische Signalquelle verwendet werden.
Der externe Indikator muss eine auswählbare Plot-Serie mit den folgenden Werten bereitstellen:
* **+1:** Long- beziehungsweise Kaufsignal
* **−1:** Short- beziehungsweise Verkaufssignal
Bei allen anderen Werten oder bei `na` wird kein neues Signal ausgelöst.
Der externe Indikator muss die benötigten Zahlenwerte direkt über einen auswählbaren Plot ausgeben. Dieser Plot kann anschließend unter **External Source** ausgewählt werden.
Wie ein externes Signal während einer bereits geöffneten Position verarbeitet wird, hängt zusätzlich von der gewählten Einstellung unter **Open Position Signals** ab.
Strategy

Innovation-Gated Hull Supertrend [BackQuant] Innovation-Gated Hull Supertrend
Overview
Innovation-Gated Hull Supertrend is an adaptive trend-following overlay that combines three distinct signal-processing components:
A Hull Moving Average projection for responsive trend estimation.
An innovation-gated recursive filter for adaptive noise reduction.
A volatility-based Supertrend applied to the filtered Hull estimate.
The indicator is designed to behave differently during quiet and active market conditions.
When the Hull estimate changes only slightly relative to recent volatility, the innovation gate restricts how much of that movement is admitted into the filtered trend estimate. The Supertrend bands can also expand during these quieter conditions, reducing sensitivity to minor fluctuations.
When a larger and statistically more meaningful change occurs, the gate opens. The recursive filter becomes more responsive, the Supertrend bands return closer to their base width, and the model is allowed to react more quickly.
The result is a trend framework that attempts to balance two competing requirements:
Remain stable when price movement is small and noisy.
Respond more quickly when new information produces a meaningful displacement.
The indicator does not predict future prices. It is a causal trend model that adapts its response according to the size of newly arriving information relative to the current volatility environment.
Core calculation chain
The complete calculation can be summarised as:
Calculate a Hull Moving Average projection from the selected price source.
Estimate current volatility using ATR, standard deviation, or a blend of both.
Compare the Hull projection with the recursive filter’s previous estimate.
Normalise that difference by volatility to calculate an innovation score.
Pass the score through a smooth logistic gate.
Use the gate to adapt the recursive filter’s measurement and process uncertainty.
Generate the innovation-filtered Hull estimate.
Optionally adapt the Supertrend band multiplier using the same gate.
Apply Supertrend logic around the filtered Hull estimate.
Generate bullish and bearish regime changes when the Supertrend changes sides.
Each stage solves a different problem.
The Hull projection provides a responsive directional input. The innovation filter decides how much of that input should be trusted. The Supertrend then converts the filtered estimate into a persistent trailing regime.
Historical background
The indicator combines ideas from several areas of technical analysis and signal processing.
Hull Moving Average
The Hull Moving Average was developed by Alan Hull as a method of reducing lag while preserving a smooth output.
Traditional moving averages face a basic trade-off:
Short averages respond quickly but contain more noise.
Long averages are smoother but react later.
The Hull Moving Average attempts to improve this balance by combining weighted moving averages of different lengths.
Its general construction is:
Fast WMA = WMA of price over approximately half the main length.
Slow WMA = WMA of price over the full length.
Raw Hull = 2 × Fast WMA - Slow WMA.
Final Hull = WMA of the Raw Hull over the square root of the main length.
The subtraction stage compensates for some of the delay introduced by the longer average. The final square-root smoothing stage reduces noise in the compensated series.
Recursive estimation and the Kalman-filter principle
The innovation filter is based on the general recursive-estimation framework associated with Kalman filtering.
The Kalman filter was developed by Rudolf E. Kálmán and became widely used in engineering, navigation, aerospace, robotics and control systems.
A recursive estimator typically follows two stages:
Predict the current state from the previous state.
Correct that prediction using the newest observation.
The correction depends on how uncertain the model is and how reliable the new observation is believed to be.
The difference between the observation and prediction is called the:
Innovation
In this indicator:
The observation is the current Hull projection.
The prediction is the previous filtered estimate.
The innovation is the difference between them.
A large innovation means the Hull projection has moved significantly away from the model’s prior estimate.
A small innovation means the new observation is close to what the model already expected.
Supertrend
Supertrend is a volatility-trailing concept built from an underlying price reference and ATR-based bands.
Its basic structure consists of:
An upper band above the reference.
A lower band below the reference.
One-sided trailing behaviour.
A regime switch when price crosses the opposing band.
In a bullish regime, the lower band acts as the active trail.
In a bearish regime, the upper band acts as the active trail.
This indicator modifies the conventional approach in two important ways:
The central reference is the innovation-filtered Hull estimate rather than a normal price midpoint.
The band multiplier can adapt according to the innovation gate.
Stage 1: Hull projection
The first stage calculates the Hull projection from the selected price source.
The script determines:
The full Hull length.
A half-length rounded to a valid integer.
A square-root length rounded to a valid integer.
It then calculates:
Fast WMA = WMA(source, half length)
Slow WMA = WMA(source, full length)
Raw Hull = 2 × Fast WMA - Slow WMA
Hull Projection = WMA(Raw Hull, square-root length)
The Hull projection is more responsive than many conventional moving averages of a similar nominal length.
However, responsiveness also means it can react to short-lived movements. For that reason, the Hull projection is not used directly as the final trend line. It becomes the observation supplied to the innovation filter.
Hull Length
The Hull Length controls the underlying trend horizon.
Lower values:
React more quickly.
Follow shorter trend legs.
Produce more local changes.
Admit more short-term noise into the next stage.
Higher values:
Produce a smoother projection.
Focus on broader trend structure.
Respond later to sudden reversals.
The Hull Length therefore controls the basic timescale of the model before any adaptive filtering or Supertrend logic is applied.
Stage 2: Volatility model
The innovation must be interpreted relative to current market conditions.
A movement of 10 points may be large in a quiet market but insignificant in a highly volatile market.
The indicator therefore normalises the innovation using a selectable volatility estimate.
Three modes are available:
ATR
Standard Deviation
Blend
ATR mode
Average True Range measures recent trading range while accounting for gaps from the previous close.
True Range is based on the greatest of:
Current high minus current low.
Absolute current high minus previous close.
Absolute current low minus previous close.
ATR then smooths True Range across the selected Volatility Length.
ATR is useful because it measures the realised movement range of the instrument.
It is sensitive to:
Wide candles.
Price gaps.
Range expansion.
Standard Deviation mode
Standard deviation measures how widely the Hull projection has varied around its recent mean.
It is a dispersion measure rather than a range measure.
Standard deviation responds to:
Variation in the selected series.
Directional displacement.
Changes in the distribution of the filtered input.
While ATR focuses on bar range, standard deviation focuses on dispersion of the Hull series itself.
Blend mode
Blend mode calculates the average of ATR and standard deviation.
Conceptually:
Blended Volatility = (ATR + Standard Deviation) / 2
This provides a combined estimate incorporating:
Observed range behaviour.
Statistical dispersion of the Hull projection.
Neither measure is universally superior. The blend attempts to reduce dependence on only one definition of volatility.
Volatility Length
The Volatility Length controls how quickly the normalisation baseline changes.
Lower values:
React faster to recent volatility changes.
Cause the innovation score to adjust more quickly.
May make the gate less stable.
Higher values:
Produce a slower volatility baseline.
Create more consistent normalisation.
May respond later when volatility changes abruptly.
The volatility estimate is prevented from falling below the instrument’s minimum tick size, avoiding unstable division during extremely quiet periods.
Stage 3: Innovation calculation
The filter begins each bar with a prediction.
In this implementation, the prediction is the previous filtered estimate.
The innovation is:
Innovation = Hull Projection - Previous Filter Estimate
The innovation may be positive or negative.
A positive value means the Hull projection is above the prior estimate.
A negative value means it is below the prior estimate.
The absolute innovation measures the size of the disagreement regardless of direction.
Innovation score
The raw innovation is normalised by current volatility:
Innovation Score = |Innovation| / Volatility
This expresses the new movement in volatility units.
For example:
A score of 0.25 means the innovation is approximately one quarter of the selected volatility measure.
A score of 1.00 means it is approximately equal to that volatility measure.
A score above 1.00 means the change is larger than the current volatility baseline.
The score is dimensionless, making it more comparable across instruments and price scales.
This is the key quantity used to determine whether the filter should remain cautious or become more responsive.
Stage 4: Logistic innovation gate
The innovation score is passed through a logistic function.
The logistic function has the form:
Gate = 1 / (1 + exp(-x))
Its output remains between zero and one.
In the indicator, the gate input depends on:
Innovation Score
Innovation Threshold
Gate Sharpness
Conceptually:
Gate Input = Sharpness × (Score - Threshold)
When the score is below the threshold:
The gate approaches zero.
The filter treats the new Hull movement cautiously.
When the score rises above the threshold:
The gate moves toward one.
The filter becomes more willing to admit the new movement.
The logistic function creates a smooth transition rather than a hard on/off switch.
This is important because a binary threshold could cause abrupt changes whenever the score moves slightly above or below one exact value.
Innovation Threshold
The Innovation Threshold determines where the gate begins moving from a quiet state toward an active state.
Higher values:
Require a larger volatility-normalised innovation.
Keep the filter conservative for longer.
Reject more moderate changes.
Lower values:
Open the gate sooner.
Increase responsiveness.
Allow smaller movements to influence the estimate.
The threshold should be interpreted in relation to the selected volatility model.
Gate Sharpness
Gate Sharpness controls how rapidly the logistic gate transitions around the threshold.
Lower sharpness:
Creates a gradual transition.
Produces a wider intermediate region.
Changes responsiveness smoothly.
Higher sharpness:
Makes the gate behave more like a hard switch.
Creates a faster transition near the threshold.
Produces stronger separation between quiet and active states.
An extremely high value can make the adaptive behaviour abrupt, while a low value may reduce the distinction between quiet and active conditions.
Admission Floor
The gate is converted into an admission value.
The Admission Floor ensures that the filter never completely ignores the Hull projection.
The admission calculation is:
Admission = Floor + (1 - Floor) × Gate
When the gate is near zero:
Admission remains near the selected floor.
When the gate is near one:
Admission approaches one.
A lower floor creates stronger filtering during quiet conditions.
A higher floor keeps the model more responsive even when innovation is small.
This setting prevents the estimator from becoming fully frozen.
Stage 5: Adaptive recursive update
The admission and gate values modify two uncertainty terms:
Measurement noise.
Process noise.
These terms control how the recursive filter balances its existing estimate against the new Hull observation.
Measurement Noise
Measurement Noise represents uncertainty in the incoming Hull projection.
Higher measurement noise tells the filter:
Trust the new observation less.
Remain closer to the previous estimate.
Produce more smoothing.
Lower measurement noise tells the filter:
Trust the Hull projection more.
Correct the estimate more aggressively.
Become more responsive.
The script adapts measurement noise using the admission value:
Adaptive Measurement Noise = Base Measurement Noise / Admission
When admission is low:
Measurement noise increases.
The new Hull movement receives less weight.
When admission is high:
Measurement noise moves closer to its base value.
The filter becomes more receptive.
Process Noise
Process Noise represents uncertainty in the filter’s current state model.
Higher process noise tells the estimator:
The underlying trend may be changing.
The previous estimate may no longer be reliable.
Allow faster adaptation.
Lower process noise tells it:
Assume the existing state remains relatively stable.
Change the estimate more cautiously.
The script increases process noise as the gate opens:
Adaptive Process Noise = Base Process Noise × (1 + Process Boost × Gate)
This creates a two-sided adaptive response.
During quiet conditions:
Measurement noise increases.
Process noise remains closer to its base level.
The filter resists small changes.
During high-innovation conditions:
Measurement noise decreases toward its normal value.
Process noise increases.
The filter becomes substantially more responsive.
Process Boost
Process Boost controls how strongly the process uncertainty expands when the gate opens.
Higher values:
Allow faster response to large innovations.
Increase the filter gain during active movement.
Can make the model more sensitive after shocks.
Lower values:
Keep behaviour closer to the base recursive filter.
Produce more controlled adaptation.
May respond more slowly to genuine regime changes.
Covariance and filter gain
The recursive filter maintains an internal covariance representing uncertainty in its estimate.
Before the new observation is processed:
Predicted Covariance = Previous Covariance + Adaptive Process Noise
The filter gain is then:
Gain = Predicted Covariance / (Predicted Covariance + Adaptive Measurement Noise)
The gain remains between zero and one.
A low gain means:
The previous estimate receives more influence.
The Hull observation receives less influence.
A high gain means:
The filter moves more strongly toward the current Hull projection.
The new estimate is:
Filtered Hull = Prediction + Gain × Innovation
The covariance is then updated for the next bar.
Why the filter is innovation-gated
A normal recursive filter may use constant process and measurement noise settings.
That means its responsiveness is broadly fixed.
This indicator changes those terms according to the size of the innovation.
The model therefore behaves differently under two broad conditions.
Quiet condition
When the Hull projection remains close to the prior estimate relative to volatility:
Innovation score is low.
Gate remains mostly closed.
Admission is limited.
Adaptive measurement noise rises.
Process noise remains lower.
Filter gain falls.
The filtered Hull changes more slowly.
Active condition
When the Hull projection moves meaningfully away from the prior estimate:
Innovation score rises.
Gate opens.
Admission approaches one.
Measurement noise decreases.
Process noise increases.
Filter gain rises.
The estimate adapts more quickly.
This allows the model to filter small movement without applying the same degree of resistance to every large move.
Stage 6: Innovation-adaptive Supertrend bands
The filtered Hull becomes the centre of the Supertrend calculation.
The initial raw bands are:
Upper Band = Filtered Hull + Factor × ATR
Lower Band = Filtered Hull - Factor × ATR
The Supertrend uses its own ATR Period, which is independent of the volatility length used by the innovation score.
This distinction is important:
Innovation volatility determines whether the filter should admit new information.
Supertrend ATR determines the distance of the trailing regime bands.
Adaptive band factor
When Adapt Bands With Innovation is enabled, the Supertrend factor changes according to the gate.
The adaptive factor is:
Adaptive Factor = Base Factor ×
When the gate is near one:
The adaptive factor approaches the base factor.
Bands become relatively tighter.
The Supertrend can respond more readily.
When the gate is near zero:
The factor expands above its base value.
Bands become wider.
Minor price fluctuations are less likely to cause a reversal.
This creates coordinated adaptation:
Quiet conditions produce stronger filtering and wider bands.
Active conditions produce faster filtering and narrower bands.
The same innovation state therefore influences both the centre estimate and the trailing threshold.
Quiet Band Expansion
Quiet Band Expansion controls how much wider the Supertrend factor becomes when the innovation gate is closed.
A value of zero disables the expansion effect even if band adaptation is enabled.
Higher values:
Create wider bands during low-innovation conditions.
Reduce quiet-market reversals.
Delay new signals until price moves further.
Lower values:
Keep the adaptive factor closer to its base setting.
Allow more responsive regime changes.
The expansion is greatest when the gate is near zero and fades as the gate opens.
Supertrend trailing logic
The raw upper and lower bands are converted into one-sided trailing bands.
The lower band is prevented from moving downward while price remains above its previous value.
The upper band is prevented from moving upward while price remains below its previous value.
This ratcheting behaviour creates:
A rising lower trail during bullish conditions.
A falling upper trail during bearish conditions.
A trend change occurs when price crosses the active opposing boundary.
In a bullish regime:
The lower band is the active Supertrend.
In a bearish regime:
The upper band is the active Supertrend.
ATR Period and Factor
ATR Period
Controls the volatility horizon used to construct the Supertrend bands.
Lower values:
React faster to current range changes.
Produce more variable band widths.
Higher values:
Produce a steadier range estimate.
Respond more slowly to sudden volatility changes.
Factor
Controls the base distance between the filtered Hull and the Supertrend bands.
Lower factors:
Create tighter bands.
Produce earlier regime changes.
Increase sensitivity to noise.
Higher factors:
Create wider bands.
Produce fewer regime changes.
Increase confirmation delay.
When adaptation is enabled, the selected factor acts as the minimum or active-condition factor. Quiet conditions may expand it further.
Trend signals
The indicator generates a long signal when the Supertrend changes into its bullish state.
It generates a short signal when the Supertrend changes into its bearish state.
The signal requires the completed calculation chain:
Hull projection.
Innovation filtering.
Adaptive band factor.
Supertrend regime change.
The plotted symbols are:
𝕃 for a bullish transition.
𝕊 for a bearish transition.
These markers identify regime changes. They are not complete trading systems and do not define stop placement, position size or profit targets.
Innovation impulse alert
The script also includes an Innovation Impulse alert.
This occurs when the innovation score crosses above the selected Innovation Threshold.
It indicates that:
The difference between the Hull projection and the recursive estimate has become large relative to volatility.
The gate is entering a more active state.
The filter is beginning to admit new information more aggressively.
An innovation impulse does not necessarily produce an immediate Supertrend reversal.
It can occur:
During acceleration within an existing trend.
At the beginning of a possible regime change.
During a temporary volatility shock.
It is therefore best interpreted as an information-arrival event rather than an automatic long or short signal.
Visual components
Hull Projection
Displays the unfiltered Hull Moving Average input.
This is useful for comparing:
The responsive raw projection.
The innovation-filtered result.
The final Supertrend.
The Hull projection will generally react first.
Filtered Hull
Displays the recursive innovation-gated estimate.
The distance between the Hull projection and filtered Hull helps illustrate the filter’s current behaviour.
During quiet conditions:
The filtered Hull may lag behind small changes.
During meaningful innovations:
It can move more rapidly toward the Hull projection.
IGH Supertrend
Displays the final volatility trail around the filtered Hull.
It is the primary regime output.
The line is coloured according to the persistent bullish or bearish trend state.
Candle colouring
Candles may be coloured according to the active Supertrend regime:
Bullish colour during the long regime.
Bearish colour during the short regime.
This provides immediate chart-wide directional context.
How to interpret the indicator
Bullish regime
A bullish regime indicates that price has crossed into the bullish side of the adaptive Supertrend structure.
The active trail is positioned below the market and can be interpreted as:
A dynamic trend boundary.
A possible pullback reference.
A regime invalidation guide.
Bearish regime
A bearish regime indicates that price has crossed into the bearish side of the adaptive structure.
The active trail is positioned above the market and may act as:
Dynamic resistance.
A rally reference.
A bearish regime invalidation guide.
Low innovation score
A low score means the current Hull movement is small relative to volatility.
The model responds by:
Filtering more strongly.
Reducing admission.
Using a lower recursive gain.
Potentially expanding the Supertrend bands.
This is intended to reduce reactions to small fluctuations.
High innovation score
A high score means the Hull projection has changed substantially relative to volatility.
The model responds by:
Opening the gate.
Increasing admission.
Increasing process uncertainty.
Raising the filter gain.
Reducing quiet-condition band expansion.
This allows a faster response when the incoming information is more significant.
Rising Hull without a trend flip
The Hull projection may turn before the filtered Hull or Supertrend.
This means:
The fast input has changed.
The adaptive filter has not yet admitted enough of that change.
The Supertrend boundary has not yet been crossed.
This is not an error. It demonstrates the staged confirmation design.
Innovation impulse without trend reversal
An innovation impulse can occur without a long or short signal.
This may indicate:
Acceleration in the existing trend.
A volatility shock.
An attempted reversal that has not crossed the Supertrend.
The Supertrend remains the final regime layer.
How to use the indicator
1. Trend regime filter
Use the active Supertrend state to filter another entry method:
Prioritise long setups during bullish regimes.
Prioritise short setups during bearish regimes.
2. Pullback framework
In a bullish regime, pullbacks toward the Supertrend may represent tests of the active trend boundary.
In a bearish regime, rallies toward the Supertrend may represent resistance tests.
A touch alone does not guarantee continuation.
3. Innovation monitoring
The innovation alert can be used to identify when the model detects a meaningful change in its input.
This may help direct attention to:
Fresh acceleration.
Breakout attempts.
Possible trend transitions.
4. Confirmation framework
The three optional lines can be read as a progression:
Hull projection changes first.
Filtered Hull adapts according to innovation.
Supertrend confirms the final regime.
This allows users to study the difference between early movement and confirmed structure.
5. Trailing risk reference
The final Supertrend may be used as a visual trailing reference.
However, it does not account for:
Account size.
Position size.
Slippage.
Liquidity.
Maximum acceptable loss.
It should not replace a complete risk-management process.
Parameter interaction
The settings should not be tuned independently without considering how they interact.
More responsive configuration
A more responsive setup may use:
Lower Hull Length.
Lower Innovation Threshold.
Higher Admission Floor.
Lower Measurement Noise.
Higher Process Noise or Process Boost.
Lower Supertrend Factor.
Lower Quiet Band Expansion.
This will generally produce earlier changes but more noise.
More conservative configuration
A more conservative setup may use:
Higher Hull Length.
Higher Innovation Threshold.
Lower Admission Floor.
Higher Measurement Noise.
Lower Process Boost.
Higher Supertrend Factor.
Higher Quiet Band Expansion.
This will generally create fewer transitions but greater delay.
Balanced interpretation
Changing several settings in the same direction can produce an extreme result.
For example:
A very low threshold, high admission floor, large process boost and tight Supertrend factor may overreact.
A very high threshold, low admission floor, high measurement noise and wide Supertrend factor may respond excessively slowly.
The appropriate balance depends on the instrument, timeframe and intended holding period.
How this differs from a standard Hull trend indicator
A standard Hull trend indicator normally uses:
Hull slope.
Price crossing the Hull.
A fast and slow Hull comparison.
This indicator instead:
Uses the Hull as an observation.
Measures its disagreement with a recursive estimate.
Normalises that disagreement by volatility.
Adapts the filter gain according to the innovation.
Applies a final Supertrend regime around the filtered result.
The Hull is therefore the beginning of the model, not the final signal.
How this differs from a fixed Kalman-style filter
A fixed recursive filter uses constant uncertainty settings.
Innovation-Gated Hull Supertrend adapts both measurement and process uncertainty according to the normalised innovation.
This means:
Small innovations are filtered more heavily.
Large innovations receive greater admission.
The response speed is therefore state dependent.
How this differs from a standard Supertrend
A standard Supertrend is commonly centred around a raw price reference such as HL2.
This indicator uses:
A responsive Hull projection.
An innovation-gated recursive estimate of that projection.
An optionally adaptive band multiplier.
The Supertrend is therefore built around a filtered trend estimate rather than raw price alone.
Strengths
Combines responsive and stable trend-processing stages.
Normalises new movement by current volatility.
Uses a smooth gate rather than a binary threshold.
Adapts measurement and process uncertainty.
Can widen trend bands during quiet conditions.
Can respond more rapidly to meaningful innovations.
Separates early movement from final regime confirmation.
Supports ATR, standard deviation and blended volatility models.
Provides trend, impulse and visual comparison outputs.
Limitations
The indicator is reactive rather than predictive.
Strong filtering can delay genuine reversals.
Responsive settings can increase whipsaws.
A large innovation may represent a temporary shock rather than a lasting trend.
Supertrend signals still depend on ATR and price crossing behaviour.
Parameter combinations can materially change the model’s behaviour.
The indicator may require different settings across assets and timeframes.
The recursive state develops from the available chart history.
Values can update while the current real-time candle is still forming.
Causality and real-time behaviour
The calculation uses current and historical observations without future-looking references.
However, like most indicators calculated on live candles, the current bar’s values can change before the candle closes.
This means:
The Hull projection may move intrabar.
The innovation score and gate may change intrabar.
A Supertrend transition may appear and disappear before confirmation.
Users requiring confirmed signals should evaluate the indicator at bar close or configure alerts accordingly.
Alerts
The indicator provides three alert conditions:
IGH ST Long: the adaptive Supertrend changes into a bullish regime.
IGH ST Short: the adaptive Supertrend changes into a bearish regime.
IGH Impulse: the normalised innovation score crosses above the selected threshold.
The impulse alert identifies increased information flow into the filter. It does not specify direction by itself because the innovation score uses the absolute size of the prediction error.
Summary
Innovation-Gated Hull Supertrend combines a responsive Hull Moving Average, a volatility-normalised innovation gate, an adaptive recursive filter and a volatility-trailing Supertrend.
The Hull projection provides an early estimate of directional movement. The recursive filter compares that projection with its prior state and measures the resulting innovation relative to ATR, standard deviation or a blend of both.
A logistic gate then determines how strongly the new movement should be admitted. During quiet conditions, the filter becomes more conservative and the Supertrend bands can expand. During meaningful displacement, the filter becomes more responsive and the bands move closer to their base width.
The final Supertrend converts the adaptive estimate into a persistent bullish or bearish regime.
The indicator is designed to make responsiveness conditional rather than fixed: small movements receive stronger filtering, while larger volatility-adjusted innovations are allowed to influence the model more quickly.
Indicator

Smart Money Volume Absorption Signals I EonMetricsSmart Money Volume Absorption Signals
Volume Absorption marks a specific situation as a LONG or SHORT setup, with an entry, a stop and two targets. But instead of only printing an arrow and leaving you to reconstruct what happened, it tracks that setup through four stages and shows you exactly how far along it is — how many conditions are met, which one is still missing, how many bars are left before the setup is discarded, and what the same sequence has already done on the history your chart has loaded.
🔶 THE SITUATION IT TRACKS
A bar trades far more volume than its own recent normal, and then closes at the wrong end of its own range. Heavy participation that failed to pay the side that pushed: effort without result. The direction is set against the side that was absorbed — a heavy bar closing in the bottom third of its range is a short premise, one closing in the top third is a long premise.
One thing has to be said plainly, because it decides how much weight this premise deserves: total volume cannot tell you who traded. It cannot separate buyers from sellers. What this gate actually measures is heavy participation combined with a failure to hold the direction the bar travelled. The absorption reading is an interpretation of that pattern, not a measurement of order flow. If you want that distinction to matter less, the remaining three gates are where the work is done.
Absorption on its own happens constantly and most of it leads nowhere. So the tool requires three further confirmations, in order, before it marks anything.
🔶 THE FOUR GATES
G1 · ABSORPTION — bar volume lands in an extreme percentile of its own recent history while the bar closes in the far third of its own range. This gate fixes the direction and nothing later can change it. It also plants the invalidation anchor at that bar's extreme. Optionally the direction must agree with a slow trend filter.
G2 · REACTION — a following bar closes in the direction G1 set. The absorption produced something instead of merely stalling.
G3 · EXPANSION — a candle body in the top percentile of its own recent history, pointing the setup's way. That candle's OPEN becomes the origin level, and the origin level is where entry would be.
G4 · HOLD — price returns to the origin level and closes without violating it. Only now does the signal print, on bar close.
This is a retest model, not a breakout model, and the consequence is worth stating before you use it. A setup whose expansion runs away and never comes back to the origin level will never complete, no matter how far the move goes. You will see setups sit at 3/4 while price travels past the drawn targets, and then expire. That is the design working as intended — the entry is the retest — but if you want a tool that chases the move instead, this is not that tool.
The dashboard reads: which stage the setup is in, the direction, which gate is being waited on, the expiry countdown, the entry and stop levels, and the record of every completed setup on the loaded history.
🔶 ORIGINALITY
Five design decisions separate this from a stack of conditions with an AND between them.
Percentiles instead of ATR multiples. A fixed "1.5 × ATR" or "2 × average volume" threshold means something different in a trending market than in a compressed one, so it has to be re-tuned per symbol and per period. Every threshold here is a percentile rank against the instrument's own recent history — "top 30% of the last 200 bars" keeps its meaning when volatility changes, without tuning.
Gates do not add up to a score. Each gate is a separate class of evidence and none substitutes for another. Three expansion bars in a row are still 1/4, not 3/4. A weighted-sum model can be outvoted by one loud condition repeating itself; this one cannot. There is deliberately no confidence percentage anywhere in this script — with four binary gates in a fixed sequence, the only honest information is how many of them have filled, and dressing that up as a percentage would add precision that does not exist.
The setup dies on its own. Every tracked setup carries an invalidation anchor (a close beyond the absorption bar's extreme) and a bar countdown that resets at each gate advance. When either fires, the setup is discarded immediately — it does not linger until an opposite signal replaces it, and it does not quietly stay on the books.
One setup at a time. While a completed setup is still resolving toward its target or its stop, a new setup will not complete — it waits at 3/4 and may still fire later if the first one resolves in time, or expire if it does not. This exists so that what the dashboard counts is what a person following the tool could actually have taken, one position at a time, rather than an overlapping stack of positions nobody could hold.
It shows its own record. The last two rows of the dashboard walk every completed setup on the chart you are looking at, bar by bar, and count which level price reached first — Target 1 or the stop. The stop is checked before the target, so a bar that spans both counts against the setup, and the bar the signal prints on is not counted at all. That number is whatever it is. It is not a claim, it is not tuned to flatter, and it will read differently on every symbol and timeframe you load — which is exactly the point. You are meant to check it on YOUR instrument before deciding what the tool is worth to you, instead of taking anyone's word for it. Most signal tools do not show this. That is a choice they made, and this is a different one.
🔶 HOW IT IS CALCULATED
Both percentile ranks are ta.percentrank() over one configurable window — one on bar volume (G1), one on the absolute candle body (G3). The close position is (close − low) / (high − low), so it describes where the bar finished inside its own range rather than relative to any external level.
The optional trend filter is a plain exponential moving average of the closing price on the chart's own timeframe, used as a slow-trend proxy: long setups are only allowed above it, short setups only below it. Set its length to 0 to switch it off. There are no higher-timeframe data requests anywhere in this script.
Entry is the open of the expansion bar. The stop is the absorption bar's extreme, plus an optional buffer in ticks. Both targets are multiples of that entry-to-stop distance, so they scale with the setup instead of with a fixed price amount. Target 1 is the level the record row measures against; Target 2 is drawn for reference only.
Every gate is evaluated and latched on confirmed bars only. There is no lookahead and there are no forward-looking references. A filled gate is never un-filled retroactively; the live bar can only be rejected, never rewritten. A bar that would satisfy two gates at once advances the setup by exactly one step — each gate has to be paid for with its own bar.
The chart geometry is redrawn from scratch on the last bar rather than accumulated, so what you see on the chart is always the setup the dashboard is describing, and closed setups do not leave debris behind.
🔶 ALERTS
Six conditions: setup reached 2/4, setup reached 3/4, signal LONG, signal SHORT, setup expired, setup invalidated.
The staged alerts follow from the same idea as the meter: being told a setup is one gate away is more useful than only being told after it is over.
🔶 HOW TO USE
1. Read the record row before anything else. Load your instrument and your timeframe and see what it says there. If it does not convince you, that is the tool telling you honestly that it is not for that market.
2. Check the sample size in the same row. A run of ten or twenty setups is an anecdote. The row flags small samples for exactly this reason.
3. Watch the meter, not the arrows. Most of the information is in setups that reach 2/4 or 3/4 and then die — that tells you what the market is refusing to do.
4. The stop sits at the absorption bar's extreme by default, which is tight. On fast intraday charts try the Stop Buffer input and watch how the record row responds.
5. The trend filter changes the population of setups substantially. Check the record row with it on and with it off on your own market before deciding which you prefer.
6. Set the 3/4 alert if you want to be at the chart before a setup completes rather than after.
🔶 SETTINGS
Volume (percentile window) · Gate Thresholds (G1 volume percentile, G1 close position, G3 body percentile, trend filter length, setup TTL) · Trade Levels (draw toggle, stop buffer in ticks, two R-multiple targets) · Display (dashboard and position, current-signal marker, all-past-signals marker, colors).
🔶 HONEST LIMITATIONS
Volume alone cannot be attributed to buyers or sellers. This tool reads total bar volume against the bar's close position. It does not know who traded, and it is not order-flow data. Treat the absorption premise as a reading of effort against result, which is what it is.
The volume itself is only as good as the feed. On spot forex and CFDs the exchange reports TICK volume rather than real traded volume, so the percentile ranks describe activity rather than quantity. On symbols with no volume data at all the gates cannot fill, and the dashboard says so in its top-right corner.
The retest requirement will cost you moves. As described above, setups that never return to the origin level expire unfilled even when price travels well beyond the drawn targets. This is structural, not a bug, and on strongly trending stretches it happens often.
Percentiles are relative to their window. After an abrupt change of volatility regime the ranks need a few dozen bars to catch up, and during that stretch the thresholds are still measuring the old regime.
The record row is an honest count, not a backtest. It assumes a fill at the exact entry price and it ignores fees, spread and slippage — all of which work against you in reality, and all of which matter a great deal when the outcome is close to even. A record that looks positive before costs can be negative after them. It also covers only the setups on the history your chart has loaded, which on intraday timeframes is a small sample.
Results vary far more between markets than between settings. The same script on the same timeframe can produce a very different record on two different symbols, and there is no timeframe this tool is generally "best" on. Any suggestion otherwise would be an invention. Check your own market.
This tool describes a sequence of conditions in price and volume. It does not forecast anything, it makes no claim about how often the sequence resolves favourably, and the drawn levels are the geometry of the setup, not a recommendation. It is published for analysis and education, it is not financial advice, and past behaviour of a pattern does not guarantee its future behaviour. Check the record on your own market, manage your own risk, and decide for yourself.
Part of the EonMetrics toolset.
Indicator

Trend Channel Navigator [MQLSoftware]Trend Channel Navigator maps price action as a chain of trend phases, each drawn as its own channel: phase boundaries come from an adaptive swing scanner whose window breathes with the volatility regime, each channel side sits at a quantile of its own deviations instead of a symmetric envelope, a recency-weighted regression tracks the momentum slice inside the active phase, and an original Navigator Entry Score condenses channel position, momentum quality and higher-timeframe agreement into a single 0-100 confluence read - shown live on the panel together with its full component breakdown.
This is a visual analytical tool for chart reading and market-structure context. It does not execute trades and does not provide financial advice.
Key Features
Adaptive phase detection: the swing window scales with the volatility regime, so phases are recognized sooner in a heating market and noise swings are ignored in quiet tape
Asymmetric quantile channels: each side's width is a percentile of that side's own deviations, so one spike no longer inflates the whole envelope and the top and bottom bands are independent
Recency-weighted Micro regression: the newest bars dominate the fit, so the momentum read turns earlier than a uniform regression; a weighted R-squared gate hides it when the fit is poor
Navigator Entry Score: a 0-100 confluence read built from four weighted components - macro/micro alignment, channel position, regression fit quality and dual-timeframe agreement
Live Score Breakdown on the panel: every component's points are shown next to its budget, so the number is never a black box
Scored markers: every structural event (BREAK, PULLBACK, CONTINUATION) prints the matching side of the live score and passes a configurable minimum, and the dedicated ENTRY marker fires when the score crosses your threshold
Pullback Zone and Quarter Grid: the favorable quarter of the active channel is shaded and faint quarter lines make Channel Position readable on the chart itself
Self-explanatory chart language: markers and labels are written in plain words, every marker and pivot carries an explanatory tooltip, and a Compact mode switches to short codes
Non-Repaint Mode on by default: markers fire only on confirmed bars and the active structure is built from closed-bar data
Core Concept
Most channel tools on PulseWire take one of two approaches. They fit a single regression channel over the latest N bars, or they draw one channel from manually chosen anchors. Both force all recent history into one line fit, so the chart cannot show where one trend phase ended and the next began.
Trend Channel Navigator treats price as a sequence of structural phases. The phase idea started in our earlier open-source script Anchored Trend Channels; Navigator rebuilds the engine around five mechanisms of its own - the detection, the channel geometry, the momentum fit, the score and its on-chart language all differ from that script.
1. Adaptive phase detection. Swings are found by a strict-extremum scan whose window is re-derived on every bar from the volatility regime - the ratio of short-term ATR to its long baseline. When the market heats up the window contracts and new phases are recognized sooner; in quiet tape it dilates and noise swings never become phases. Builtin pivot functions take a fixed window, which is why the scanner is written by hand. A swing is confirmed a window's worth of bars after it forms, exactly like a classic pivot. When a later swing confirms beyond a phase's endpoint in the same direction - a higher high in an up-phase, a lower low in a down-phase - the phase extends to that new confirmed swing instead of leaving an orphan stretch, so the chain of channels stays continuous.
2. Asymmetric quantile channels. The channel basis is the straight line between the two anchoring swings, which keeps clean joints between phases. The width is not a symmetric envelope: highs above the basis set the top band and lows below it set the bottom band, each at a configurable percentile of its own deviations with an ATR floor. A single spike no longer inflates the whole channel, and a phase that leans on one side of its basis shows that lean honestly.
3. Recency-weighted Micro regression. The inner channel is a weighted least-squares fit in which each bar back weighs a fixed fraction of the previous one, so the newest bars dominate and the momentum read turns earlier than a uniform regression of the same length. The fit quality gate and the residual band use the same weights. Setting the decay to 1.00 reproduces the classic unweighted fit.
4. Navigator Entry Score with a live breakdown. The score is computed independently for the long side and the short side on every bar. Macro and micro direction agreement contributes 35 points, channel position contributes up to 20 and rewards proximity to the favorable edge rather than chasing the far edge, the micro fit quality contributes up to 20, and each of the two higher-timeframe rows contributes 12.5 when it agrees with the side being scored. The panel shows each component's points next to its budget on every bar, so the number is never a black box. An ENTRY marker fires once when the winning side crosses the threshold on a confirmed bar, with its own cooldown; an optional strict mode caps the score below the threshold unless both higher timeframes agree. The other marker families pass through the same score: BREAK, PULLBACK and CONTINUATION print the matching side's value and respect a configurable minimum, so every event on the chart is a scored event.
5. Pullback Zone and Quarter Grid. The score's channel-position component is made visible: the favorable quarter of the active channel is shaded - near the base in an up phase, near the top in a down phase - and faint quarter lines split the channel into the quarters the Channel Position row reads. The channel does not only show where price has been; it shows where the next trend-side read matters.
Anatomy of the Display
Macro channels are the large structures between confirmed swing points. Historical phases are dimmed and frozen; the active phase is bright, carries the shaded Pullback Zone, and extends forward with a dashed projection.
The Micro channel is the smaller regression channel inside the active phase, labelled "Momentum" with its current direction. It shows whether the current momentum slice agrees with the larger phase or is pulling back against it.
Markers name their event in plain words and print the matching side of the live score. BREAK marks a confirmed close beyond the active channel boundary, PULLBACK marks a touch of the favorable edge in trend direction, CONTINUATION marks a micro breakout aligned with the macro phase early in the segment, and ENTRY belongs to the score engine and fires on a threshold cross. Every marker carries a tooltip that explains the event.
The status badge shows the Trend Bias of the recent phases and the live Entry Score with its stronger side.
The panel is the main readout: Trend Bias, active segment angle, direction and age, the chain of recent phases, Channel Position, anchor pivot, channel width in ATR, the last fired event, micro regression metrics, the two higher-timeframe rows, and the live Entry Score against your threshold - followed by the Score Breakdown, where each of the four components shows its current points against its budget.
Multi-Timeframe Panel
The two higher-timeframe rows are selected automatically from a standard ladder based on the chart timeframe, for example 240 and 1D on a 1-hour chart. Higher-timeframe values are requested without lookahead and read with a one-bar offset, so only closed higher-timeframe bars are used. Their agreement is not only displayed - it feeds the Entry Score directly.
Notes on Repainting
Historical channels do not repaint intrabar. They are anchored to confirmed swings, and one honest exception is stated openly: when a same-direction swing confirms beyond a phase's endpoint, the completed channel extends to that new confirmed swing and its width is recomputed - on closed data only, at confirmation time. It never moves otherwise.
Swing detection carries an inherent delay equal to the current window: a swing becomes visible only after that many bars close past it. With the Adaptive default the window typically resolves to 11-26 bars, tighter in heating markets. This confirmation contract is the same as for all pivot-based tools.
Non-Repaint Mode is on by default: the active channel and the micro regression are computed from closed-bar data, so the visible structure does not wobble intrabar. Turning it off lets the active structure update on the live bar for responsiveness; this affects display only.
All markers are gated by confirmed bars. ENTRY, BREAK, PULLBACK and CONTINUATION can only appear on the close of their bar and cannot appear or vanish intrabar.
Higher-timeframe rows use the standard non-repainting pattern: no lookahead, one-bar offset, closed bars only.
The panel and the live score update within the bar. This is display only; no marker or alert is created from an unconfirmed bar.
Typical Analysis Workflow
A common analytical workflow may include:
Reading Trend Bias and the active phase direction first to understand the current structure
Checking Channel Position to see whether price is near the favorable edge or already stretched toward the far edge
Waiting for price to reach the shaded Pullback Zone in the direction of the active phase
Using the Momentum channel and its fit quality to judge whether the current slice is clean enough to trust
Checking the higher-timeframe rows for agreement
Treating the Entry Score as the final confluence read rather than a standalone trade command, and raising the threshold when you want fewer, higher-confluence marks
Configuration
Pivot Sensitivity - Adaptive (default) scales the swing window with the volatility regime; the fixed presets from Short to Very Long and Custom Lookback pin it instead.
Min Segment Size (x ATR) / Min Segment Length (bars) - quality filters that skip noise phases.
Channel Width Multiplier / Min Band Width (x ATR) - how tightly the channel wraps price and the floor under each side's width.
Channel Quantile (%) - the percentile each side's width sits at. 100 reproduces a full envelope; lower values ignore single spikes and hug price tighter.
Max Segments Stored - how many historical phases stay on the chart.
Regression Length / Std Dev Multiplier / Min R2 to Show - the Micro channel window, its band width and its fit gate.
Recency Weight (decay) - how strongly the newest bars dominate the Micro fit. 1.00 = classic unweighted regression.
Segment Break / Macro Pullback / Micro Continuation Signals - enable each marker family independently. Signal Cooldown - minimum bars between same-family markers.
Min Signal Score - structural markers only fire when the matching side of the live score is at least this value. 0 = raw structural events.
Entry Score Threshold - the confluence level an ENTRY marker requires. Require MTF Confluence - strict mode: both higher timeframes must agree for the score to reach the threshold. Entry Cooldown - minimum bars between ENTRY markers.
Non-Repaint Mode - closed-bar data for the active structure (default on).
Line Width / Neon Glow - core line width and the layered glow tier (Off, Subtle, Balanced, Bright).
Show Channel Fills / Show Basis / Show MTF Mini-Screener - display toggles.
Marker Style - Descriptive markers in plain words, or Compact short codes.
Highlight Pullback Zone / Show Quarter Grid - the shaded favorable quarter of the active channel and the faint quarter lines.
Bull / Bear Colors - recolor the whole structure. Defaults are a dark-theme identity; pick deeper tones for light charts.
Markets and Timeframes
The indicator can be applied across multiple markets and timeframes:
Forex
Stocks and Indices
Commodities
Cryptocurrencies
Channel widths and segment filters are scaled in ATR rather than in fixed price units, so behaviour stays consistent across instruments. Defaults are tuned for 1H-4H charts; Pivot Sensitivity is the lever for faster or slower timeframes.
Alerts
Segment Direction Changed - the active phase flipped direction
Segment Break - a confirmed close beyond the active channel boundary
Micro Continuation - a micro breakout aligned with the macro phase
Entry Score - the score crossed your threshold on a confirmed bar
All alerts evaluate on confirmed bars and respect the same cooldowns and score gates as the chart markers, so an alert fires only when the corresponding marker event fires.
Indicator

Buy-Sell Signals using Multi-Logic Trading System
📈 Advanced Multi-Logic Trading System with Trend, Momentum, Breakout and Risk Management
The **Buy-Sell Signals using Multi-Logic Trend, Momentum & Breakout System** is a multi-condition trading indicator designed to help traders identify structured trading opportunities across different market environments.
Unlike a conventional indicator that depends on only one moving-average crossover or oscillator, Buy-sell with Multi-logic Trading Sytem combines:
✅ Market structure and EMA alignment
✅ Higher-timeframe trend confirmation
✅ Session VWAP positioning
✅ RSI and MACD momentum
✅ Bollinger Band positioning and volatility
✅ Volume expansion and OBV direction
✅ Range-breakout confirmation
✅ Sideways-market mean reversion
✅ Dynamic stop-loss and target calculations
✅ Signal management and cooldown controls
The objective is not to produce the maximum number of signals.
The objective is to filter market noise and highlight situations where multiple independent conditions support the same directional view.
━━━━━━━━━━━━━━━━━━━━
🧠 How the Indicator Reads the Market
Buy-sell with Multi-logic Trading Sytem continuously classifies the chart into one of four market conditions:
📈 BULLISH TREND
A bullish trend is identified when:
**Price > Fast EMA > Medium EMA > Slow EMA**
With the default settings, this represents:
**Price > EMA 20 > EMA 50 > EMA 200**
This structure indicates that short-term, medium-term and long-term price positioning is aligned in the bullish direction.
------------------------------------------------
📈 BEARISH TREND
A bearish trend is identified when:
**Price < Fast EMA < Medium EMA < Slow EMA**
With the default settings:
**Price < EMA 20 < EMA 50 < EMA 200**
This indicates complete bearish alignment across the three trend layers.
------------------------------------------------
📈 RANGE / SIDEWAYS
The system studies the previous trading range over the selected Range Lookback.
The current candle is excluded from this range calculation. This allows the indicator to identify a genuine close outside the previous range instead of comparing the breakout candle against a range that already includes it.
A market is treated as sideways when:
• The previous range width remains within the selected percentage threshold
• Complete bullish EMA alignment is absent
• Complete bearish EMA alignment is absent
------------------------------------------------
📈 Transition
The Transition condition appears when the market is neither properly trending nor qualifying as a defined range.
This commonly happens when:
• EMAs are crossing or compressing
• Price repeatedly moves around the EMA ribbon
• The previous trend is weakening
• A new trend has not yet become established
• Price is moving between range and trend conditions
Transition is usually the least reliable environment for mechanical signals.
━━━━━━━━━━━━━━━━━━━━
⚙️ The Four Entry Logic Engines
Buy-sell with Multi-logic Trading System contains four separate entry engines.
Each engine is designed for a different type of market behaviour.
📈 1. Trend-Following Logic
Trend-following logic is designed to participate in an already established directional move.
A bullish trend setup requires:
• Bullish EMA alignment
• Minimum bullish confluence score
• Higher-timeframe bullish permission
• Price above session VWAP
A bearish trend setup requires the opposite conditions.
🔷 Bullish confluence score
The bullish score contains six independent components:
1. Bullish EMA trend alignment
2. RSI positioned between 45 and 72
3. MACD above its signal line with a positive histogram
4. Price above the Bollinger Band basis
5. High volume with bullish OBV behaviour
6. A bullish candle closing above the previous structural swing high
🔷 Bearish confluence score
The bearish score also contains six components:
1. Bearish EMA trend alignment
2. RSI positioned between 28 and 55
3. MACD below its signal line with a negative histogram
4. Price below the Bollinger Band basis
5. High volume with bearish OBV behaviour
6. A bearish candle closing below the previous structural swing low
The **Minimum Trend Confluence** setting determines how many of these six conditions must agree.
🔷 When to use Trend-Following Logic
👉Use it when:
• The EMA ribbon is properly expanded
• Price is making higher highs and higher lows in an uptrend
• Price is making lower highs and lower lows in a downtrend
• Pullbacks are respecting the fast or medium EMA
• Price is consistently holding on the correct side of VWAP
• The higher-timeframe trend supports the trade direction
👉 When to avoid it
Avoid relying on trend logic when:
• EMAs are flat or repeatedly crossing
• Price is trapped inside a narrow range
• The market-condition card shows Transition
• A signal appears directly below major resistance
• A signal appears directly above major support
• Price has already completed a large impulsive move without a pullback
━━━━━━━━━━━━━━━━━━━━
📈 2. Momentum Logic
Momentum logic is designed to detect acceleration before complete trend confluence becomes necessary.
🔷For bullish momentum, the indicator looks for:
• Price above the fast EMA
• RSI above 52
• Positive MACD histogram
• MACD histogram increasing from the previous candle
• Bullish OBV positioning
• Volume confirmation when usable volume is available
• Bullish higher-timeframe permission
• Price above VWAP
🔷Bearish momentum uses the opposite conditions.
Momentum logic can respond earlier than full trend logic because it does not require the complete EMA 20–50–200 alignment or the minimum six-part trend score.
👉 When to use Momentum Logic
Momentum logic is most useful when:
• Price is emerging from consolidation
• A fresh intraday directional move is developing
• Volume is expanding with price
• MACD momentum is accelerating
• Price has reclaimed or rejected VWAP decisively
• A pullback is followed by renewed directional strength
• The higher timeframe already supports the intended direction
👉 When to avoid it
Avoid momentum entries when:
• The momentum candle is unusually extended
• Price is entering a major higher-timeframe supply or demand zone
• Volume expansion is caused by a news spike
• MACD is positive but price structure remains weak
• Price repeatedly crosses VWAP
• The chart has unreliable or unavailable volume data
Momentum logic is especially dependent on meaningful volume and OBV behaviour. It is therefore generally better suited to liquid stocks, indices, futures and other actively traded instruments.
━━━━━━━━━━━━━━━━━━━━
📈 3. Range-Breakout Logic
The breakout engine is designed to identify confirmed movement outside a previously established range.
It does not trigger merely because price trades a few ticks outside the range.
A bullish breakout requires:
• The previous market qualified as a range
• Price closes above the previous range high
• The close exceeds the range by the selected ATR buffer
• The previous candle had not already closed above the range
• The breakout candle closes strongly toward its high
• RSI is above 50
• MACD is bullish
• Volume confirms the move when available and required
• Price is above VWAP
The bearish breakout logic uses the opposite conditions.
🔷 Breakout Confirmation Buffer
The ATR buffer prevents the system from treating a marginal move above or below the boundary as a valid breakout.
A value of **0.15 ATR** means price must close beyond the range boundary by an additional 15% of the current ATR.
Increasing this value creates fewer but more selective breakout signals.
🔷 Breakout Candle Close Position
The candle must also close strongly in the breakout direction.
With a value of **0.60**:
• A bullish breakout candle must close in the upper 40% of its total range
• A bearish breakout candle must close in the lower 40% of its total range
This helps reject candles that break a level intrabar but leave a large rejection wick.
🔷 Important HTF behaviour
The higher-timeframe EMA filter directly controls the Trend and Momentum engines.
The Range-Breakout engine instead uses its own range, ATR, candle-strength, RSI, MACD, volume and VWAP confirmation.
Therefore, traders should still manually inspect the higher-timeframe structure before accepting a breakout signal.
👉 When to use Breakout Logic
Use breakout logic when:
• Price has formed a clean and visible range
• Range boundaries have been tested multiple times
• Bollinger Band width has contracted before expansion
• Volume increases during the breakout
• The breakout candle closes outside the level
• There is sufficient room before the next major structure
• VWAP supports the breakout direction
👉 When to avoid it
Avoid breakout entries when:
• The range is poorly defined
• Price is breaking directly into higher-timeframe resistance or support
• The breakout candle leaves a large rejection wick
• Volume is weak or declining
• Price has already moved far beyond the range before entry
• The breakout occurs during an irregular news candle
• The range threshold is set too loosely and ordinary price movement is being classified as consolidation
━━━━━━━━━━━━━━━━━━━━
📈 4. Sideways Mean-Reversion Logic
Mean reversion is disabled by default because it represents a different trading philosophy from trend-following.
Instead of expecting price to continue moving away from fair value, this engine looks for rejection near the outer areas of a sideways range.
The range is divided into zones:
• Lower reversion area near the bottom 20% of the range
• Upper reversion area near the top 20% of the range
A bullish mean-reversion setup requires:
• Mean-reversion logic enabled
• Market classified as sideways
• Range sufficiently wide relative to ATR
• Price testing the lower reversion zone
• Price closing back above that zone
• A bullish rejection candle
• A sufficiently large lower wick
• RSI below 38
• RSI turning upward when the RSI-turn filter is enabled
• Volume permission
A bearish mean-reversion setup requires the opposite conditions near the upper range zone, with RSI above 62 and turning downward.
🔷 Important Mean-Reversion Behaviour
Mean-reversion trades are intentionally based on sideways-market rejection.
They do not use the higher-timeframe trend or VWAP filter in the same way as the Trend and Momentum engines.
This is logical because a range-fading trade may temporarily move against the prevailing higher-timeframe direction.
However, it also means mean-reversion mode should be activated only when the trader has independently confirmed that the market is genuinely balanced and range-bound.
👉 When to use Mean Reversion
Use it when:
• The market has clear horizontal boundaries
• EMA alignment is absent
• Price repeatedly rejects both sides of the range
• The range is wide enough to offer practical reward
• RSI reaches an extreme and begins turning
• The rejection candle closes back inside the range
• No major breakout catalyst is expected
👉 When not to use it
Disable mean reversion when:
• The market is strongly trending
• The EMA ribbon is expanding
• Price is forming one-sided momentum candles
• Volume is increasing near the range boundary
• A breakout is supported by broader-market direction
• Price is repeatedly pressing one boundary without meaningful rejection
Repeated testing of one range boundary can represent pressure accumulation rather than a reversal opportunity.
━━━━━━━━━━━━━━━━━━━━
🔍 Higher-Timeframe Trend Filter
The higher-timeframe filter compares price with an EMA calculated on the selected higher timeframe.
👉When enabled:
• Long Trend and Momentum setups require bullish HTF positioning
• Short Trend and Momentum setups require bearish HTF positioning
The higher-timeframe calculation is designed to use confirmed information rather than future-looking data.
🔷 Suggested timeframe combinations
These are practical starting points and should be tested for each instrument:
• 3-minute chart → 15-minute or 30-minute HTF
• 5-minute chart → 30-minute or 60-minute HTF
• 15-minute chart → 60-minute or 4-hour HTF
• 30-minute chart → 4-hour HTF
• 1-hour chart → 4-hour or Daily HTF
• 4-hour chart → Daily or Weekly HTF
A closer HTF produces more opportunities.
A larger HTF produces fewer but more structurally selective opportunities.
━━━━━━━━━━━━━━━━━━━━
📍 Session VWAP Filter
VWAP acts as the indicator’s intraday fair-value reference.
👉When enabled:
• Long Trend, Momentum and Breakout setups require price above VWAP
• Short Trend, Momentum and Breakout setups require price below VWAP
This reduces situations where a bullish technical setup appears below intraday fair value or a bearish setup appears above it.
👉Keep VWAP enabled when:
• Trading intraday
• Trading indices or liquid stocks
• Trading momentum continuation
• Trading opening-range or consolidation breakouts
• Filtering counter-directional entries
👉 Consider disabling VWAP when:
• Trading higher timeframes where session VWAP has less relevance
• Trading instruments with irregular sessions
• Testing a pure swing-trading model
• Using another manually defined fair-value framework
Disabling VWAP increases flexibility but may also increase counter-directional signals.
━━━━━━━━━━━━━━━━━━━━
📊 Volume and OBV Confirmation
The indicator compares current volume with its moving average.
With the default multiplier of **1.5**, high volume means the current volume is at least 1.5 times the selected average volume.
OBV is then compared with its own moving average to determine whether cumulative volume behaviour supports buyers or sellers.
The system is designed so that missing volume does not automatically block every setup.
However, symbols with reliable exchange volume are preferred, particularly when using Momentum Logic.
🔷 Volume Multiplier Interpretation
• 1.20–1.40: More responsive, but more noise
• 1.50: Balanced default
• 1.70–2.00: Strong expansion required
• Above 2.00: Very selective and mainly suited to exceptional participation
━━━━━━━━━━━━━━━━━━━━
🛡️ Stop-Loss and Target Engine
Every confirmed signal creates an active entry, stop-loss and target.
The indicator provides three stop-loss methods.
🔷 Structure + ATR
👉For a long trade:
The stop is placed below the previous structural swing low with an additional ATR buffer.
👉For a short trade:
The stop is placed above the previous structural swing high with an ATR buffer.
This is generally the preferred method for price-action and structure-based trading.
🔷ATR Stop
The stop is calculated using a fixed ATR multiple from the entry.
This method adapts to current volatility without depending on the location of a previous swing.
It can be useful for:
• Momentum setups
• Instruments with irregular swing structures
• Fast-moving markets
• Systematic risk standardisation
🔷 Fixed Percentage Stop
The stop is placed at a fixed percentage from entry.
This is simple but does not adjust to changing volatility.
It should be used carefully because the same percentage may be too tight in a volatile market and unnecessarily wide in a quiet market.
━━━━━━━━━━━━━━━━━━━━
📈 Target Methods
🔷Risk-to-Reward Target
The target is calculated from the actual distance between entry and stop.
With a 1.5 risk-to-reward ratio, the target is 1.5 times the defined trade risk.
🔷 ATR Target
The target is positioned at a selected ATR multiple from entry.
This can be useful for momentum trades where price expansion is expected.
🔷 Fixed Percentage Target
The target is placed at a fixed percentage from entry.
This is straightforward but less adaptive than ATR or structure-based calculations.
━━━━━━━━━━━━━━━━━━━━
🎯 Preferred Risk Settings
🔷 Structure-Based Intraday Trading
• Stop Method: Structure + ATR
• Structure ATR Buffer: 0.15–0.25
• Target Method: Risk:Reward
• Risk:Reward: 1.5–2.0
🔷 Momentum Trading
• Stop Method: ATR
• Stop ATR Multiplier: 1.2–1.8
• Target Method: ATR or Risk:Reward
• Target ATR Multiplier: 2.0–3.0
🔷 Swing Trading
• Stop Method: Structure + ATR
• Swing Lookback: 10–20
• Structure ATR Buffer: 0.20–0.40
• Target Method: Risk:Reward
• Risk:Reward: 1.5–2.5
🔷 Mean-Reversion Trading
• Stop Method: Structure + ATR or ATR
• Use a stop beyond the rejected range boundary
• Avoid excessively wide targets
• Consider the opposite side or midpoint of the range as practical structure
These values are starting points, not universal settings. Different instruments have different volatility and structural characteristics.
━━━━━━━━━━━━━━━━━━━━
🚦 Signal-Control System
Buy-sell with Multi-logic Trading System includes several controls to prevent repeated or conflicting signals.
👉 Minimum Bars Between Signals
The cooldown prevents the indicator from producing another signal immediately after the previous one.
Default: **5 bars**
Lower values create more frequent signals.
Higher values reduce repeated entries during the same move.
👉 Fresh Setup Only
When enabled, a signal appears only when the complete setup changes from false to true.
It prevents the indicator from repeatedly signalling on every candle while the same condition remains active.
This should normally remain enabled.
👉 Wait for SL or Target Before Next Signal
When enabled, the indicator waits for the active stop or target to be touched before accepting another trade.
This creates a cleaner one-trade-at-a-time workflow.
It is the preferred setting for discretionary traders and alert-based execution.
👉 Allow Opposite Signal
This setting becomes relevant when “Wait for SL/Target” is disabled.
It determines whether an opposite signal can replace the current directional trade before the original levels are completed.
━━━━━━━━━━━━━━━━━━━━
✨ Visual Features
3D Gradient Trend Ribbon
Glow Buy and Sell Markers
Signals are generated after the chart candle is confirmed.
Entry Beam
3D Risk and Reward Zones
VWAP Glow Line
Gradient Candle Coloring
━━━━━━━━━━━━━━━━━━━━
📋 Dashboard Explained
The dashboard provides a summary of current chart conditions.
Market Condition
Bull Score and Bear Score
RSI
ATR Percentage
Volume Ratio
Bollinger Band Width
HTF Trend
VWAP
Active Trade
SL / TP
Win Rate
The dashboard win rate is an internal chart-touch statistic based on whether displayed targets or stops were reached.
For reliable validation, traders should independently review historical trades and conduct proper testing.
━━━━━━━━━━━━━━━━━━━━
🔔 Alert Features
Buy-sell with Multi-logic Trading System provides alert conditions for:
• Confirmed BUY signal
• Confirmed SELL signal
• Active stop-loss touched
• Active target touched
Dynamic BUY and SELL alerts can also include:
• Symbol
• Entry price
• Stop-loss
• Target price
Signals and dynamic alerts are generated once per confirmed candle close.
For PulseWire alerts, select the indicator and choose the required alert condition.
━━━━━━━━━━━━━━━━━━━━
📌 Preferred Logic According to Market View
👉 Strong Bullish Market
Recommended:
• Trend Logic: ON
• Momentum Logic: ON
• Breakout Logic: Optional
• Mean Reversion: OFF
• HTF Filter: ON
• VWAP Filter: ON
• Minimum Confluence: 4 or 5
Focus mainly on long signals, pullbacks and bullish consolidation breakouts.
👉Strong Bearish Market
Recommended:
• Trend Logic: ON
• Momentum Logic: ON
• Breakout Logic: Optional
• Mean Reversion: OFF
• HTF Filter: ON
• VWAP Filter: ON
• Minimum Confluence: 4 or 5
Focus mainly on short signals, failed recoveries and bearish range breakdowns.
👉 Developing Trend
Recommended:
• Trend Logic: ON
• Momentum Logic: ON
• Breakout Logic: ON
• Mean Reversion: OFF
• Minimum Confluence: 4
• Breakout Buffer: 0.10–0.20 ATR
Momentum or breakout logic may identify the move before complete EMA alignment develops.
👉 Established Trend
Recommended:
• Trend Logic: ON
• Momentum Logic: Optional
• Breakout Logic: Optional
• Mean Reversion: OFF
• Minimum Confluence: 4–5
• Structure + ATR stop
Look for continuation after controlled pullbacks rather than chasing extended candles.
👉 Clean Sideways Range
Recommended:
• Trend Logic: OFF or used cautiously
• Momentum Logic: OFF
• Breakout Logic: ON
• Mean Reversion: ON only for confirmed range rejection
• RSI Turn Requirement: ON
• Reversion Wick Ratio: 0.35–0.50
Use either range fading or breakout trading according to price behaviour—but avoid treating both as equally valid at the same moment.
👉 Transition or Choppy Market
Recommended:
• Increase Minimum Confluence
• Increase cooldown bars
• Use HTF and VWAP filters
• Keep Mean Reversion OFF unless a clear range forms
• Wait for structure to become clearer
Sometimes the best setting in a Transition market is simply to avoid trading.
━━━━━━━━━━━━━━━━━━━━
🧩 Suggested Presets
🔶 Balanced Intraday — 5 or 15 Minutes
• EMA: 20 / 50 / 200
• HTF: 60 minutes
• HTF Filter: ON
• VWAP Filter: ON
• Trend Logic: ON
• Momentum Logic: ON
• Breakout Logic: ON
• Mean Reversion: OFF
• Minimum Confluence: 4
• Volume Multiplier: 1.5
• Breakout Buffer: 0.15 ATR
• Breakout Close Position: 0.60
• Stop: Structure + ATR
• Target: 1.5 Risk:Reward
• Cooldown: 5 bars
• Fresh Setup Only: ON
• Wait for Exit: ON
🔶 Precision Intraday
• HTF Filter: ON
• VWAP Filter: ON
• Minimum Confluence: 5
• Volume Multiplier: 1.7–2.0
• Breakout Buffer: 0.20–0.30 ATR
• Breakout Close Position: 0.70–0.80
• Fresh Setup Only: ON
• Wait for Exit: ON
This preset produces fewer signals but demands stronger confirmation.
🔶 Fast Momentum Trading
• Trend Logic: Optional
• Momentum Logic: ON
• Breakout Logic: ON
• Mean Reversion: OFF
• HTF Filter: ON
• VWAP Filter: ON
• Volume Multiplier: 1.3–1.5
• Cooldown: 2–4 bars
• Stop: ATR
• Target: ATR or Risk:Reward
Fast settings should only be used on liquid instruments because they are more sensitive to lower-timeframe noise.
🔶 Range-Breakout Trading
• Trend Logic: Optional
• Momentum Logic: Optional
• Breakout Logic: ON
• Mean Reversion: OFF
• Breakout Buffer: 0.15–0.30 ATR
• Close Position: 0.65–0.80
• Require Breakout Volume: ON
• Volume Multiplier: 1.5–2.0
• VWAP Filter: ON
Manually confirm that sufficient space exists beyond the range.
🔶 Sideways Mean Reversion
• Trend Logic: OFF
• Momentum Logic: OFF
• Breakout Logic: Optional
• Mean Reversion: ON
• Minimum Range Width: 1.0–1.5 ATR
• Rejection Wick Ratio: 0.35–0.50
• RSI Turn Requirement: ON
• Fresh Setup Only: ON
• Wait for Exit: ON
Do not use this preset when the range boundary is being attacked with expanding volume.
🔶 Swing Trading — 1 Hour or 4 Hours
• EMA: 20 / 50 / 200
• HTF: 4 Hour, Daily or Weekly
• HTF Filter: ON
• VWAP Filter: Optional
• Trend Logic: ON
• Momentum Logic: ON
• Breakout Logic: ON
• Mean Reversion: Usually OFF
• Minimum Confluence: 4–5
• Swing Lookback: 10–20
• Stop: Structure + ATR
• Target: Risk:Reward
• Risk:Reward: 1.5–2.5
• Cooldown: 3–5 bars
━━━━━━━━━━━━━━━━━━━━
⛔ When Not to Use the Indicator
Avoid taking signals mechanically when:
• The market-condition card shows an unstable Transition phase
• Price is moving inside a very narrow and noisy area
• A signal is directly facing major higher-timeframe structure
• Price is highly extended from the EMA ribbon or VWAP
• The signal candle is abnormally large
• A major economic event is creating unpredictable volatility
• The selected instrument is illiquid
• Volume data is unreliable
• Bid–ask spreads are unusually wide
• The chart timeframe is too low for the instrument
• There is insufficient reward before the next support or resistance
• The stop required by structure is larger than the trader’s permitted risk
A technically valid signal is not automatically a good trade.
Location, liquidity, market context and risk remain essential.
━━━━━━━━━━━━━━━━━━━━
✅ Recommended Trading Workflow
Step 1 : Identify the market condition
Determine whether the chart is trending, ranging or transitioning.
Step 2 : Check the higher timeframe
Confirm the broader directional structure before using Trend or Momentum signals.
Step 3 : Check VWAP location
For intraday trading, prefer longs above VWAP and shorts below VWAP.
Step 4 : Read the dashboard
Compare:
• Bull and Bear scores
• RSI
• ATR percentage
• Volume ratio
• Bollinger Band width
• Higher-timeframe trend
Step 5 : Identify which logic suits the market
Do not use mean reversion in a strong trend.
Do not depend only on trend logic in an unstructured range.
Step 6 : Check trade location
Identify nearby support, resistance, previous-day levels, liquidity zones and higher-timeframe structure.
Step 7 : Evaluate risk
Check whether the displayed stop is logically placed and whether sufficient reward is available.
Step 8 : Wait for candle confirmation
Avoid anticipating a signal before the candle closes.
━━━━━━━━━━━━━━━━━━━━
⚠️ Important Notes
Buy-sell with Multi-logic Trading System is a decision-support indicator, not an automatic guarantee of profitable trades.
The indicator does not know:
• Your account size
• Your maximum permitted risk
• Whether a market-moving announcement is approaching
• Whether a nearby level is personally significant to your analysis
• Whether an option contract has suitable liquidity, delta or implied volatility
• Whether the displayed trade fits your trading plan
When several logic engines are enabled together, a BUY or SELL signal can originate from Trend, Momentum, Breakout or Mean-Reversion conditions.
The current signal marker does not separately label which internal engine generated it. The market condition, dashboard and surrounding price action should therefore be used to interpret the setup.
Always test the indicator on the intended market and timeframe before using it in live trading.
━━━━━━━━━━━━━━━━━━━━
📈 Final Perspective
Buy-sell with Multi-logic Trading System is designed around one central idea:
**Trade according to the current market regime instead of forcing the same strategy into every market.**
Use Trend Logic when structure is aligned.
Use Momentum Logic when participation and acceleration are increasing.
Use Breakout Logic when price is escaping a well-defined range with confirmation.
Use Mean Reversion only when the market is genuinely balanced and rejecting its boundaries.
The indicator can organise information, filter conditions and define structured risk—but disciplined execution, position sizing and market awareness remain the trader’s responsibility.
------------------------------------------------
**Educational use only. This indicator does not provide financial advice or guarantee future results.**
Indicator

Recursive Kernel Trend [QuantAlgo]🟢 Overview
The Recursive Kernel Trend is a trend-following indicator built on a recursive residual estimator with adaptive rate scheduling. It applies one of six selectable filter structures to a residual-corrected recursion, modulates the update rate according to efficiency and volatility conditions, and confirms directional state through slope persistence. The result is a responsive yet controlled trend line that adapts its tracking behavior to market regime while filtering noise-driven fluctuations across every timeframe and instrument.
🟢 How It Works
The calculation begins with a residual between the selected price source and the current estimate. This residual drives a base recursive update whose rate is not fixed but scheduled on every bar:
resid = src - estimate
base = estimate + kern_rate * resid
The scheduled rate is produced by combining two adaptive weights. Efficiency weighting measures the ratio of net directional progress to total price path over a lookback window, raising the rate when movement is clean and lowering it during chop. Volatility weighting compares current ATR against a longer baseline and reduces the rate when volatility expands. The combined rate is then bounded by floor and ceiling limits and further scaled by an optional directional bias that applies different multipliers depending on whether price sits above or below the estimate:
eff_weight = eff_floor + (1.0 - eff_floor) * eff_ratio
vol_weight = math.min(math.max(1.0 / vol_ratio, 0.50), 1.75)
rate_sched = math.min(math.max(base_rate * eff_weight * vol_weight, rate_floor), rate_ceil)
kern_rate = rate_sched * bias
Six filter structures can be applied to the base update. Standard uses a single pass. Wilder halves the rate for smoother behavior. Double and Triple apply successive lag-compensated stages. Gaussian cascades four poles without compensation. Hull combines fast and slow passes then re-smooths the result. All structures receive the live scheduled rate so the adaptive weighting remains active.
A residual accumulator runs in parallel with the recursion. It retains a decaying memory of past residuals and applies a correction term that closes persistent offset during sustained trends. An optional ATR-based limiter can bound the accumulator to prevent overshoot after gaps or parabolic moves:
corr_acc := corr_acc * corr_decay + resid
estimate := kern_out + corr_weight * corr_acc
Directional state is derived from the slope of the finished estimate after a short smoothing window. A consecutive run of bars in the same slope direction must reach a confirmation threshold before the state is allowed to flip. This step prevents single-bar noise from reversing the trend color or firing alerts.
🟢 Signal Interpretation
▶ Bullish Trend (Long/Buy): When the smoothed slope of the estimate remains positive for the required number of confirmation bars, the indicator enters bullish state. The trend line and gradient layers switch to the bullish color. This condition identifies potential long or buy opportunities and remains active until an equal run of negative slope bars confirms a reversal.
▶ Bearish Trend (Short/Sell): When the smoothed slope remains negative for the required confirmation bars, the indicator enters bearish state. The visual elements switch to the bearish color. This condition identifies potential short or sell opportunities and holds until a confirmed positive run occurs.
🟢 Features
▶ Preconfigured Presets: Three parameter sets cover different trading approaches. Default targets swing trading on 1H to daily charts with balanced rate and confirmation. Fast Response raises the recursion rate and shortens confirmation for intraday charts where the indicator needs to adapt to shorter-duration moves. Smooth Trend lowers the rate and lengthens confirmation for position trading on daily and weekly timeframes, where the cost of a false flip is higher than the cost of a delayed one. Selecting a preset overrides the individual rate, efficiency, and state detection inputs.
▶ Built-in Alerts: Three alert conditions are provided. Bullish State Signal fires when the trend state flips from bearish to bullish. Bearish State Signal fires on the opposite transition. Any State Change combines both into a single notification.
▶ Visual Customization: Six color presets (Classic, Aqua, Cosmic, Cyber, Neon, Custom) coordinate the trend line and gradient layers. Optional bar coloring tints candles with the active state color at a configurable transparency.
*Tips: Layer the Recursive Kernel Trend with complementary analysis rather than treating it as a standalone trading tool. State flips hold most reliably when backed by participation, so combine each change with volume context, since a flip on expanding volume is far more likely to sustain than one on thin flow, and read the move against market structure, as a reversal that aligns with a clear swing high or low carries more significance than one in open space. Pairing this script with volume, open interest, CVD, market structure, and mean reversion indicators from our QuantAlgo toolkit can further validate a directional shift before entry. Indicator

Liquidity Thermodynamics Engine V9 LiteLiquidity Thermodynamics Engine V9 Lite is a macro-liquidity oscillator designed to highlight liquidity impulse, acceleration, compression, divergence, and follow-through conditions. It is a lite core version of a more heavy research model that explores liquid thermodynamic phase models as the physics corresponds to capital flows.
The indicator combines major liquidity inputs into a normalized composite, then tracks when liquidity impulse strengthens, compresses, diverges from price, or aligns with acceleration. The Lite version focuses on a clean chart experience while preserving an optional Flow Map for users who want to inspect the underlying liquidity drivers.
Primary signals include:
- Composite and signal line
- Positive and negative impulse histogram
- Bright positive impulse bars
- Acceleration markers
- Compression diamonds
- Bullish and bearish divergence markers
- Bright green follow-through triangle
- Optional energy exhaustion flag
- Optional Flow Map
This tool is intended for macro context and research. It is not financial advice and should not be used as a standalone trading system.
User Guide
Liquidity Thermodynamics Engine V9 Lite, or LTE Lite, is a macro-liquidity momentum oscillator designed to help users visualize when liquidity conditions are compressing, accelerating, diverging from price, or beginning to follow through.
The indicator is not designed to predict every short-term move. It is best used as a higher-timeframe liquidity context tool, especially on slower charts such as the 6D, weekly, or multi-day Bitcoin chart. Its strongest signals tend to come when liquidity impulse and acceleration align near important macro turning zones.
This guide explains what each signal means, how to read the chart, and how to use the tool responsibly.
1. What LTE Lite Measures
LTE Lite combines several macro liquidity series into a normalized oscillator:
- Federal Reserve total assets
- Treasury General Account
- Overnight reverse repo
- Reserve balances
- Optional inverse DXY overlay
The core model converts liquidity conditions into a composite line, then measures the speed and force of changes in that composite. The result is a compact view of liquidity pressure, impulse, acceleration, compression, divergence, and exhaustion.
In simple terms:
- The white line shows the liquidity composite.
- The yellow line smooths that composite into a signal line.
- The histogram shows liquidity impulse.
- Markers highlight important changes in pressure, momentum, divergence, and exhaustion.
2. The Core Lines
White Line — Composite Line
The white line is the main liquidity composite. It represents the current normalized liquidity condition.
When the white line rises, liquidity conditions are generally improving. When it falls, liquidity conditions are generally deteriorating.
The white line is more reactive than the yellow signal line.
Yellow Line — Signal Line
The yellow line is a smoothed version of the composite.
It helps users distinguish noise from directional liquidity movement. When the white line rises above the yellow line, liquidity momentum is improving. When the white line falls below the yellow line, liquidity momentum is weakening.
The signal line is not a trade trigger by itself. It is context.
3. Impulse Histogram
The histogram measures the rate of change in the liquidity composite.
Green Histogram Bars
Green bars show positive liquidity impulse.
This means liquidity pressure is improving relative to the prior bars.
Red Histogram Bars
Red bars show negative liquidity impulse.
This means liquidity pressure is deteriorating.
Bright Green Histogram Bars
Bright green bars mark stronger positive impulse.
By default, LTE Lite highlights positive impulse bars when they reach or exceed the Key Positive Impulse Level. In the current stock configuration, this level is set to `0.10`.
These bars are important because they often mark a stronger liquidity push rather than a minor improvement.
Important: a bright green histogram bar is not automatically a buy signal. Its value increases when it aligns with acceleration, compression release, improving structure, or price confirmation.
4. Acceleration Markers
Acceleration markers show when the impulse itself is accelerating.
Yellow `+`
A yellow plus sign marks positive acceleration.
This means liquidity impulse is not just positive; it is improving quickly enough to clear the acceleration threshold.
Positive acceleration can appear before a larger histogram impulse bar, or the impulse bar can appear first. LTE Lite watches for either order.
Yellow `-`
A yellow minus sign marks negative acceleration.
This means liquidity impulse is weakening quickly.
Negative acceleration can warn that a prior liquidity push is losing force.
5. Bright Green Triangle Signal
The bright green triangle is one of the most important Lite signals.
It fires when:
- A bright positive impulse bar occurs, and
- A positive acceleration signal occurs, and
- The two events happen within the configured window.
The default window is `7` bars.
On a 6D chart, 7 bars is roughly 42 calendar days. This gives the signal room to capture cases where acceleration leads impulse and cases where impulse leads acceleration.
Why This Signal Matters
This signal is designed to identify liquidity follow-through.
The idea is:
- A large positive histogram bar shows meaningful liquidity impulse.
- A `+` acceleration marker shows liquidity momentum is expanding.
- When both appear close together, the market may be entering a more supportive liquidity window.
This does not guarantee immediate upside. It means liquidity conditions have improved enough to deserve attention.
How to Use It
Best practice:
1. Watch for the green triangle on higher timeframes.
2. Check whether price is basing, breaking structure, or reclaiming key levels.
3. Confirm that the composite is stabilizing or rising.
4. Avoid treating the triangle as a standalone entry signal.
The green triangle is a context signal, not a mechanical trading command.
6. Compression Signal
Compression is shown as a small gray diamond around the zero line.
Compression appears when:
- Liquidity impulse is small, and
- Composite movement is also muted, and
- This quiet condition persists for the configured number of bars.
Compression means liquidity energy is coiling.
It does not tell direction by itself. It simply says the system is quiet enough that a larger move may be building.
How to Use Compression
Compression is most useful when followed by:
- Positive acceleration
- Bright green impulse
- A green triangle signal
- Composite reclaiming or curling upward
Compression followed by negative acceleration can instead warn of downside continuation.
7. Divergence Signals
Divergence compares price structure against liquidity structure.
Bullish Divergence
A bullish divergence marker appears when price makes a lower pivot low while the liquidity composite makes a higher pivot low.
This can suggest that price is weakening less efficiently because liquidity conditions are improving underneath the surface.
Bearish Divergence
A bearish divergence marker appears when price makes a higher pivot high while the liquidity composite makes a lower pivot high.
This can suggest that price is rising while liquidity support is weakening.
Divergence Mode
The default mode is:
`Price vs Liquidity + Impulse`
This is stricter than simple price-versus-liquidity divergence because it also checks impulse direction. The goal is to reduce noisy divergence signals.
Divergence is best used as a warning or confirmation tool, not as a standalone entry or exit.
8. Energy Exhaustion Flag
The Energy Exhaustion Flag is an optional marker.
It is designed to identify moments when internal liquidity energy has dropped sharply or clustered into a weak state.
By default in the current V9 Lite stock settings, this marker is turned off.
When enabled, it can help identify late-stage exhaustion after strong liquidity movement. It should be used carefully because exhaustion can persist before price responds.
9. Flow Map
The Flow Map is an optional visual layer.
It breaks liquidity movement into individual components:
- Fed flow
- Treasury flow
- RRP flow
- Reserve flow
The Flow Map helps users see which component is contributing most to liquidity movement.
Flow Map Modes
`Stacked Bars` shows all selected flow components.
`Dominant Bars` shows only the strongest component on each bar.
`Stacked + Dominant Marker` shows the flow bars and adds a marker to the dominant component.
How to Use the Flow Map
Use the Flow Map when you want to inspect what is driving the oscillator.
For example:
- Reserve flow may dominate during banking-system liquidity shifts.
- TGA changes may dominate around Treasury cash rebuilding or drawdowns.
- RRP shifts may dominate when reverse repo usage changes materially.
- Fed balance sheet changes may dominate during major policy/liquidity events.
For clean chart reading, leave Flow Map off. Turn it on when doing deeper diagnostics.
10. Suggested Timeframes
LTE Lite is designed primarily for higher-timeframe liquidity analysis.
Recommended starting points:
- Bitcoin 6D
- Bitcoin weekly
- Major index weekly
- Multi-day charts for macro context
Lower timeframes may produce more noise because macro liquidity data updates slowly relative to intraday price action.
The 6D chart can be especially useful because it balances signal sensitivity with macro smoothness.
11. Practical Reading Workflow
Use this sequence:
Step 1 — Identify the Liquidity Regime
Look at the white and yellow lines.
Is the composite rising, falling, basing, or rolling over?
Step 2 — Check Impulse
Look at the histogram.
Are bars green or red? Are green bars brightening? Is negative impulse fading?
Step 3 — Watch Acceleration
Look for `+` or `-` markers.
A `+` means liquidity momentum is accelerating. A `-` means it is decelerating.
Step 4 — Look for Follow-Through
The green triangle is the key combined signal.
It means strong positive impulse and positive acceleration have occurred within the configured window.
Step 5 — Confirm With Price
Do not use the indicator alone.
Look for price confirmation such as:
- Break of market structure
- Reclaim of key moving averages
- Higher lows
- Range breakout
- Failed breakdown
- Support reclaim
Step 6 — Manage Risk
Liquidity support can improve before price moves. It can also improve while price continues consolidating.
Use invalidation levels, position sizing, and a clear plan.
12. Signal Priority
Not all signals carry equal weight.
Highest priority:
1. Bright green triangle after or near positive acceleration
2. Bright green impulse bars appearing after compression
3. Bullish divergence near a major low
4. Composite rising above the signal line
Medium priority:
1. Positive acceleration without bright impulse
2. Compression alone
3. Flow Map showing improving dominant flow
Lower priority:
1. Small green histogram bars
2. Isolated divergence without impulse confirmation
3. A single marker against strong price downtrend
13. Common Mistakes
Mistake 1 — Treating Every Green Bar as Bullish Enough
Small green bars only show mild improvement. The brighter bars matter more.
Mistake 2 — Ignoring Timeframe
Signals on a 6D or weekly chart are not short-term scalping signals. They describe larger liquidity conditions.
Mistake 3 — Ignoring Price Confirmation
Liquidity can lead price, but price still needs to confirm.
Mistake 4 — Assuming the Triangle Means Immediate Upside
The triangle identifies a supportive liquidity window. It does not guarantee immediate price expansion.
Mistake 5 — Overloading the Chart
Keep Flow Map off unless you are diagnosing components. The cleanest read usually comes from the composite, signal line, histogram, acceleration markers, compression, divergence, and green triangle.
14. Default Settings Philosophy
The stock settings are tuned for a clean macro read.
The defaults prioritize:
- Higher-timeframe stability
- Fewer false signals
- Visibility of major impulse events
- Clean chart presentation
- Optional component diagnostics through Flow Map
If users modify settings, they should do so slowly and test across multiple cycles.
Risk Disclaimer
This indicator is for educational and research purposes only.
It does not provide financial advice, investment advice, or trading recommendations. Markets involve risk, and no indicator can guarantee future performance. Users should combine this tool with independent analysis, risk management, and their own decision-making process.
Past signal behavior does not guarantee future results. Indicator

Next Candle Predictor V4.1## Next Candle Predictor V4.1 — Terminology and Presentation Update
This update improves the clarity of the indicator's terminology and on-chart presentation while preserving its existing calculation framework, weighting structure, visual layout, and signal conditions.
### Changes
- Renamed displayed “Prediction” values to “Directional Score”.
- Replaced “Perfect Time” with “Strong Setup”.
- Renamed the volume-derived component to “Estimated Volume Pressure”.
- Renamed projection visuals to “Directional Scenario Candles”.
- Updated dashboard labels and alert messages for clearer interpretation.
- Removed performance-target wording.
- Added author attribution: Developed by Ceyhun C. Canbazoglu.
### Score Interpretation
The displayed long and short percentages are normalized directional confluence scores derived from the indicator’s rule-based components.
They are not statistical probabilities, expected win rates, guarantees, or forecasts of the next candle’s result.
### Estimated Volume Pressure
Estimated Volume Pressure uses OHLCV data and the closing price’s position within the candle range to estimate directional pressure.
It is not exchange-level bid/ask volume delta or actual aggressive buying and selling volume.
### Directional Scenario Candles
The optional scenario candles are volatility-scaled visualizations based on the indicator’s current directional scores.
They do not forecast the next candle’s exact open, high, low, close, direction, or price target.
### Core Framework
The existing multi-factor framework remains unchanged and continues to evaluate:
- trend direction,
- EMA alignment,
- MACD momentum,
- RSI position,
- Stochastic conditions,
- ADX trend strength,
- relative volume,
- estimated volume pressure,
- and volatility regime.
This indicator is intended as a technical-analysis and decision-support tool. It does not provide financial advice or guarantee trading results. Indicator

Uptrick: Flow Expansion TrendIntroduction
Uptrick: Flow Expansion Trend (FET) is an overlay tool built around an efficiency-adaptive midline that speeds up or slows down based on how directional recent price movement has been. The midline is paired with a volatility-based signal boundary and a minimum flow-strength filter to determine confirmed trend flips, and the script includes a market-state read that classifies current conditions as directional, developing, or compressed. Signal labels can be anchored to price highs and lows, a fixed ATR distance from price, or the midline itself.
Originality
This script's core is an efficiency ratio, calculated as the net price movement over a lookback divided by the sum of all bar-to-bar movement over that same lookback, which produces a value between 0 and 1 describing how directional versus choppy the recent path has been. Rather than using this ratio as a standalone oscillator, it is fed into the smoothing constant of the midline itself, so the midline's responsiveness continuously adjusts between a fast and slow smoothing constant based on current market efficiency. This is what separates the midline from a standard moving average, since it does not use a fixed lookback response but instead reshapes itself with the character of the move.
The signal boundary distance around the midline is also adaptive: it widens or narrows based on the same efficiency reading, so the distance price must travel to trigger a trend flip contracts in efficient, directional conditions and expands in choppier ones. A trend flip additionally requires a minimum flow-strength threshold, a normalized measure of the midline's own rate of change relative to ATR, so a boundary breach alone is not sufficient to flip the trend without accompanying follow-through in the midline's slope.
Combining an adaptive midline, an adaptive signal boundary, and a flow-strength confirmation filter into a single confirmed-trend mechanism is the original contribution of this script, since each of the three components is derived from the same efficiency and volatility inputs but serves a distinct role in preventing premature or noise-driven flips. The selectable signal anchor further separates the trend calculation from the signal display, letting traders choose whether labels sit at the bar's high/low, a fixed ATR offset from price, or directly on the midline, without altering the underlying trend logic in any way.
Features
Efficiency-adaptive midline that adjusts its smoothing speed based on how directional recent price action has been
Adaptive signal boundary that widens in choppy conditions and narrows in directional conditions
Minimum flow-strength filter required alongside a boundary breach to confirm a trend flip
Confirmed-bar trend state calculation to avoid intrabar repainting of the trend flip
Selectable signal anchor for up and down labels: high/low, fixed ATR distance from price, or midline
Adjustable ATR distance value when the ATR distance anchor is selected
Up and down trend signal labels
Optional candle coloring based on the most recent confirmed signal
Adjustable midline width
On-chart dashboard showing trend, market efficiency percentage, flow strength, market state classification, bars since the last signal, and current signal anchor mode
Four selectable dashboard positions
Four alert conditions: up signal, down signal, any trend signal, and market becoming directional
Inputs
Trend Engine: source, trend length, signal distance multiplier, minimum signal strength threshold.
Signals: show/hide up and down signals, signal anchor mode, signal ATR distance.
Visuals: candle coloring toggle, midline width, show/hide dashboard, dashboard position.
How It Works / How to Use
The script measures how efficiently price has moved over the trend length by comparing net displacement to total path length traveled. This efficiency value continuously reshapes the midline's smoothing speed, so the midline hugs price more closely in strong directional runs and lags more in choppy conditions. An ATR-based boundary is placed around the midline, with its distance also scaled by the same efficiency reading. A trend flip is confirmed only when price closes beyond this boundary on a confirmed bar and the midline's own rate of change exceeds the minimum flow-strength threshold in that direction.
Once a flip is confirmed, the up or down label is placed according to the chosen signal anchor: at the bar's high or low, at a fixed ATR distance beyond price, or directly on the midline. This is purely a display choice and does not affect when or why a trend flip occurs.
Traders can use the midline's slope and color for ongoing directional bias, the up and down signals for confirmed flips, and the dashboard's market-state classification to gauge whether current conditions are more suited to trend-following or more likely to produce choppy, range-bound behavior.
Conclusion
Uptrick: Flow Expansion Trend combines an efficiency-adaptive midline, a matching adaptive signal boundary, and a flow-strength confirmation filter into a single trend-following overlay, giving traders a trend read that reshapes itself with current market conditions rather than relying on a fixed-speed average, with flexible signal placement to suit different charting preferences.
Disclaimer
This script is provided for informational and educational purposes only and does not constitute financial advice. Past performance, whether shown historically or implied through the script's logic, does not guarantee future results. Always perform your own due diligence and risk management before making trading decisions. Indicator

VWAP Deviation Trend [BackQuant]VWAP Deviation Trend
Overview
VWAP Deviation Trend is a volume-weighted trend-following overlay that transforms VWAP and its surrounding price distribution into a directional trailing structure.
Rather than using VWAP only as a fair-value line, the indicator calculates:
A configurable anchored or rolling VWAP.
The volume-weighted standard deviation of price around that VWAP.
Adaptive upper and lower deviation bands.
One-sided trailing boundaries used to confirm bullish and bearish regimes.
The indicator is designed to identify when price has moved far enough away from accepted volume-weighted value to establish a meaningful directional shift.
Unlike a simple VWAP crossover, price can move through VWAP without immediately changing the active trend. A new regime requires price to break the opposite trailing deviation boundary, optionally with confirmation from the direction of VWAP itself.
The updated visual engine also measures trend strength and uses it to control:
Gradient intensity.
Trail glow width.
Post-flip bloom effects.
The visual separation between price and the active trail.
Core concept
VWAP represents the average price paid over a selected period, weighted by trading volume.
The basic formula is:
VWAP = Sum of Price × Volume / Sum of Volume
Prices associated with greater volume contribute more heavily to the final value. This makes VWAP a useful approximation of:
Volume-weighted fair value.
The center of traded activity.
The average position of market participants.
An institutional execution benchmark.
However, VWAP alone does not explain how widely price has been distributed around that value.
VWAP Deviation Trend treats VWAP as the center of a volume-weighted price distribution and measures the dispersion around it. That dispersion is then used to create trailing trend boundaries.
VWAP calculation modes
The indicator supports five VWAP windows:
4 Hours
Daily
Weekly
Rolling Lookback Bars
Rolling Lookback Days
4 Hours
Resets VWAP at fixed four-hour intervals.
This can be useful for:
Cryptocurrency markets.
Intraday futures.
Continuously traded markets.
Shorter fair-value regimes.
Daily
Resets at the beginning of each calendar day.
This is the traditional intraday VWAP structure and is useful for:
Session bias.
Intraday mean reversion.
Day-trading trend confirmation.
Weekly
Accumulates volume and price across the current week.
This creates a slower structural anchor suited to:
Swing trading.
Weekly positioning.
Broader accepted-value analysis.
Rolling Lookback Bars
Calculates VWAP over a fixed number of candles.
The window moves forward continuously and does not reset at a calendar boundary.
This is useful for:
Systematic trend models.
Consistent multi-timeframe analysis.
Markets where daily sessions are less important.
Rolling Lookback Days
Includes bars that fall within a selected number of calendar days.
This keeps the analytical window tied to elapsed time instead of a fixed candle count.
Anchored versus rolling VWAP
Anchored modes begin at a fixed boundary and accumulate until the next reset.
Rolling modes continually remove old observations as new observations arrive.
Anchored VWAP is useful when a particular session or week has structural meaning. Rolling VWAP is useful when the trader wants a stable and continuously adapting lookback.
Volume-weighted deviation
The indicator calculates more than the VWAP mean.
It also measures volume-weighted price variance using:
Weighted Mean Square = Sum of Price² × Volume / Sum of Volume
Weighted Variance = Weighted Mean Square - VWAP²
Weighted Deviation = Square Root of Weighted Variance
This measures how widely prices associated with meaningful trading volume are distributed around VWAP.
A small deviation suggests:
Trading is concentrated near fair value.
The market is relatively balanced.
Price acceptance is narrow.
A large deviation suggests:
Trading is spread across a wider range.
Price discovery is more active.
The market is less tightly centered around VWAP.
Because the calculation is volume weighted, high-volume prices influence the bands more than low-volume excursions.
Fallback when volume is unavailable
If usable volume is not available, the indicator falls back to an unweighted arithmetic mean and variance.
This allows it to function on synthetic or limited-volume symbols, although the result should then be interpreted as a rolling or anchored mean rather than a true VWAP.
Deviation bands
The raw width is calculated as:
Deviation Width = Weighted Deviation × Deviation Multiplier
The upper and lower raw bands are:
Upper Band = VWAP + Band Width
Lower Band = VWAP - Band Width
Higher deviation multipliers create wider bands and fewer trend changes.
Lower multipliers create tighter bands and faster, more frequent flips.
ATR minimum width
During low-dispersion periods, volume-weighted deviation can become extremely narrow.
This can cause small and insignificant movements to trigger repeated reversals.
The optional ATR floor calculates:
ATR Floor = ATR × ATR Minimum Multiplier
The final width becomes:
Band Width = Maximum of Deviation Width and ATR Floor
This preserves volume-weighted deviation as the primary band engine while preventing the channel from collapsing below a practical volatility threshold.
Trailing-band construction
The raw deviation bands move freely with VWAP and dispersion.
The indicator converts them into one-sided trailing levels.
Lower trail
While the selected trigger remains above the lower trail:
The trail can rise.
It cannot move downward.
This creates a ratcheting support structure.
Upper trail
While the trigger remains below the upper trail:
The trail can fall.
It cannot move upward.
This creates a ratcheting resistance structure.
The active trend trail is:
The lower trail during bullish regimes.
The upper trail during bearish regimes.
Why trailing logic matters
A raw VWAP band can move toward price and create unstable signals.
The one-sided trail preserves trend structure and creates hysteresis.
Hysteresis means the threshold required to enter a bullish regime is different from the threshold required to enter a bearish regime.
This allows price to rotate around VWAP without constantly changing the active trend.
Trend initialization
When the first valid VWAP is available:
The trend initializes bullish if the trigger is at or above VWAP.
The trend initializes bearish if the trigger is below VWAP.
After initialization, a full break of the opposite trail is required to change regimes.
Bullish trend flip
A bullish flip requires:
The selected trigger to move above the upper trailing band.
The current trend not already to be bullish.
VWAP slope confirmation to pass if enabled.
Once confirmed:
The trend becomes bullish.
The active trail moves beneath the market.
A bullish signal marker is displayed.
Bearish trend flip
A bearish flip requires:
The selected trigger to move below the lower trailing band.
The current trend not already to be bearish.
VWAP slope confirmation to pass if enabled.
Once confirmed:
The trend becomes bearish.
The active trail moves above the market.
A bearish signal marker is displayed.
Flip trigger
The trend can be triggered using:
Close
The selected VWAP price source
Close is the more conventional option.
Using the price source, such as HLC3, can produce a slightly smoother trigger because it reflects more of the bar than the close alone.
VWAP slope confirmation
Optional slope confirmation requires VWAP itself to move in the direction of the proposed new trend.
For a bullish flip:
Current VWAP must be above VWAP from the selected lookback.
For a bearish flip:
Current VWAP must be below its prior value.
This can help reject:
Temporary band breaks.
Low-volume price spikes.
Liquidity sweeps against flat fair value.
The tradeoff is additional confirmation delay.
Breaking the trail on flips
The active trail changes from one side of the market to the other during a regime transition.
The Break Trail On Flips option inserts a visual gap on the flip bar so the previous and new trails are not connected by a misleading line segment.
This affects presentation only.
Visual trend-strength engine
The updated script includes a visual-strength model that controls the intensity of the gradient and glow.
It combines two measurements:
Distance between price and the active trail.
Slope of VWAP relative to the current band width.
Distance strength
The script measures:
Absolute Distance = |Close - Trend Trail|
This is normalized by the current band width.
A larger distance indicates stronger separation between price and the structural trail.
Slope strength
VWAP movement across the slope lookback is also normalized by the band width.
This measures whether volume-weighted fair value itself is moving meaningfully relative to the size of the current deviation structure.
Combined trend strength
The final visual strength is weighted:
70% price-to-trail distance.
30% VWAP slope strength.
This produces a value between zero and one.
It does not change trend logic or signals. It controls the visual intensity of the indicator.
Layered gradient fill
Instead of using one flat gradient, the updated indicator divides the space between the trail and price into six visual layers.
The levels are placed progressively between:
The active trend trail.
The current closing price.
The gradient is:
Most concentrated near the structural trail.
Progressively softer toward price.
The opacity adapts to trend strength.
When price is strongly separated from the trail and VWAP is moving with the regime:
The gradient becomes more vivid.
When the trend is weak:
The fill becomes softer and more transparent.
This makes the visual ribbon encode more than direction. It also reflects the current strength of the price-to-structure relationship.
Flip bloom
After a confirmed trend flip, the indicator creates a temporary bloom around the new trail.
The bloom is strongest immediately after the transition and fades over the following bars.
Its intensity follows this general sequence:
First bar after flip: strongest bloom.
Second bar: reduced bloom.
Third bar: light residual bloom.
Afterward: bloom disappears.
This visually emphasizes fresh regime changes without permanently increasing chart brightness.
The bloom is cosmetic and does not affect calculation.
Adaptive trail glow
The glow surrounding the trail also changes with trend strength.
The base width is ATR-scaled, then increases slightly as the visual trend-strength score rises.
This creates:
A broader glow during stronger regimes.
A narrower glow when trend structure is weaker.
The glow contains:
An inner, more visible layer.
A wider, softer outer layer.
Visual interpretation
The updated presentation provides several pieces of information simultaneously:
Color shows the active trend direction.
The trail shows the structural regime boundary.
Gradient intensity reflects trend strength.
Glow width reinforces structural conviction.
The bloom highlights fresh regime transitions.
How to use the indicator
Trend regime filter
Use the active color and trail position as directional context:
Favor longs during bullish regimes.
Favor shorts during bearish regimes.
Pullback structure
In a bullish regime:
VWAP represents volume-weighted fair value.
The lower trail represents deeper structural support.
In a bearish regime:
VWAP represents the mean-reversion anchor.
The upper trail represents deeper structural resistance.
Trend-strength context
A vivid gradient and broader glow suggest:
Price is well separated from the trail.
VWAP is moving in the trend direction.
The regime has stronger structural momentum.
A weak or faded gradient suggests:
Price is closer to the trail.
VWAP slope is weaker.
The trend may be consolidating or losing strength.
Fresh transitions
The bloom helps identify newly established regimes.
A fresh flip with:
Strong bloom.
Growing price separation.
VWAP slope alignment.
generally represents stronger early trend structure than a flip that immediately loses visual intensity.
Dynamic risk management
The active trail may be used as:
A trailing stop reference.
A regime invalidation boundary.
A position-management guide.
Because the trail responds to both volume-weighted dispersion and volatility, it adjusts as market conditions change.
How this differs from a standard VWAP
A standard VWAP:
Plots only volume-weighted mean price.
Usually resets once per session.
Does not maintain trend state.
VWAP Deviation Trend:
Supports anchored and rolling windows.
Calculates volume-weighted dispersion.
Creates adaptive raw bands.
Converts them into directional trailing boundaries.
Maintains persistent bullish and bearish regimes.
Adds a strength-reactive visual system.
How this differs from Supertrend
A traditional Supertrend normally uses a central price such as HL2 and ATR-based bands.
VWAP Deviation Trend uses:
Volume-weighted fair value as the center.
Volume-weighted standard deviation as the primary width.
ATR only as an optional minimum floor.
This means the trail responds not only to range volatility, but also to where trading volume has been concentrated.
How this differs from Bollinger Bands
Bollinger Bands normally use:
A moving average.
Unweighted standard deviation.
Symmetrical non-trailing bands.
This indicator uses:
A volume-weighted mean.
Volume-weighted variance.
One-sided trailing bands.
Persistent trend-state logic.
It is therefore a trend-regime model rather than a standard mean-reversion envelope.
Input guide
VWAP Mode
Selects the anchored or rolling calculation window.
Deviation Multiplier
Controls the width of the statistical bands.
Higher values produce wider, slower regimes. Lower values produce tighter and faster regimes.
ATR Minimum Width
Prevents excessive narrowing during compressed conditions.
VWAP Slope Confirmation
Requires volume-weighted fair value to move with the proposed trend.
Flip Trigger
Selects whether close or the chosen price source must cross the trail.
Visual settings
Allow the trader to display:
The trend trail.
VWAP.
Raw deviation bands.
Layered gradient.
Adaptive glow.
Signals.
Trend candles.
Strengths
Combines fair value, dispersion, and trend structure.
Uses volume-weighted mean and variance.
Supports multiple anchored and rolling VWAP windows.
Uses ATR protection against narrow-band whipsaws.
Creates persistent regimes with hysteresis.
Provides optional VWAP slope confirmation.
Includes a trend-strength-reactive visual system.
Clearly emphasizes fresh trend transitions.
Limitations
Volume quality varies between instruments.
Anchored VWAP modes may be unstable immediately after a reset.
Long windows can react slowly to sudden regime changes.
Tight settings can increase whipsaws.
Wide settings can delay reversals.
Slope confirmation can add additional lag.
Visual strength is contextual and is not a separate trading signal.
Alerts
The indicator includes alerts for:
Confirmed bullish trend flips.
Confirmed bearish trend flips.
These represent complete VWAP deviation regime changes, not ordinary crosses of VWAP.
Summary
VWAP Deviation Trend converts volume-weighted fair value and price dispersion into a directional trend trail.
It calculates VWAP over a configurable anchored or rolling window, measures volume-weighted standard deviation around that VWAP, and builds upper and lower deviation bands. An optional ATR floor prevents the structure from becoming excessively narrow during quiet conditions.
The raw bands are transformed into one-sided trails. The lower trail ratchets upward during bullish regimes, while the upper trail ratchets downward during bearish regimes. Trend changes occur only when price breaks the opposite trail, optionally with confirmation from the slope of VWAP.
The updated visual engine measures price separation and VWAP slope to dynamically control the layered gradient, trail glow, and temporary post-flip bloom. This creates a clearer representation of direction, structural strength, and fresh regime transitions without changing the underlying signal logic. Indicator

Indicator

Gold Signals# Gold Signals
Gold Signals is a professional PulseWire indicator designed to identify high-probability BUY and SELL opportunities using advanced market structure analysis, trend confirmation, and intelligent filtering techniques.
Built with a clean interface and optimized default settings, the indicator helps traders focus on high-quality setups while reducing market noise. Although primarily optimized for Gold (XAUUSD), it can also be used on other highly liquid markets.
! (PUT_YOUR_COVER_LINK_HERE)
---
# ✨ Main Features
✅ Smart BUY & SELL Signals
Generate high-quality trading signals using multiple confirmation layers.
✅ Multi-Timeframe Confirmation
Validate market direction using higher and lower timeframe analysis.
✅ Trend Detection
Identify the current market direction using adaptive trend calculations.
✅ EMA Slope Filter
Filter out weak trends and sideways market conditions.
✅ Momentum Filter
Focus on stronger market movements while avoiding low-momentum environments.
✅ Built-in Take Profit & Stop Loss Visualization
Automatically display TP and SL zones directly on the chart.
✅ Statistics Dashboard
Monitor important trading information through an integrated dashboard.
✅ PulseWire Alerts
Receive instant notifications whenever a qualified trading opportunity appears.
---
# 📈 sell Example
The following example demonstrates a SELL setup generated after all confirmation filters aligned.
---
# 🎯 SELL Target
After the SELL signal is confirmed, Gold Signals automatically displays predefined Take Profit and Stop Loss zones to simplify trade management.
! (PUT_YOUR_BUY_TARGET_LINK_HERE)
---
# 📊 Dashboard
The integrated dashboard provides a quick overview of market conditions and trading information while keeping the chart clean and organized.
---
# ⚙️ Recommended Settings
Optimized for Gold (XAUUSD).
• Chart Timeframe: 1 Minute
• Higher Timeframe: 15 Minutes
• Short Trend: 30
• Long Trend: 100
• Momentum Filter: Enabled
• EMA Slope Filter: Enabled
---
# 🔔 Alerts
PulseWire alerts are fully supported.
Create BUY or SELL alerts directly from the indicator to receive real-time notifications whenever a new qualified setup appears.
---
# 👨💻 Credits
Gold Signals is based on the open-source **Smart Money Structure** project created by **GainzAlgo**.
This version includes interface improvements, optimized default settings, usability enhancements, and additional refinements developed by **A1**.
Full credit for the original concept and base implementation belongs to GainzAlgo.
---
# 🚀 Version 1.0
### Initial Public Release
• Professional English interface
• Optimized default settings
• Enhanced chart visualization
• Multi-Timeframe confirmation
• EMA Slope filtering
• Momentum confirmation
• Built-in TP & SL visualization
• Statistics Dashboard
• PulseWire alert support
• Performance and usability improvements
---
# ⚠️ IMPORTANT DISCLAIMER
Gold Signals is provided solely as a technical analysis and educational tool.
This indicator does not provide financial, investment, or trading advice and should not be considered a guarantee of profitable trading results.
Financial markets involve significant risk, and losses are a natural part of trading. No indicator can accurately predict future market movements under all conditions.
Always perform your own market analysis, use proper risk management, and never risk more than you can afford to lose.
Past performance does not guarantee future results.
By using this indicator, you acknowledge and accept that all trading decisions and their outcomes are entirely your own responsibility. FX:XAUUSD FX:XAUUSD Indicator

Supply & Demand Order Blocks [JOAT]Supply and Demand Order Blocks
Detects institutional order blocks from displacement, tracks them until mitigated, and signals reactions when price returns to a fresh zone.
What it is
Large participants cannot fill size at a single price, so they leave a footprint: the last opposing candle before an aggressive, imbalanced push. That candle marks the zone where unfilled orders rest and where price often returns to be re-accumulated or re-distributed. This indicator locates those zones objectively, manages their lifecycle, and frames the reaction as a trade. It is an original order-block engine with strict zone management.
How it works
• Displacement — the engine measures each impulsive leg over a short window against an ATR multiple. Only moves that exceed that threshold (optionally requiring a fair-value gap) count as institutional displacement, filtering out ordinary candles.
• Order block — the last opposing candle before a qualifying displacement is stored as a zone: the last down candle before a bullish push becomes demand, the last up candle before a bearish push becomes supply.
• Zone management — active blocks are held in parallel arrays, drawn as boxes extended to the right, faded by age and saturated by displacement strength, pruned once mitigated (price closes through them), and capped at a live maximum so the chart stays clean.
• Signals — a Buy fires when price taps a fresh demand block and closes back up (a bullish rejection); a Sell is the mirror at a supply block. An optional trend filter keeps you buying demand in uptrends and selling supply in downtrends, and a minimum-age plus minimum-gap rule stops a freshly formed block from self-triggering and prevents clustering.
Trade levels
Each signal draws a red risk box from entry to a stop placed beyond the block and a green reward box to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit at your R multiples.
The dashboard
An adjustable order-flow-depth panel shows the trend bias, the live counts of demand and supply blocks, the distance to the nearest zone, a conviction estimate, the active signal, and a live first-target-before-stop tally from closed bars only.
How to use it
• Works on any asset and timeframe; larger timeframes produce fewer, more significant blocks.
• Trade reactions at fresh, unmitigated zones aligned with the trend filter; treat mitigated zones as spent.
• Use the nearest-zone distance to anticipate where a reaction may occur before it happens.
Settings
Displacement window and ATR size, fair-value-gap requirement, maximum live blocks and extension, minimum block age, trend filter length, risk buffer and target R multiples, plus visual and dashboard controls.
Originality and usefulness
The contribution is the full lifecycle model: an ATR-based displacement filter, objective block selection, age-and-strength-aware zone rendering, mitigation-based pruning, and a self-trigger guard — combined with a trend-filtered, non-repainting reaction signal and explained end to end.
Notes and limitations
• Not every tap of a zone reverses; blocks can and do break, which is why mitigation pruning and stops exist.
• Order-block definitions vary between traders; this engine uses one consistent, disclosed definition.
• The tally reflects only past bars on the current chart and is not a forecast.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Indicator

HalfTrend Long/Short Signal Engine [BigBeluga]HalfTrend Long/Short Signal Engine is an institutional-grade trend tracking toolkit built for PulseWire. It filters out minor market noise to deliver definitive, non-repainting long and short entry signals based on asset volatility and structural swing pivots.
Instead of displaying standard lag-heavy moving averages, this system uses an adaptive directional engine to lock onto clean trend lines and overlay automatic risk-management matrices directly onto your chart. It calculates real-time win rates and scans multiple assets simultaneously so you can trade with systematic statistical backup.
🔵 MAIN ENGINE & MARKET CALCULATION MECHANICS
1. Pure HalfTrend Price Filter Matrix
Swing Pivot Trackers: The engine scans local high and low data using an adjustable lookback filter ( Amplitude ) to find actual structural swing points rather than temporary price spikes.
Volatility-Adjusted Bands: It establishes dynamic outer channel boundaries using a 100-period Average True Range calculation divided by two ( ATR/2 ). The total channel width automatically scales using your custom risk buffer parameter ( Channel Deviation ).
Regime Flip Architecture: The system locks into a Bullish Regime when price crosses above structural highs, shifting the main tracking baseline to Green. When price slips below structural lows, it forces a Bearish Regime and changes the tracking baseline to Red.
2. Automated Risk Matrix & Multi-Asset Scanner
Algorithmic Trade Execution: The moment a new trend regime initializes, the engine projects a strict trade tracking matrix showcasing an entry line, a clear stop-loss boundary, and three tiered profit targets (TP1, TP2, and TP3).
Live Performance Dashboard: An integrated on-screen table calculates real-time historical metrics, tracking active wins, losses, current target risk-to-reward ratios ($1:3$), and overall system win rate percentages.
Screener Security Matrix: The background engine leverages real-time multi-asset queries to stream concurrent trend statuses for five separate configurable symbols directly into a secondary visual dashboard.
// Automated Trade Risk & Multi-Asset Tracking Snippet
if buySignal
float dist = atr2 * baseRiskMult
activeSL := close - dist
activeTP1 := close + dist
activeTP2 := close + (dist * 2)
activeTP3 := close + (dist * 3)
tradeState := 1
entryPx := close
t1 = request.security(sym1, timeframe.period, trend)
🔵 WHY IT IS USEFUL
Elimination of Market Noise: Standard moving averages constantly whip back and forth during consolidations. The HalfTrend calculation filters out minor intraday fluctuations, only shifting when a definitive structural high or low is broken.
Mathematical Execution Blueprint: It takes the emotion out of trade management. Every signal comes equipped with dynamic, visually mapped stop losses and a $1:3$ risk-reward profit map that fills with real-time gradient paths.
Macro Market Synchronicity: The multi-asset side-panel allows you to keep an eye on major market drivers (like BTC, ETH, Gold, or major FX pairs) simultaneously, ensuring your trades line up with broader institutional market direction.
🔵 HOW TO USE THE SYSTEM
Trading Long Breakouts: When the system transitions from a bearish regime into a bullish regime, a Green LONG label will print beneath the breakout candle. Execute your position at the white entry line, setting your dynamic stop-loss boundary inside the red risk gradient.
Trading Short Breakdowns: Monitor the system for a shift into a bearish regime, indicated by a Red SHORT label appearing above the asset price. Execute short orders relative to the entry line and utilize the upper red gradient zone to map your protective risk ceiling.
Managing Exits and Targets: Take partial profits sequentially as the asset price moves through the Green target lines (TP1, TP2, and TP3). If a sudden trend reversal prints an opposing signal before your final targets are satisfied, the script automatically triggers a reversal exit rule to preserve accumulated gains.
Streamline your trade execution, manage portfolio risk systematically, and screen multiple sectors at once with the HalfTrend Long/Short Signal Engine workspace. Indicator

Strong Gold Signals | ProjectSyndicateStrong Gold Signals catches the moment a liquidity grab runs out of fuel — price stabs beyond a level, traps the breakout crowd, then rolls over — and fires the reversal the instant the sweep stops extending. Markets hunt the obvious highs and lows: a candle pushes through a prior swing, an HTF extreme, or a session high/low, spikes just far enough to trip the stops resting there, then rejects with a long wick and closes back showing the move had no follow-through. That failed grab is the event. The engine measures how clean and how loaded that sweep is as a 0–10 Reversal Strength and fires AGAINST the grab — with the snap-back, not with the trap. Every setup gets a structural invalidation level behind the sweep extreme, fixed R-based targets, a 0–10 strength with a 1–4 star rank, and is tracked live on a full statistics dashboard — including honest stop-outs — so you can see exactly how the logic behaves on the symbol and timeframe you trade.
🧠 Sweep Core — the core idea, expressed as a lifecycle: LEVEL ▸ GRAB ▸ REJECTION ▸ STALL ▸ REVERSAL. A fresh liquidity level defines where stops are resting. A grab happens when price closes beyond that level with a rejection wick — the raid that runs the stops and then gets sold (or bought) back into range. The sweep is allowed to keep extending as long as it makes new extremes; the reversal fires on the first confirmed bar that fails to push past the sweep's high or low. Swept highs flip to a SHORT, swept lows to a LONG. Pivots come from confirmed swings and every condition is evaluated on the bar's close, so the structure and the signal do not repaint once they confirm.
🔎 Three Liquidity Sources — you choose what counts as the liquidity being swept. Macro Pivots uses confirmed swing highs and lows and is the validated default on intraday gold. HTF Previous Bar uses the prior higher-timeframe bar's high and low, so the engine hunts the levels bigger players watch. Session High/Low tracks the Asian, London, and New York ranges and reacts when a session extreme is raided. One switch changes the entire character of what the engine treats as a stop-hunt, without touching the rest of the logic.
🔋 Strength Anatomy — a sweep is not just true or false; it is scored for how clean the reversal setup is. The Reversal Strength fuses reversal-native ingredients into a single 0–10 read: trend context (how the higher structure frames the fade), rejection wick (how decisively the grab was rejected), volatility regime (calmer conditions favor clean snap-backs over runaway sweeps), mean proximity (how stretched price is from its baseline), and sweep depth (how far past the level the raid reached before stalling). Each ingredient carries its own weight and contributes to the 0–10 total, and you shape what qualifies through those weights and the wick threshold rather than chasing a single number.
🎯 Structural Invalidation + R-Based Targets — the stop is anchored to the sweep, not guessed. Invalidation sits just beyond the sweep extreme — the price that, if reclaimed, means the grab was real and the reversal failed — plus an ATR buffer for cushion. That distance is then clamped between an ATR floor and an ATR ceiling, so a stop never balloons into a wide one and the 1R target never collapses into a tight scalp. TP1, TP2, and TP3 are set at clean R multiples, defaulting to a deliberately wider 1.5R / 3R / 5R so winners are given room to travel, and fully adjustable to your reward profile. Every signal plots its complete Entry / SL / TP1 / TP2 / TP3 line set, labeled level prices, the swept liquidity level itself, and filled TP / SL zone boxes, with a result label on exit — and every zone is drawn at the same fixed width, so short trades and long trades leave an identical, uniform footprint on the chart.
⭐ 0–10 Strength with Star Tiers — every signal is labeled with its numeric strength, a star rank, and a tier ladder running MINIMAL → WEAK → MODERATE → STRONG → ELITE, so the raw quality of a setup reads at a glance without checking the number. Treat the strength as a cleanliness and confluence read for ranking and thinning setups — it describes how textbook a sweep-and-reject is, not a guaranteed outcome. The Minimum Stars gate restricts what is taken and alerted, while the dashboard keeps tracking every tier in the background so you can see, on your own data, whether higher tiers actually convert better.
🎚️ Conviction Controls — a compact set of dials sets how serious a sweep must be before it counts: the Minimum Stars To Take (the tier floor to fire at all), the Alert Minimum Stars threshold, the Min Reversal Wick that defines a genuine rejection, the Pivot Length that decides which swings qualify as liquidity, the Stop Buffer beyond the sweep, and the max-risk cap and min-risk floor that keep the stop sane. Tighten them for fewer, cleaner reversals; loosen them for more activity. This is your main control over conviction versus frequency.
🧭 Single-Ticket Discipline & Honest Accounting — only one ticket is active at a time, and a Signal Cooldown enforces a minimum gap between entries so one violent, choppy session can't stack overlapping trades. Resolution is SL-first pessimistic with honest partial-target accounting — if a stop is hit after TP1 or TP2, that partial result is booked rather than rounded up to a full win. A time-stop closes any trade that neither targets nor stops within a generous window, so nothing sits open forever and the on-chart statistics track how the setups actually run to target.
📊 Live Statistics Dashboard — a non-intrusive panel tracks, in real time on your chart: the current status (scanning → trade active) and the active trade side, the last signal with its star score, win rate, total closed trades, profit factor, average R per trade, best-performing direction, long vs short win rate, current and max win/loss streaks, and a TP1 / TP2 / TP3 / SL outcome breakdown. A multi-timeframe trend strip shows the current and two higher-timeframe biases at a glance, a Win Rate By Strength table breaks results out by star tier, and a Last Trades ledger lists the most recent outcomes. Every filled trade that reaches an outcome is counted — winners and stop-outs alike — so the numbers are computed live from the real signals on your current symbol and timeframe, not a figure printed in a description.
🎨 Clean Themed Visuals — six coherent palettes, all tuned for a black chart background — Aurora (the clean mint-and-rose default), Gold Noir, Ice Blue, Aqua Violet, Neon Magenta, and Institutional — shade the signal labels, the per-trade SL / TP ladder and zone boxes, the swept-level and pivot-liquidity markers, and the dashboard to one consistent look, so direction and quality read at a glance. Each reversal prints a labeled GOLD LONG or GOLD SHORT signal with its strength, star tier, and direction. A max-drawn-trades cap keeps only the most recent tickets on the chart while the statistics stay cumulative over the full history.
🔔 Detailed Alerts — fires on a Strong Long Reversal, a Strong Short Reversal, any reversal, and on TP3 Hit, Partial TP Exit, and SL events, formatted for manual or automated use. The strength gate can restrict alerts to higher-conviction setups only.
🔧 Fully Customizable — every component is exposed: the liquidity source and its pivot length, HTF resolution, session times and timezone, and the reversal-wick threshold; the ATR length, stop buffer, max-risk cap and min-risk floor, and the three R targets; the cooldown, the time-stop window, the uniform zone width, and the max historical trades drawn; the minimum-stars gate, the alert threshold, and each of the five strength weights; the dashboard position, size, and every section toggle including the MTF strip and its two timeframes; all six themes; and every signal label, star, line, box, level tag, and dashboard element.
🎯 Why this is different — most reversal tools flag a wick or a divergence after the fact. This one treats the liquidity grab and its exhaustion as the event, scores how clean that sweep-and-reject is across trend context, rejection, volatility, stretch, and sweep depth, and fires only when the raid stops extending — catching the snap-back at its origin — then anchors invalidation behind the sweep, ranks every setup on an objective 0–10 scale, and layers a live, honest statistics panel that counts stop-outs in full. You tune and judge it on real, current data from your own chart instead of a marketing number.
🚀 Where to use it — the engine was built and tuned on XAUUSD (gold) on intraday timeframes, where liquidity hunts, session raids, and stop-runs are a constant feature — but the mechanics are symbol-agnostic and rest on universal behavior: every liquid market sweeps its obvious highs and lows. It can be applied to FX majors and crosses, metals, indices, and crypto on intraday timeframes, with the pivot length and ATR-based stop adapting to each instrument's volatility. Because it fades exhaustion, it shines around session extremes and range edges and demands more care in violent one-way trends, where a sweep can keep extending rather than reject — let the dashboard tell you whether the logic suits the pair and timeframe before you commit.
🎯 How to trade it
Apply it to a liquid symbol on an intraday timeframe and let the dashboard populate. Read the live win rate, profit factor, and average R for your symbol and timeframe first — if the logic doesn't suit that market, you'll see it.
Wait for a labeled GOLD LONG / GOLD SHORT reversal — it marks a confirmed close where liquidity was swept and rejected and the sweep has stopped extending, with the strength, star tier, and full Entry / SL / TP1 / TP2 / TP3 already plotted.
Read the star tier and the swept level for a fast conviction check — a decisive rejection at a clean level and a higher tier mean a more textbook fade.
Manage the trade with the plotted levels — the ATR-clamped structural stop sits beyond the sweep and defines your risk, and the wider TP1/2/3 sit at your chosen R multiples. Bank or trail however suits your style.
Use the Minimum-Stars floor, the reversal-wick threshold, the pivot length, the cooldown, and the liquidity source to set your tempo — stricter for fewer, cleaner reversals; looser for more activity — and lean on the star tier to focus on the most textbook grabs.
⚠️ Important — this is a decision-support tool, not a standalone buy/sell system, and it makes no performance guarantees. Default settings were chosen on historical gold data and behavior will vary by symbol, timeframe, session, and configuration; the dashboard's statistics are historical and descriptive, not a forecast. The trade model resolves stop-first and books partial-target exits honestly, so some trades close for a fraction of a target rather than a full win — these are counted in full, which is honest but means win rate alone is misleading; because the targets are intentionally wide, expect a lower headline win rate and always weigh it together with average R and profit factor, and resize the R targets to your own risk profile. Signals confirm on the closed bar, and the pivot-based liquidity source confirms a few bars after a swing forms — so always wait for the labeled reversal on a closed candle. Because the system fades a move, a real breakout or a sweep that keeps extending can run straight through a stop — combine it with your own analysis and risk management, and test it on your market before trading it live. Indicator

Strong NQ ORB Breakouts | ProjectSyndicateSTRONG NQ ORB Breakouts catches the moment the Nasdaq session resolves its opening range — and instead of treating every push past a line as a trade, it waits for a genuine close beyond the range, tags the direction, and ranks the breakout 0–10 with a star score. The first block of the session builds a range; price then has to actually close outside it, in agreement with momentum and — if you want it — the higher-timeframe trend, before a signal arms. Every setup gets a structural stop, fixed R-based targets with a ⅓/⅓/⅓ scale-out and break-even after the first bank, and is tracked live on a full statistics dashboard — including end-of-session time-stops — so you can see exactly how the logic behaves on the instrument and timeframe you trade.
🧠 Opening-Range Core — the core idea. At the start of the session the engine records the high and low of a configurable opening window, 60 minutes by default. That band is the opening range: the session's first agreed value area. A signal fires on the release — the bar that closes beyond the range high for a long or the range low for a short inside the trade window — and the direction is set by that break. In Auto mode the range anchors to the instrument's own daily session open (the first bar of the day), so it locks to the real NAS100 / NQ open regardless of your feed's server clock; a Custom session-plus-timezone mode is there if you'd rather define the window by hand. Signals are evaluated on the bar's close and are fixed once that bar closes — the range and the break do not repaint.
📈 Range Mapping & ADR Context — while the opening window is live, the engine continuously tracks the developing high, low, and width of the range, then freezes it the moment the window ends. The finished range is measured in points and expressed as a percentage of the instrument's Average Daily Range, a non-repainting daily read, so you instantly see whether the session is coiling tightly or has already burned its move. A clean, proportionate range is a loaded session; an over-wide one is a day that has already spent itself.
🎯 Structural Stop + R-Based Scale-Out — risk (R) is measured from an ATR distance by default — the strongest basis on NAS100 M5 — or against the opposite range edge or the range midline if you prefer, then floored and capped by ATR so it can never collapse into a meaningless stop or balloon into a wide one. TP1, TP2, and TP3 are set at clean R multiples and default to a balanced 1R / 2R / 3R, fully adjustable. The trade model is an honest ⅓ scale-out: one third banks at each target, and after TP1 the remaining two thirds ride with the stop moved to break-even. Every signal plots its complete Entry / SL / TP1 / TP2 / TP3 line set, labeled levels, and filled TP / SL zone boxes, with an R-tagged result label on exit.
🎚️ Conviction Controls — a small set of dials sets how serious a breakout must be before it counts: the 0–10 Minimum Strength gate, an optional Range-vs-ADR window that skips days whose range is too tight or too wide, a Close-vs-Wick breakout trigger, and Max One Trade Per Day. By design the day-skipping filters are off by default — no days are hidden — so you first see the raw, unfiltered behavior. Tighten them for fewer, higher-quality fires; loosen them for more activity. This is your main dial for conviction versus frequency.
🧭 HTF Trend Alignment + Session Gating — an optional higher-timeframe EMA filter blocks counter-trend fires, keeping you on the dominant side: longs only above it, shorts only below. The higher-timeframe value is read without lookahead. Entries are confined to the trade window after the range forms, and the per-day cap spaces out tickets so one volatile session can't stack trades. Anything still open at the session close is flattened by an end-of-session time-stop — and that exit is booked and counted honestly, never quietly dropped.
🧲 Liquidity Magnet — the engine maps resting liquidity by tracking confirmed swing pivots above and below price and marking each as swept or unswept as price trades through it. When a breakout fires, it projects the nearest opposing unswept pool as a dotted magnet line — the pocket of liquidity the move is naturally drawn toward — and the dashboard reports the distance to the nearest pools up and down in ATR terms. It's context for where the breakout wants to go.
⭐ 0–10 Setup-Quality Score — every release is scored and labeled with 1–5 stars and a tier FORMING → WEAK → MODERATE → STRONG → VERY STRONG → ELITE across breakout-native factors: expansion-candle body strength, candle range vs ATR, momentum alignment over short and medium lookbacks, volume confirmation, clean penetration beyond the range edge, RSI agreement, higher-timeframe EMA alignment, and intraday bias of close versus the session open. A companion direction-probability read blends penetration, momentum, RSI, session bias, and HTF position into an up/down percentage. Treat the score as a confluence / cleanliness read for ranking setups — it describes how textbook a breakout is, not a guaranteed outcome. Note: on the test data, filtering to "strong only" actually *reduced* win rate, so the stars default to a context tool rather than a hard gate.
📊 Live Statistics Dashboard — a non-intrusive panel tracks, in real time on your chart: the current session state of waiting / forming OR / range set / armed / trade active, the live opening-range size and its ADR percentage, the magnet distance up and down, the active bias and trade, the live strength and direction-probability meters, total win rate and closed-trade count, profit factor, average R per trade, total R, best-performing direction, long vs short win rate, current and max win/loss streaks, and a TP1 / TP2 / TP3 / SL / EOD outcome breakdown. Every filled trade that reaches an outcome is counted — winners, stop-outs, break-even runners, and time-stops alike — so the numbers are computed live from the real signals on your current symbol and timeframe rather than a figure printed in a description.
🎨 Clean Themed Visuals — a Midnight institutional palette, with Emerald, Ice Blue, Gold Black, and Aqua Violet alternates, shades the opening-range box, the ORH / ORL / midline levels, the per-trade SL / TP ladder, the liquidity pools and magnet, and the dashboard to one coherent look, so quality and direction read at a glance. The range box is drawn over the window where it formed and projected forward with point-labeled edges; long and short trades are color-keyed; a faint tint marks the active opening window. A shelf-length and max-drawn-trades control keep the chart clean — the right-edge zones never stretch into oversized towers, tickets snap back to the exit bar on close so labels never float away, and only the most recent N tickets stay drawn while the statistics remain cumulative over the whole history.
🔔 Detailed Alerts — fires on long / short opening-range breakouts, plus TP3, protected partial-TP, and stop-loss events, formatted for manual or automated use.
🔧 Fully Customizable — every component is exposed: the range anchor (Auto session-open or Custom), the opening-range minutes, timezone, and trade window; the ATR length, stop basis of ATR / opposite edge / midline with risk cap and floor; the three R targets, break-even-after-TP1 toggle, Close-vs-Wick trigger, and one-trade-per-day cap; the ADR gate with min/max band, minimum strength, and HTF alignment filter and timeframe; the liquidity pivot length, pool display, and magnet toggle; the point definition for the dashboard; all five themes; and every label, dashboard, zone, and projection toggle.
🎯 Why this is different — most ORB tools just draw two lines at a fixed clock time and leave everything after that to you. This one anchors the range to the real Nasdaq open, sizes the break against the instrument's own ADR so a tight coil and a blown-out day aren't treated alike, can demand momentum, volume, penetration, and trend confirmation before it fires, anchors risk sensibly, then layers a genuine ⅓/⅓/⅓ scale-out with break-even, a liquidity magnet, an objective 0–10 ranking, and a live, honest statistics panel — one that counts stop-outs and end-of-session exits in full — so you are tuning and judging the system on real, current data instead of a marketing figure.
🚀 Where to use it — built and validated for NAS100 / NQ on the M5 timeframe, where the default OR 60m · ATR×1.0 stop · 1R/2R/3R model was developed. The ATR-based stop and ADR sizing adapt to volatility automatically, and the session windows can be re-pointed to a different open if you want to run the same engine elsewhere. It works on other index CFDs and futures, but the defaults are tuned for the Nasdaq open.
🎯 How to trade it
- Apply it to NAS100 / NQ on M5 and let the dashboard populate. Read the live win rate, profit factor, and average R for your symbol and timeframe before committing — if the logic doesn't suit your feed, you'll see it.
- Start with the day-skipping filters off to see raw behavior; add the HTF Trend Alignment and Range-vs-ADR gates when you want to trade only with the larger trend and skip dead or already-spent sessions.
- Wait for a NQ ORB LONG / NQ ORB SHORT label — it marks a confirmed close beyond the opening range, with the star score, direction probability, and Entry, SL, and TP1/2/3 already plotted.
- Manage the trade with the plotted levels: the structural SL defines your risk, one third banks at each R target with the stop moving to break-even after TP1, and any position still open at the trade-window close is flattened by the time-stop.
- Use Minimum Strength and Max One Trade Per Day to set your tempo, and read the liquidity magnet for a sense of where the move is being drawn.
⚠️ Important — this is a decision-support tool, not a standalone buy/sell system, and it makes no performance guarantees. Default settings were chosen on historical data and behavior will vary by instrument, timeframe, session, and configuration; the dashboard's statistics are historical and descriptive, not a forecast. The trade model includes a ⅓ scale-out, break-even after TP1, and an end-of-session time-stop, so some trades close at a fraction of a target rather than a full win or loss — these are counted in full, which is honest but means win rate alone is misleading; always weigh it together with average R and profit factor, and resize the R targets to your own risk profile. Signals confirm on the closed bar, so always wait for the labeled release on a closed candle. Always combine it with your own analysis and risk management, and test it on your market before trading it live. Indicator

[ A L P H A X ] BREAKRUNE - Pattern Breakout RSI EngineAlphaX BREAKRUNE — Pattern Breakout Intelligence + RSI Trigger Engine: Real vs Fake Breakout Classification, Five-Pattern Detection, Fakeout Reversal Signals & Pending State Machine
AlphaX BREAKRUNE is a professional-grade breakout intelligence system built around a single foundational problem that defeats most breakout traders: the inability to distinguish a genuine structural breakout from a fakeout in real time. Most breakout indicators fire on any close beyond a pattern boundary — and then leave the trader holding a loss when price immediately reverses back inside the structure. BREAKRUNE solves this at the architectural level by separating breakout detection into three sequential phases — pattern recognition, breakout classification, and RSI trigger confirmation — and requiring all three to align before a signal fires. Every raw break is first classified as PENDING, then evaluated over a configurable decision window for either TRUE BREAK or FAKEOUT status using candle body and wick geometry, and only confirmed true breaks with RSI momentum alignment produce long or short entry signals. Fakeouts become their own opportunity: when a breakout is classified as fake, BREAKRUNE reverses the bias and watches for an RSI-confirmed trap reversal signal in the opposite direction. The result is a system that profits not just from real breakouts but also from the very fakeouts that trap the crowd — with the RSI trigger layer ensuring every entry has genuine momentum behind it. Designed for traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔮 The Core Philosophy — Three Phases Before a Signal
The fundamental failure of conventional breakout systems is compression of the detection and confirmation steps into a single bar event. Price closes above resistance — signal fires. This approach has no mechanism for distinguishing momentum breakouts from stop-hunt spikes, thin-market wicks, or false structural breaks that reverse immediately.
BREAKRUNE separates these into three distinct sequential phases that every potential signal must pass through:
Phase 1 — Pattern Recognition:
The system continuously scans the pivot structure to identify one of five major pattern types — Range, Double Top/Bottom, Triangle, Wedge, or Trend Channel. The detected pattern provides the structural context for the breakout evaluation: where the resistance and support levels are, what the directional bias of the formation is, and whether the pattern height meets the minimum size requirement for a qualified break.
Phase 2 — Breakout Classification:
When a raw break of the pattern boundary occurs, the system enters PENDING state. Over the next configurable bars (the fakeout decision window), it watches for one of two outcomes. If candles close back inside the structure with a significant rejection wick, the break is reclassified as FAKEOUT. If the required number of candles all close beyond the boundary without a wick rejection, the break is classified as TRUE BREAK. No premature signal fires during this window — the system waits for the evidence.
Phase 3 — RSI Trigger Confirmation:
Only after a TRUE BREAK or FAKEOUT classification does the RSI trigger layer evaluate. For true breaks, the Fast RSI must be above the configured long trigger (default: 55) with Core RSI above 50 and both RSI slopes positive. For fakeout reversals, the Fast RSI must cross the midline in the reversal direction with positive directional slope. Both must pass the quality score gate. Only then does a signal fire.
This three-phase architecture is what makes BREAKRUNE categorically different from breakout indicators that react to a single bar event.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Five-Pattern Detection Engine
BREAKRUNE continuously classifies the current market structure into one of five pattern types using the most recent confirmed pivot highs and lows. Every pattern provides resistance (res) and support (sup) levels used as the breakout boundaries.
Pattern detection uses:
Confirmed fractal pivot highs and lows (configurable pivot length, default: 5 bars each side), ATR-normalized tolerance values for determining flat vs sloped levels, and a minimum pattern height filter to eliminate micro-structures.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Range:
Both the most recent pivot high and pivot low are within the flat level tolerance (default: 0.35× ATR) of their respective prior pivots — price has been oscillating between approximately horizontal support and resistance. The pattern bias is neutral (patBias = 0) — a range can break either direction. The resistance is the average of the two pivot highs; support is the average of the two pivot lows.
Double Top / Double Bottom:
Two pivot highs at approximately the same level (within flat tolerance) with the current price below both peaks — Double Top, bearish bias. Or two pivot lows at the same level with current price above — Double Bottom, bullish bias. The pattern height is the distance from the support/resistance level to the opposing pivot extreme. The directional bias (patBias) is set accordingly — bearish for Double Top, bullish for Double Bottom.
Triangle (Converging):
The pivot highs are trending lower (by more than the trend shift tolerance, default: 0.20× ATR, between consecutive highs) while the pivot lows are trending higher — a symmetrical converging triangle. No directional bias is set (patBias = 0) since triangles resolve in either direction. The resistance is the most recent pivot high; support is the most recent pivot low.
Wedge:
Both pivot highs and pivot lows are trending in the same direction. Rising Wedge: both highs and lows trending upward — despite the upward direction the narrowing structure is bearish (patBias = -1). Falling Wedge: both trending downward — bullish (patBias = 1). The wedge pattern is identified when the pivot-to-pivot shift exceeds the trend tolerance on both sides in the same direction.
Trend Channel:
Pivot highs are trending in one direction and pivot lows are trending in the same direction, but the high trend direction opposes the expected wedge classification — a parallel channel. The channel bias follows the direction of the trend (upward-sloping channel = bullish patBias, downward = bearish).
Pattern freshness filter:
All pivot-based pattern detections are subject to a maximum age constraint (default: 80 bars from the most recent contributing pivot). Patterns older than this threshold are excluded from pattern detection — the oldest pivot must be within the freshness window for the pattern to be considered current and relevant.
Pattern size validation:
The pattern height (distance from support to resistance) must meet or exceed the minimum pattern height in ATR multiples (default: 1.1× ATR). This sizeOk condition contributes 2 points to the quality score — the largest single weight component — and reflects that properly sized patterns have more institutional significance than micro-structures.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ The Breakout Classifier — PENDING → TRUE BREAK or FAKEOUT
When price closes beyond a pattern boundary by more than the break threshold (default: 0.12× ATR), a raw break event is registered and the breakout classifier enters PENDING state. From this moment, every bar within the fakeout decision window (default: 5 bars) is evaluated.
Raw break detection:
Long raw break: Close above the resistance level plus break threshold, with the pattern allowing long breaks (not a bearish pattern — Double Top and Rising Wedge suppress long breaks)
Short raw break: Close below the support level minus break threshold, with the pattern allowing short breaks
PENDING state variables stored at the break bar:
The direction (pendingDir), the exact level broken (pendingLvl), the bar index of the break (pendingBar), and the pattern name (pendingPat) are all stored in persistent variables. The PENDING state is displayed on the dashboard CLASS row as PENDING — visible awareness that a break has occurred and is being evaluated.
FAKEOUT classification:
Within the fakeout window (pendingAge ≤ fakeWindow), if price closes back inside the pattern:
For a long break fakeout: close falls back below the broken resistance level AND the upper wick of the current bar exceeds the configurable minimum wick rejection ratio (default: 45% of bar range) — the bar closed back inside with a dominant upper wick, confirming selling rejection of the attempted breakout
For a short break fakeout: close rises back above the broken support AND the lower wick exceeds the minimum ratio
When these conditions are met, pendingFake is set to true and the CLASS row displays FAKEOUT — the orange classification that activates the trap reversal signal pathway.
TRUE BREAK classification:
When the configurable number of consecutive candles (default: 2 bars) all close beyond the broken level — `ta.lowest(close, confirmBars) > pendingLvl` for longs, `ta.highest(close, confirmBars) < pendingLvl` for shorts — without any fakeout having been detected, pendingTrue is set to true and CLASS displays TRUE BREAK. The confirmed candles all remaining beyond the level eliminates the single-bar false breakout.
Window expiry:
If neither FAKEOUT nor TRUE BREAK is classified within the fakeout window, the pending state expires silently — pendingDir resets to zero, the level clears, and the system resumes scanning. This prevents stale pending states from generating signals long after the relevant price action has passed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 The RSI Trigger Layer — Momentum Gating on Classified Breaks
The RSI trigger layer is the final gate before a signal fires. It ensures every entry — whether on a true break or a fakeout reversal — has genuine momentum direction behind it at the moment of entry.
Dual RSI architecture:
Fast RSI (default: 7 periods) — the timing layer. Reacts quickly to price movement and provides the momentum trigger reading
Core RSI (default: 14 periods) — the confirmation layer. The intermediate momentum context that must agree with the fast RSI direction
RSI slope measurement:
Both RSI slopes are computed over the configurable slope bars (default: 3 bars) — the current RSI value minus the value N bars ago. A positive slope means RSI is accelerating; a negative slope means decelerating.
True Break Long RSI conditions (rsiLongOk):
Fast RSI above the long trigger threshold (default: 55) — momentum has already crossed into bullish territory
Core RSI above 50 — the intermediate RSI confirms the bullish bias
Fast RSI slope positive — momentum is still accelerating upward
Core RSI slope non-negative — intermediate momentum is not rolling over
True Break Short RSI conditions (rsiShortOk):
Fast RSI below the short trigger threshold (default: 45)
Core RSI below 50
Fast RSI slope negative
Core RSI slope non-positive
Fakeout Reversal RSI conditions:
Trap Long (rsiTrapLong): Fast RSI crosses above 50 (ta.crossover) with a positive slope — the RSI midline crossover after the fakeout confirms the reversal is gaining momentum
Trap Short (rsiTrapShort): Fast RSI crosses below 50 with a negative slope
Why the RSI trigger is a layer, not a gate: The RSI conditions are required for the signal to fire but are also the primary quality score component (2 points when fully met). This dual role means the RSI is simultaneously a hard entry requirement and a quality contributor — signals that barely pass the RSI threshold score lower than signals where momentum is strongly confirmed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔀 The Fakeout Reversal — Trapping the Trap
The fakeout reversal is BREAKRUNE's most distinctive and high-reward signal type. When a long breakout is classified as FAKEOUT (price returned below resistance with a rejection wick), the crowd that bought the breakout is now trapped — holding longs above what has become confirmed resistance again. The RSI trap reversal watches for the Fast RSI to cross below 50 with negative slope: the momentum of the trapped buyers failing. When this occurs within the cooldown window, a short signal fires — entering precisely as the trapped longs begin capitulating.
Why fakeout reversals often produce the strongest moves: A failed breakout above resistance concentrates stop losses of all the breakout buyers just above the resistance level. As those stops are triggered on the reversal, they add selling pressure to the downside move — creating a self-reinforcing cascade. The fakeout reversal entry captures this cascade from near the top.
Enabling/disabling: The Enable Fakeout Reversal Signals setting (default: on) controls whether trap reversal signals are active. Disabling it restricts BREAKRUNE to true break signals only — appropriate for traders who prefer pure momentum continuation entries.
Visual differentiation: True break signals are rendered in the standard bull/bear score-based colors (yellow-green for longs, red for shorts). Fakeout reversal signals fire through the same triangle shapes but with the quality score reflecting the trap penalty — trap signals score 1 point on the setup component vs 2 for true breaks, naturally producing slightly lower overall scores that are reflected in the triangle's brightness.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏅 The 10-Point Quality Score
Every signal — true break or fakeout reversal — is scored through a 10-point composite system before it can fire. Signals below the minimum threshold (default: 5) are suppressed regardless of classification.
Score components:
Pattern Size (up to 2 points):
sizeOk (pattern height ≥ minimum ATR threshold) scores 2 points. A zero-score here (pattern too small) alone can suppress a signal by 2 points — the largest single deduction possible. Well-sized patterns carry proportionally more institutional significance and this component enforces that.
RSI Trigger Alignment (up to 2 points):
rsiLongOk (for long signals) or rsiShortOk (for short signals) scores 2 points. This is the second largest component — reflecting that genuine momentum confirmation at the moment of entry is as important as pattern quality. Signals where RSI barely meets the threshold (Fast RSI just above 55 with flat slope) score these 2 points; signals where RSI is not aligned at all score 0.
Signal Type (1–2 points):
True break signals score 2 points; fakeout reversal (trap) signals score 1 point. This weighting reflects the inherently lower confirmation of a reversal trade versus a confirmed structural continuation — the trap trade is valid but carries more uncertainty.
Volume Confirmation (1 point):
Current bar volume meets or exceeds the volume average × multiplier (default: 1.1×). When volume confirmation is disabled in settings, this point is always awarded.
Non-Chop Market (1 point):
Choppiness Index is below the configured threshold (default: 62.0). Also enforced as a hard gate — extreme chop blocks all signals regardless of score.
HTF Bias (up to 2 points):
When useHtf is on and the higher timeframe EMA structure agrees with the signal direction (htfBull for longs, htfBear for shorts), 2 points are awarded. When HTF is disabled, 1 neutral point is always given. When HTF opposes the signal and useHtf is on, 0 points. This component has the same maximum weight as RSI and pattern size — reflecting the institutional significance of macro directional alignment.
Grade-coded signal colors:
Score 8–10 → full brightness (colBull / colBear). Score 6–7 → slightly dimmer. Score below 6 → transparent-tinted version. The triangle color communicates quality at a glance without reading the dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 10-row real-time dashboard displays the complete internal state of the breakout classifier and all filter conditions.
PATTERN — the current detected pattern: Range, Dbl Top, Dbl Bot, Triangle, Rising Wedge, Falling Wedge, Up Channel, Down Channel. Purple color. Updates on every bar as the pivot structure evolves
CLASS — the current breakout classification state: IDLE (no pending break), PENDING (raw break registered, evaluating), TRUE BREAK (confirmed continuation), FAKEOUT (rejection detected, reversal watching). Color-coded — yellow-green for TRUE BREAK, orange for FAKEOUT, neutral for IDLE/PENDING
BIAS — the directional bias: BULL (pendingDir=1 or patBias=1), BEAR (pendingDir=-1 or patBias=-1), or NEUTRAL. Yellow-green or red
LEVELS — the current support and resistance levels as a price pair (e.g., "2450.50 / 2490.25"). The exact boundaries the breakout classifier is watching
QUALITY — the live quality score out of 10. Yellow-green when at or above the minimum threshold, neutral otherwise
RSI F/C — the live Fast RSI and Core RSI values as a pair (e.g., "58.4 / 53.7"). Yellow-green when above 50, red when below
HTF — higher timeframe EMA structure: ▲ BULL, ▼ BEAR, or — FLAT
CHOP — live Choppiness Index value. Orange when above the block threshold
VOL — CONFIRMED (volume above threshold) or LIGHT (below threshold). Yellow-green or orange
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Pattern Boundary Lines — when Show Pattern Boundary Lines is enabled, a resistance line (res, red-tinted) and support line (sup, yellow-green-tinted) are drawn from the pattern's origin bar to the current bar, showing the exact levels the breakout classifier is watching
▲ Triangle (below bar) — long signal. Full brightness yellow-green for score 8+, standard for 6–7, transparent-tinted for minimum score. Fires on both TRUE BREAK longs and FAKEOUT reversal longs (trap shorts become long entries)
▼ Triangle (above bar) — short signal with matching grade-coded coloring
✕ Cross (above bar, orange) — fakeout mark for a failed long breakout. Appears when Show Fakeout Marks is enabled and fakeLongNow fires. The orange × above the bar is the visual alert that a bull breakout has been rejected
✕ Cross (below bar, orange) — fakeout mark for a failed short breakout
Candle tinting — when Show Tint Candles by Active Bias is enabled, bars are tinted yellow-green (bias=1) or red (bias=-1) during active pending or pattern-biased periods. The tint shows the directional context continuously, not just at signal bars
SL Line (red dashed) — when Show SL + TP1 + TP2 is on, the ATR-based stop loss level extending guideExtend bars forward
TP1 Line (lime dotted) — first take profit at 1.8× ATR from entry
TP2 Line (bright yellow-green dashed, width 2) — second take profit at 3.0× ATR from entry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX BREAKRUNE — Step by Step
Step 1 — Read the Pattern and Levels
Check the PATTERN row on the dashboard — what structure is the system currently detecting? A Triangle or Wedge has directional bias; a Range or Double Top/Bottom has a directional expectation. Understanding the pattern context helps you assess which breakout direction is more probable
Check the LEVELS row — note the exact support and resistance prices. These are the lines the classifier is watching. If price is approaching resistance, a long break event may be imminent
Check BIAS — if it already shows BULL or BEAR from the pattern's directional classification, the system has a pre-existing directional lean before any break occurs
Step 2 — Monitor the Breakout Classification
When CLASS changes from IDLE to PENDING, a raw break has occurred. Watch the dashboard closely over the next fakeWindow bars — CLASS will shift to either TRUE BREAK or FAKEOUT
If CLASS shows FAKEOUT with an orange × appearing on the chart, the fakeout reversal pathway has activated. Check RSI F/C — is the Fast RSI approaching or crossing the 50 midline in the reversal direction?
If CLASS shows TRUE BREAK, check RSI F/C — is Fast RSI above 55 (long) or below 45 (short) with Core RSI confirming and slopes positive? If yes, a signal is likely imminent or has just fired
Step 3 — Enter on the Triangle Signal
A ▲ or ▼ triangle confirms all three phases have aligned — pattern identified, break classified, RSI triggered, quality scored
Read the triangle color — bright full-color triangle is Grade A (score 8+). This is the premium entry with all components confirming. Faded triangles are Grade C — valid but with reduced size
The QUALITY row shows the exact score. For fakeout reversal signals, the score will typically be 1 point lower than an equivalent true break signal due to the trap signal type weighting
Enable Show SL + TP1 + TP2 to see the ATR guide levels projecting forward from the signal bar
Step 4 — Manage the Trade
Watch the CLASS row during the trade. A new PENDING state in the opposing direction during an open position is an early warning that a counter-breakout is developing
Monitor RSI F/C — if Fast RSI begins rolling toward 50 against the trade direction, intermediate momentum is weakening. Consider taking TP1
The candle tint changing from yellow-green to red (or vice versa) during a trade means the bias has reversed — this is a structural exit cue
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
CHOP is orange on the dashboard — the hard chop gate is active. All signals are blocked. Pattern breakouts in extreme chop environments are dominated by noise — the range is too oscillatory for genuine structural breaks
CLASS shows PENDING for multiple consecutive bars with no resolution — when the system remains in PENDING state approaching the fakeWindow expiry without classifying as either TRUE BREAK or FAKEOUT, the break is ambiguous. The system will expire it silently. This ambiguity itself is a warning — directional commitment is absent
Pattern height is too small (sizeOk = false, quality score below 7) — the pattern exists but is too narrow to produce meaningful measured moves. Low-quality entries at micro-patterns carry reduced reward with the same stop risk
HTF Bias opposes the breakout direction — a bull breakout signal against a bearish HTF produces 0 HTF confluence points. The signal may still fire if other components score sufficiently, but counter-HTF breakouts resolve in the HTF direction far more often than not
FAKEOUT class appears but RSI is not approaching the midline — a fakeout has been detected but the RSI trigger for the reversal has not yet materialized. ARM SHORT / ARM LONG conditions are developing but no signal has fired. Do not anticipate the reversal signal without the RSI confirmation — the reversal could still fail
Multiple rapid PENDING → expiry cycles without TRUE BREAK or FAKEOUT — when the classifier repeatedly enters and exits PENDING state without resolving, the pattern boundary is being tested multiple times without follow-through. This is range-bound behavior masquerading as a breakout environment. Increase the break threshold or wait for a cleaner structural setup
The ideal BREAKRUNE setup:
Well-sized pattern (sizeOk true, pattern height 2× ATR or more)
Clean single raw break bar followed by TRUE BREAK classification within 2–3 bars
Fast RSI clearly above 55 (long) or below 45 (short) with positive/negative slopes on both RSI layers
HTF aligned with the breakout direction
Volume confirmed on the breakout bar
Chop Index well below threshold
Quality score at 8–10 (Grade A triangle, full brightness)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔮 Three-phase breakout architecture — Pattern Recognition → Breakout Classification (PENDING → TRUE BREAK or FAKEOUT) → RSI Trigger Confirmation. No signal fires without all three phases completing sequentially
📐 Five-pattern detection engine — Range, Double Top/Bottom, Triangle, Rising/Falling Wedge, and Trend Channel identified from confirmed pivot structure with freshness and size filters
⚡ Real vs fake breakout classifier — candle body and wick geometry over a configurable decision window distinguishes genuine structural breaks from stop-hunt reversals before the signal fires
🔀 Fakeout reversal signal mode — when a break is classified as FAKEOUT, BREAKRUNE reverses bias and watches for an RSI midline crossover trap signal in the opposing direction, profiting from the crowd that got trapped
📊 Dual RSI trigger layer — Fast RSI (7) for timing precision and Core RSI (14) for momentum confirmation, with slope measurement on both. Required alignment conditions differ between true break and trap reversal entries
✕ Live fakeout markers — orange × marks above (failed long break) or below (failed short break) on bars where fakeout classification occurs, providing real-time awareness of failed breakouts independently of signal generation
🏅 10-point quality scoring — Pattern Size (2pts), RSI Alignment (2pts), Signal Type (1–2pts), Volume (1pt), Non-Chop (1pt), HTF Bias (2pts). Grade-coded triangle colors reflect score quality at a glance
🎨 Candle tinting — bars tinted yellow-green during bull pending/bias periods and red during bear periods, providing continuous directional context between signals
📊 10-row live dashboard — Pattern, Class, Bias, Levels, Quality, RSI F/C, HTF, Chop, and Volume updated in real time every bar
🔔 3 alert conditions — BREAKRUNE Long, BREAKRUNE Short, BREAKRUNE Fakeout (independent alert for fakeout detection regardless of reversal signal)
⚙ Fully configurable — pivot length, flat and trend tolerances, minimum pattern height, freshness window, break threshold, confirmation bars, fakeout decision window, wick rejection minimum, volume filter, dual RSI periods and trigger levels, RSI slope lookback, fakeout reversal enable, cooldown, quality minimum, HTF parameters, chop gate, SL/TP ATR multiples, guide extension, all visual toggles, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Pattern Intelligence
Pivot Length — fractal sensitivity for pivot detection (default: 5). Lower = more frequent smaller patterns; higher = fewer, larger structural patterns
Flat Level Tol (xATR) — ATR tolerance for determining whether consecutive pivots are at the same level (default: 0.35). Controls Double Top/Bottom and Range classification sensitivity
Trend Shift Tol (xATR) — ATR tolerance for determining whether consecutive pivots show a directional shift (default: 0.20). Controls Triangle, Wedge, and Channel classification
Min Pattern Height (xATR) — minimum pattern height for the sizeOk condition and quality score (default: 1.1). Raise to filter micro-patterns
Pattern Freshness (bars) — maximum age of the oldest contributing pivot for pattern classification (default: 80). Older pivots are excluded
Breakout Classifier
Break Threshold (xATR) — minimum close extension beyond the pattern boundary to register a raw break (default: 0.12). Lower = more sensitive; higher = requires stronger breaks
True Break Confirmation Bars — consecutive candles that must all close beyond the level for TRUE BREAK classification (default: 2)
Fakeout Decision Window — maximum bars after the raw break within which FAKEOUT or TRUE BREAK must be classified (default: 5). After this window, the pending state expires
Fakeout Wick Rejection Min — minimum wick-to-body ratio required for FAKEOUT classification (default: 0.45). Higher = requires more obvious rejection wicks
Volume Confirm — require volume above average on the signal bar (default: on)
Volume Avg Length / Volume vs Avg — volume baseline parameters (defaults: 20 bars / 1.1×)
RSI Trigger Layer
RSI Fast — the timing RSI period (default: 7)
RSI Core — the confirmation RSI period (default: 14)
Long Trigger — minimum Fast RSI level for a true break long (default: 55). Above 50 is the baseline; raising this requires stronger bull momentum
Short Trigger — maximum Fast RSI level for a true break short (default: 45)
RSI Slope Bars — lookback period for RSI slope calculation (default: 3)
Enable Fakeout Reversal Signals — toggle the trap reversal signal mode (default: on)
Confluence Gate
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 6)
Min Quality Score (of 10) — minimum score to fire a signal (default: 5)
HTF Bias Layer — when on, HTF alignment contributes up to 2 points to the quality score (default: on)
Hard HTF Alignment — when on, counter-HTF signals are fully blocked regardless of score (default: off)
HTF Timeframe / HTF Fast / Slow EMA — higher timeframe parameters (defaults: 60-minute / 21 / 55)
Block Extreme Chop / Choppiness Length / Chop Block Above — chop gate parameters (defaults: on / 14 / 62.0)
Entry / Exit Guides
Show SL + TP1 + TP2 — toggle guide line display (default: off)
ATR Length — ATR calculation lookback (default: 14)
SL (xATR) — stop loss distance in ATR multiples (default: 1.2)
TP1 (xATR) — first take profit distance (default: 1.8)
TP2 (xATR) — second take profit distance (default: 3.0)
Guide Extend (bars) — bars forward the guide lines project (default: 30)
Display
Show Pattern Boundary Lines — toggle the resistance and support boundary lines (default: on)
Show Signals — toggle signal triangle rendering (default: on)
Show Fakeout Marks — toggle the orange × fakeout markers (default: on)
Tint Candles by Active Bias — toggle directional candle tinting (default: on)
Show Dashboard — toggle the full dashboard (default: on)
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for bullish signals and tinting
Bear / Bear Bright — red family for bearish signals
Pattern Accent — purple for pattern labels, boundary lines, and structural elements
Pending / Fakeout — orange for fakeout marks, CHOP warnings, and VOL LIGHT indicators
Neutral — gray for IDLE class and neutral dashboard states
Stop / TP1 / TP2 — individual guide line colors
Dash BG / Dash Header / Dash Section / Dash Frame / Dash Text — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (3 total)
BREAKRUNE Long — all three phases confirmed for a long entry: pattern identified, TRUE BREAK or FAKEOUT reversal classified, RSI trigger aligned, quality score met
BREAKRUNE Short — all conditions confirmed for a short entry
BREAKRUNE Fakeout — a fakeout has been classified on the current bar (fakeLongNow or fakeShortNow). This fires independently of whether a reversal signal follows — useful for awareness of failed breaks even when the reversal RSI conditions are not yet met
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M5–H1 :
Pivot Length at 5 — captures intraday structural swings without excessive micro-sensitivity
Fakeout Window at 5 — on M5 this is 25 minutes, sufficient to observe whether a break holds or fails without waiting too long. On M15, consider reducing to 3
Confirmation Bars at 2 — requires two consecutive closes beyond the level before TRUE BREAK classification. On M1, consider reducing to 1
RSI Long/Short Triggers at 55/45 — the asymmetric thresholds (not 60/40) accept momentum confirmation that is directional but not yet overbought/oversold
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce Pivot Length to 3, reduce Fakeout Window to 3, reduce Confirmation Bars to 1, reduce Cooldown to 3, tighten Break Threshold to 0.08
H4–Daily swing trading — increase Pivot Length to 8–10, increase Pattern Freshness to 150, increase Fakeout Window to 8–10, increase Confirmation Bars to 3, increase TP2 to 5.0× ATR
Crypto (BTC, ETH) — increase Fakeout Wick Rejection to 0.50 for crypto's wider rejection wicks, increase Break Threshold to 0.18, increase Min Quality to 6 for tighter filtering on volatile instruments
Indices (NAS100, US30) — use Hard HTF Alignment (on), set RSI Long Trigger to 57, increase Confirmation Bars to 3 for cleaner index breakouts
Pure true-break mode — disable Enable Fakeout Reversal Signals, raise Min Quality to 6, raise RSI Long Trigger to 58 for higher-conviction momentum-only entries
Fakeout-specialist mode — enable Fakeout Reversal Signals, reduce Fakeout Wick Rejection to 0.38 for more sensitive fakeout detection, lower RSI Slope Bars to 2 for faster RSI crossover detection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🔮 Breakout traders who are tired of being faked out — BREAKRUNE is built specifically around the fakeout problem. The three-phase architecture exists for one reason: to separate genuine structural breaks from the stop-hunt reversals that cost breakout traders money consistently
🔀 Traders who want to profit from both real breaks AND fakeouts — the fakeout reversal signal mode transforms the system's most common failure scenario into its own entry opportunity. The crowd that bought the false breakout becomes the fuel for the reversal trade
📊 Pattern-aware traders who want quantified structure — the five-pattern detection engine provides automatic structural context without manual drawing. Every signal tells you which pattern type it came from
📐 Momentum traders who need RSI precision — the dual RSI trigger layer (Fast 7 + Core 14) with slope measurement provides the most precise momentum timing gate in the AlphaX breakout signal suite
🧠 Systematic traders who want state transparency — the PENDING → TRUE BREAK / FAKEOUT classification state machine is fully visible on the dashboard in real time. You always know exactly what phase the system is in and why
🥇 Gold and forex intraday traders — breakout and fakeout patterns are particularly consistent on XAUUSD and major forex pairs during London and New York session transitions. Default settings are calibrated for these instruments
⚠ Traders who struggle with breakout timing — the RSI trigger layer forces every entry to have genuine momentum behind it at the moment of entry, eliminating the common experience of entering a breakout just as momentum exhausts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Pattern detection, breakout classification, and RSI conditions all finalize on confirmed bars
The pending state machine uses persistent variables (var) — the PENDING, TRUE BREAK, and FAKEOUT states persist across bars until resolved or expired. This is essential for multi-bar classification but means the state machine holds values from previous breakout events. A signal firing clears all pending state variables
Pattern detection is a best-fit classification — the system selects the most matching pattern from the available pivot structure on every bar. When the pivot structure changes (new pivots form), the pattern classification may update. This means the PATTERN row on the dashboard may change between signal events as new structure forms
The Pattern Freshness filter (default: 80 bars) ensures the oldest contributing pivot is recent. On slower timeframes with infrequent pivots, this may cause pattern detection to intermittently show — before new pivots form. Increase the freshness window on higher timeframes
Maximum 80 labels, 120 lines, and 600 bars back are configured. On very active low-timeframe charts, the oldest guide lines may be removed by PulseWire's rendering limits
The fakeout mark (orange ×) fires independently of the reversal signal. A fakeout mark can appear without a subsequent reversal signal if the RSI trap conditions (midline cross with slope) are not met — the fakeout is real but the reversal momentum confirmation is absent
The indicator does not track open positions or P&L and 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 a breakout is not a signal — it is the beginning of an evaluation. The signal comes after the market proves whether the break was real. Indicator

[ A L P H A X ] RESONANCE - Triple-RSI StackAlphaX RESONANCE — RSI Harmonic Engine: Triple-RSI Stack, Adaptive Exhaustion Zones, RSI Coil Release, Pivot Divergence Reversals & Five-Phase Market Classification
AlphaX RESONANCE is a professional-grade momentum and mean-reversion system built on a fundamentally different RSI architecture from any conventional oscillator overlay. Where standard RSI indicators use a single period and static overbought/oversold levels, RESONANCE runs three RSI instances simultaneously — a fast Pulse RSI, a medium Core RSI, and a slow Anchor RSI — each measuring a different temporal dimension of momentum, and combines them into a unified harmonic stack that classifies the current market phase, scores directional conviction, detects RSI bandwidth compression (the RSI equivalent of a volatility coil), and fires precision entry signals across four distinct setup types. The adaptive exhaustion zones replace fixed 70/30 thresholds with percentile-ranked dynamic levels calibrated to the current instrument's own RSI distribution — so the system's definition of "overbought" evolves with actual market behavior rather than staying fixed at an arbitrary number. The result is a system that reads momentum the way it actually behaves — in layers, in phases, and in cycles — rather than as a single oscillating line. Designed for traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎵 The Harmonic Philosophy — Three RSI Periods, One Unified Picture
The core problem with a single-period RSI is temporal ambiguity. A 14-period RSI reading of 65 could mean the market is in a healthy trend with room to run, or a short-term overbought stretch about to snap back — the same number carries completely different meanings depending on whether the underlying trend is strong or weak. A fast RSI alone is noisy and prone to false signals. A slow RSI alone is too lagged to be actionable for entries.
RESONANCE solves this by running all three simultaneously and treating their relationship as the signal — not any single RSI value in isolation.
The three RSI layers:
Pulse RSI (default: 7 periods) — the fastest layer. Reacts immediately to price movements. Used for timing — detecting the exact bar of a snapback exit from an exhaustion zone, the crossing of the harmonic midline, and the moment a coil releases. The Pulse RSI is the trigger layer
Core RSI (default: 14 periods) — the standard intermediate layer. Used for divergence detection, slope measurement, and bandwidth compression. The Core RSI is the evidence layer — it confirms that the Pulse RSI signal has structural backing from a wider momentum view
Anchor RSI (default: 28 periods) — the slowest, most stable layer. Used for market phase classification. When the Anchor RSI is above 58 and rising, the market is in MARKUP. Below 42 and falling, MARKDOWN. The Anchor RSI is the context layer — it tells you the macro momentum environment within which all other signals must be interpreted
The harmonic stack:
RESONANCE defines a true harmonic alignment when all three RSI layers are stacked on the same side of the midline with aligned slopes — Pulse above 50, Core above 48, Anchor above 46 (with tolerance buffers to avoid false collapses on minor retracements). When all three are stacked and sloping in the same direction, the market has broad-based momentum conviction across fast, medium, and slow timeframes simultaneously. This triple-stack condition is the backbone of the HARMONIC BREAK setup and is the highest-weight component in the Resonance Score.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Five-Phase Market Classification — The Harmonic Dashboard
Using the Anchor RSI as the primary reference and the Core RSI slope as a secondary differentiator, RESONANCE classifies the market into one of five phases on every bar. The current phase is displayed prominently on the dashboard as the HARMONIC row and determines which setup types are most appropriate to trade.
MARKUP:
Anchor RSI at or above 58 with a positive slope — the slow momentum layer confirms a sustained upward bias. The macro momentum environment is bullish. This is the primary background condition for HARMONIC BREAK long setups and SNAPBACK long entries that occur as the Pulse RSI dips to the adaptive oversold zone and recovers.
MARKDOWN:
Anchor RSI at or below 42 with a negative slope — macro momentum is bearish. Primary background for HARMONIC BREAK shorts and SNAPBACK short entries.
DISTRIB (Distribution):
Anchor RSI is above 52 (mildly bullish macro) but Core RSI is below the Anchor and its slope is negative — the intermediate momentum layer is diverging downward against the still-elevated Anchor. This is the distribution phase: the long-term bias has not yet shifted, but the medium-term momentum is beginning to roll over. A warning sign for bulls and an early-watch condition for bear setups.
ACCUM (Accumulation):
Anchor RSI is below 48 but Core RSI is above the Anchor and its slope is positive — intermediate momentum is recovering against a still-depressed Anchor. This is the accumulation phase: the macro bias has not yet turned bullish but buying pressure is building. An early-watch condition for bull setups.
COIL:
The RSI bandwidth (highest Core RSI minus lowest Core RSI over the coil lookback) has compressed below the average bandwidth by the configured multiplier. The market is in a momentum squeeze — all three RSI layers are converging toward neutral and the directional energy is compressing. This phase precedes the COIL RELEASE setup and is displayed with a purple tint to distinguish it from the directional phases.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Adaptive Exhaustion Zones — Dynamic Overbought/Oversold
The standard RSI uses fixed overbought (70) and oversold (30) levels. These thresholds are problematic because every instrument has a different RSI distribution — a strongly trending equity might spend months above 70 and rarely touch 30, while a mean-reverting commodity might hit 70 and snap back immediately. Fixed levels produce the wrong trigger points for most instruments most of the time.
RESONANCE replaces fixed thresholds with adaptive exhaustion zones computed from the Core RSI's own historical percentile distribution:
Dynamic Overbought (dynOb):
The 82nd percentile of Core RSI readings over the adaptive zone lookback period (default: 100 bars). This means the overbought threshold is set at the level that Core RSI has exceeded only 18% of the time historically. When the Pulse RSI crosses above this level and then crosses back below it, the system detects a genuine exhaustion exit — not just a touch of an arbitrary 70 threshold, but an exit from a genuinely extreme reading for this specific instrument at this specific time.
Dynamic Oversold (dynOs):
The 18th percentile of Core RSI readings — the level that Core RSI has been below only 18% of the time. The oversold exit is a Pulse RSI crossover back above this level.
Self-calibrating behavior: During strongly trending markets, the adaptive thresholds shift upward (dynOb moves above 70, dynOs moves above 30) reflecting the fact that RSI stays elevated in trends. During ranging markets, the thresholds move toward 70/30 or tighter. The system always uses the statistically appropriate threshold for the current regime, automatically.
Dashboard display: The current dynamic oversold/overbought pair is displayed live on the dashboard as the ZONES row — e.g., "22 / 78" — updating continuously as new bars accumulate.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ RSI Coil Engine — Momentum Compression Detection
The RSI Coil Engine translates the volatility compression concept — so central to CATALYST, VECTOR, and PRISM — into the RSI domain. Instead of measuring price volatility compression, it measures RSI bandwidth compression: how much the Core RSI is oscillating relative to its recent average oscillation.
Coil detection:
On every bar, the system computes:
`RSI Bandwidth = Highest Core RSI over coilLen − Lowest Core RSI over coilLen`
This is then compared to the average bandwidth over the same period. When current bandwidth falls below `average × coilMult` (default: 0.72), the Core RSI is oscillating in a significantly tighter range than usual — all three RSI layers are converging. The inCoil boolean activates, the phase displays as COIL, and the dashboard COIL BW row shows "COMPRESSED."
Coil release detection:
A coil release is the transition from compressed (inCoil was true on the prior bar) to decompressed (inCoil is false on the current bar), accompanied by a Pulse RSI move of at least the configured minimum (default: 2.5 RSI points) in a single bar. This rapid Pulse RSI expansion is the momentum equivalent of a volatility breakout — the RSI bandwidth spring is releasing directional energy.
What the RSI coil captures: When all three RSI layers converge toward neutral with declining bandwidth, institutional participants are in a standoff — neither buyers nor sellers are winning the momentum battle. The coil release is the moment that standoff resolves, and the direction of the Pulse RSI's first large move after the release is the signal of who won. The COIL RELEASE setup capitalizes on this first-mover momentum advantage.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Four Setup Types — The Resonance Playbook
RESONANCE fires signals through four distinct setup types, each exploiting a different momentum pattern detected by the triple-RSI harmonic system. All four can be enabled simultaneously and the highest-priority qualifying setup is selected for each signal bar.
Setup priority order (when multiple qualify simultaneously):
COIL RELEASE → DIVERGENCE REVERSAL → HARMONIC BREAK → SNAPBACK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup A — SNAPBACK (Adaptive OB/OS Exit)
The mean-reversion setup. Fires when the Pulse RSI exits the adaptive exhaustion zone with Core RSI confirmation.
Long conditions:
Pulse RSI crosses above the dynamic oversold level (dynOs) — exiting the adaptive oversold zone
Core RSI is rising on the current bar (rsiCore > rsiCore ) — intermediate momentum is recovering
Anchor RSI is within 8 points of the midline on the bullish side (anchor > midLine − 8) — the macro context is not severely bearish
A bullish rejection candle is present (close above open, close above prior close)
Why SNAPBACK is the timing-precision setup: The combination of the adaptive oversold exit (not fixed 30) and Core RSI confirmation means the signal only fires when the oversold reading is genuine by historical standards AND the intermediate momentum has already begun recovering. The Anchor RSI tolerance prevents SNAPBACK longs from firing in deeply bearish macro environments where mean-reversion is likely to fail.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup B — HARMONIC BREAK (50-Line Cascade)
The momentum-continuation setup. Fires when the Pulse RSI crosses the harmonic midline (default: 50) with all three RSI layers stacked in the same direction.
Long conditions:
Pulse RSI crosses above the harmonic midline from below
stackBull is true — all three RSIs are above their respective midline thresholds (Pulse > 50, Core > 48, Anchor > 46)
slopeBull is true — all three RSI slopes over 3 bars are positive (Pulse slope > 0, Core slope > 0, Anchor slope ≥ 0)
Why the triple-stack midline cross is significant: A single RSI crossing 50 is noise. When the Pulse RSI crosses 50 simultaneously with Core RSI already above 48 and Anchor RSI above 46 — all three slopes positive — it means the fast, intermediate, and slow momentum layers are all accelerating upward at the same moment. This is genuine broad-based momentum conviction, not a temporary oscillation. The cascade quality reflects institutional commitment across multiple momentum timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup C — DIVERGENCE REVERSAL (Pivot-Based)
The reversal setup using Core RSI pivot divergence. Fires when price makes a new extreme but Core RSI does not confirm it, within the adaptive exhaustion zone context.
Long divergence conditions:
A confirmed price pivot low is below the prior confirmed pivot low — price is making a lower low
The Core RSI at the same pivot low bar is above the Core RSI at the prior pivot low — momentum is making a higher low despite price's lower low
Core RSI at the divergence low is within 8 points of the dynamic oversold level — the divergence is occurring in a genuinely oversold context, not at neutral RSI
A bullish rejection candle confirms on or after the divergence bar
Pulse RSI is rising on the current bar
Current close is above the divergence low — price has recovered off the pivot
Divergence recency window:
Divergence is tracked with a live validity window — the divergence remains active for a configurable number of bars (default: divLen × 2). If no confirming rejection candle appears within this window, the divergence expires. This prevents acting on stale divergence signals that occurred many bars ago.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup D — COIL RELEASE (RSI Bandwidth Explosion)
The momentum breakout setup fired by RSI bandwidth decompression. The highest-priority setup in the selection hierarchy.
Long conditions:
coilRelease is true — the Core RSI was compressed on the prior bar and the bandwidth expanded this bar with a minimum Pulse RSI move
Pulse RSI is above the dynamic oversold level — the release is occurring on the bullish side of the exhaustion zone
slopeBull is true — all three RSI slopes are positive, confirming the release is directionally bullish
A bullish candle is present (close above open)
Why COIL RELEASE is the highest-priority setup: RSI bandwidth compression is the most reliable pre-breakout indicator within the RSI framework. When all three RSI layers have converged to the same neutral zone and then the bandwidth suddenly expands with a directional Pulse RSI move, the momentum suppression has lifted and the underlying institutional order flow has revealed its direction. This is the RSI equivalent of CATALYST's squeeze release — and like the squeeze release, the first bar of the release carries the highest momentum intensity of the entire move.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The Resonance Score — 10-Point Conviction Rating
Every bar, regardless of whether a signal fires, RESONANCE computes a directional conviction score from 0 to 10. This score is displayed live on the dashboard, shown on signal labels when Show Setup Tag is enabled, and used as the minimum gate for all signals — setups below the minimum score threshold (default: 5) are blocked regardless of their setup type conditions.
Score components:
RSI Stack Alignment (up to 2 points):
Full triple-stack (stackBull or stackBear — all three RSIs stacked) scores 2 points. Partial alignment (Pulse and Core both above midline but Anchor lagging) scores 1 point. No alignment scores 0. This is the highest-weight component — genuine triple-stack alignment is rare and carries the most institutional significance.
RSI Slope Agreement (up to 2 points):
All three RSI slopes positive (slopeBull) or all negative (slopeBear) scores 2 points. Pulse and Core slopes aligned (but Anchor flat or lagging) scores 1 point. No slope agreement scores 0. Momentum acceleration across multiple timeframes — not just direction but rate of change — is the key measure of this component.
RSI Hierarchy Alignment (1 point):
For bull: Pulse RSI above Core RSI and Core RSI approximately above Anchor RSI (within 3 points). For bear: Pulse below Core and Core below Anchor within tolerance. This checks that the RSI layers are in the correct relative order — the faster layer leading the slower, which is the natural configuration during genuine trending momentum.
HTF Bias (up to 2 points):
Higher timeframe EMA aligned with the signal direction scores 2 points. When HTF is disabled in settings, 1 neutral point is always awarded. When HTF is enabled and opposes the signal, 0 points.
Volume Expansion (1 point):
Current bar volume meets or exceeds the configured volume threshold.
Non-Chop Market (1 point):
Choppiness Index is below the configured threshold. Also enforced as a hard gate.
EMA Filter (1 point, optional):
Price is on the correct side of the configurable EMA. Off by default.
Grade thresholds:
A (8–10) — elite resonance. Triple-stack, slope agreement, HTF aligned, volume confirmed. The highest-conviction signal the system produces
B (6–7) — strong resonance. Most components confirmed
C (minimum to 5) — acceptable resonance. Passes the gate with partial confirmation
Signal accent colors: Grade A signals render in the brightest yellow-green (bull) or red (bear). Grade B in slightly dimmer versions. Grade C in transparent-tinted versions. The signal triangle's color communicates quality at a glance without reading the dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 Candle Tinting and Phase Background
RESONANCE includes two optional chart coloring systems that provide continuous visual context even between signals.
Candle Tinting (showBarTint):
When enabled (default: on), candles are tinted yellow-green at 78% transparency during stackBull conditions and red at 78% transparency during stackBear conditions. During neutral periods (no full stack), candles retain their default color. This creates a continuous visual momentum ribbon directly on the price chart — you can see at a glance how long a triple-stack condition has been sustained, when it begins, and when it collapses.
Phase Background (showPhaseBg):
When enabled (default: off), a very subtle full-bar background color reflects the current harmonic phase — purple for COIL, faint yellow-green for MARKUP/ACCUM, faint red for MARKDOWN/DISTRIB. Off by default to preserve chart cleanliness, but valuable when studying phase transitions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 14-row real-time dashboard displays the complete state of the harmonic RSI engine.
PHASE
HARMONIC — current market phase: MARKUP, MARKDOWN, ACCUM, DISTRIB, COIL, or NEUTRAL. Color-coded — purple for COIL, yellow-green for bullish phases, red for bearish phases
SETUP — the current or most recent setup with grade: e.g., "COIL REL ", "SNAPBACK ", "DIV REV ", or "ARM LONG " when approaching a trigger. ARM LONG / ARM SHORT appear when a setup condition is developing but the full signal has not yet fired
RSI STACK
PULSE — the live 7-period RSI value, color-coded yellow-green above the midline and red below
CORE — the live 14-period RSI value with the same color coding
ANCHOR — the live 28-period RSI value — the macro momentum reference
ZONES — the current dynamic oversold / overbought pair (e.g., "22 / 78"), displayed in orange. These are the adaptive exhaustion thresholds that the SNAPBACK setup watches
QUALITY
RESONANCE — the live directional conviction score out of 10. Yellow-green when at or above the minimum threshold, neutral otherwise
HTF BIAS — ▲ BULL, ▼ BEAR, or — FLAT from the higher timeframe EMA structure
CHOP — live Choppiness Index value. Orange when above the stand-aside threshold (the hard gate condition)
COIL BW — the current RSI bandwidth state: "COMPRESSED · xx.x" (purple) when in coil, "OPEN · xx.x" otherwise. When an active trade plan exists, the current TP1 level is appended to this row for quick reference
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
▲ Triangle (below bar) — bull entry signal. Size and color reflect the Resonance Grade — brightest yellow-green for Grade A, dimmer for B, transparent-tinted for C. COIL RELEASE and DIVERGENCE signals render in purple and orange accents respectively to distinguish them visually from SNAPBACK and HARMONIC signals
▼ Triangle (above bar) — bear entry signal with matching grade-based coloring
Setup Tag Label (optional) — when Show Setup Tag is enabled, a small label appears below (bull) or above (bear) the signal showing the setup abbreviation and grade (e.g., "COIL REL A"). Off by default for chart cleanliness
Candle Tinting — yellow-green at 78% transparency during stackBull, red during stackBear. Continuous momentum ribbon effect on the price chart
Phase Background (optional, off by default) — subtle full-bar tint for COIL (purple), MARKUP/ACCUM (faint yellow-green), MARKDOWN/DISTRIB (faint red)
Entry Line (dashed) — the entry close level, extending guideExtend bars forward when Show SL + TP1 + TP2 is enabled
SL Line (red dashed) — ATR-based stop loss level, extending forward
TP1 Line (lime dotted) — first take profit at 1.8× ATR from entry
TP2 Line (bright yellow-green dashed, width 2) — second take profit at 3.2× ATR from entry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX RESONANCE — Step by Step
Step 1 — Read the Phase and Stack
Check the HARMONIC row on the dashboard. MARKUP or MARKDOWN with a confirmed triple-stack (candles tinted yellow-green or red) is the ideal background condition for HARMONIC BREAK and SNAPBACK entries
Check COIL BW — COMPRESSED means RSI bandwidth is in squeeze mode. Prepare for a COIL RELEASE signal on the upcoming bars
Check ZONES — how far is current price/RSI from the adaptive exhaustion levels? When the CORE RSI is approaching or inside the dynamic zone, a SNAPBACK is potentially developing
Check RESONANCE score. If it is already at or above the minimum before a signal fires, the conditions are favorable. Watch for the triggering setup condition to develop
Step 2 — Identify the Setup Developing
SETUP shows ARM LONG or ARM SHORT when a setup condition is partially met but the full signal has not fired. This is your preparation window — note the entry price, calculate SL and TP positions
COIL BW showing COMPRESSED → watch for the next bar's release. If SETUP shows ARM LONG during a coil, a COIL RELEASE long may fire on the next expansion bar
HARMONIC row switching from ACCUM to MARKUP → the Anchor RSI has crossed 58 and is rising. HARMONIC BREAK long conditions may soon be met as the Pulse RSI approaches the midline from below
Step 3 — Enter on the Triangle Signal
A triangle signal with Grade A coloring (brightest yellow-green or red) is the highest-conviction entry. Enter on the close of the signal bar or the next bar's open
Check which setup fired on the dashboard SETUP row. COIL REL is the premium setup. DIV REV is a high-quality reversal. HARMONIC is a premium continuation. SNAPBACK at minimum score warrants reduced size
Enable Show SL + TP1 + TP2 to see the ATR-based guide levels projected forward from the signal bar
Step 4 — Manage with RSI Context
During a long trade, monitor the PULSE RSI value. When it approaches the dynamic overbought zone (dynOb), partial profit at TP1 becomes prudent — momentum may be approaching exhaustion
If the phase transitions from MARKUP to DISTRIB during an open long trade (Anchor RSI still high but Core RSI rolling over), tighten the stop
If the candle tint disappears (triple-stack collapses), the momentum conviction has weakened — move stop to breakeven or take profit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
CHOP is orange on the dashboard — the hard gate is active. Extreme chop blocks all signals. RSI oscillates rapidly in choppy conditions and the triple-stack alignments are transient rather than structural
Phase shows NEUTRAL — none of the five phase conditions have been met. The Anchor RSI is in the middle zone (48–52) without a clear slope. Momentum conviction is absent at the macro level
RESONANCE score is exactly at minimum (5/10) — marginal confluence. In neutral or transitional market conditions, minimum-score signals fail at a significantly higher rate. Require 6+ before committing full size
COIL BW is COMPRESSED but no directional RSI slope is present — a coil without slope agreement means RSI has converged but without directional bias. The COIL RELEASE signal requires slopeBull or slopeBear to fire, but if the slopes are flat during the coil, the release direction is unpredictable — wait for a slope to develop before sizing up
HTF Bias opposes the stack direction — a bull triple-stack against a bearish HTF is a counter-trend momentum entry. These work but carry higher reversal risk. Reduce position size or require a Grade A score
SETUP shows ARM LONG but Anchor RSI is in severely bearish territory (below 35) — approaching a SNAPBACK long trigger against a deeply bearish Anchor is a mean-reversion trade against significant macro momentum. The Anchor RSI tolerance condition blocks the signal below midLine − 8, but values near that boundary are still high-risk
The ideal RESONANCE setup:
Phase MARKUP (bull) or MARKDOWN (bear) sustained for 5+ bars
Full triple-stack with positive slopes on all three RSIs
COIL BW just releasing from COMPRESSED state (COIL RELEASE setup) OR Pulse RSI crossing the midline with stack and slope confirmed (HARMONIC BREAK)
HTF aligned with stack direction
Volume above average on the signal bar
RESONANCE score at 8–10 (Grade A)
Chop Index well below threshold
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🎵 Triple-RSI harmonic stack — Pulse (7), Core (14), and Anchor (28) RSIs operating simultaneously, each measuring a different temporal dimension of momentum
📐 Adaptive exhaustion zones — dynamic overbought and oversold thresholds computed from the Core RSI's own percentile distribution over the configurable lookback, replacing fixed 70/30 levels with statistically calibrated thresholds
⚡ RSI Coil Engine — bandwidth compression detection triggering when Core RSI oscillation falls below average × multiplier, with directional coil release detection on bandwidth expansion
📊 Five-phase market classification — MARKUP, MARKDOWN, ACCUM, DISTRIB, COIL — derived from the Anchor RSI level and slope, providing macro momentum context for every signal
🏷 Four setup types — SNAPBACK (adaptive OB/OS exit), HARMONIC BREAK (triple-stack midline cascade), DIVERGENCE REVERSAL (pivot-based Core RSI divergence), COIL RELEASE (RSI bandwidth explosion)
🧠 10-point Resonance Score — RSI Stack (2pts), Slope Agreement (2pts), Hierarchy Alignment (1pt), HTF Bias (2pts), Volume (1pt), Non-Chop (1pt), EMA Filter (1pt, optional)
🎨 Grade-coded signal colors — Grade A in full brightness, B in standard, C in transparent-tinted. COIL signals in purple, DIV signals in orange accent — visual quality differentiation on every triangle
🌈 Candle tinting — bars colored yellow-green during stackBull and red during stackBear, creating a continuous momentum ribbon on the price chart
🔮 ARM LONG / ARM SHORT awareness — dashboard SETUP row shows developing (partially-triggered) conditions before the full signal fires, providing advance preparation
📡 Pivot-based RSI divergence — structural pivot comparisons with live validity window, more robust than slope-based divergence detection
📊 14-row live dashboard — Phase, Setup with grade, all three RSI values, adaptive zones, Resonance Score, HTF Bias, Chop, and Coil bandwidth updated on every bar
🔔 2 alert conditions — RESONANCE Bullish Setup and RESONANCE Bearish Setup
⚙ Fully configurable — all three RSI periods, zone lookback and percentiles, harmonic midline, coil compression multiplier, coil release minimum, all four setup enables, divergence pivot length, cooldown, Resonance minimum, HTF timeframe and EMAs, volume filter, chop gate, optional EMA filter, SL/TP ATR multiples, guide extension, phase background, candle tinting, setup tags, dashboard size and position, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
RSI Harmonic Stack
Pulse RSI Length — the fastest RSI layer for snapback timing and coil release triggering (default: 7)
Core RSI Length — the intermediate layer for divergence detection and bandwidth measurement (default: 14)
Anchor RSI Length — the slowest layer for phase classification and macro context (default: 28)
Adaptive Zone Lookback — bars used to compute the Core RSI percentile distribution for the dynamic exhaustion zones (default: 100)
Exhaustion Percentile High — percentile level defining the dynamic overbought threshold (default: 82)
Exhaustion Percentile Low — percentile level defining the dynamic oversold threshold (default: 18)
Harmonic Midline — the RSI equilibrium level used as the HARMONIC BREAK trigger and phase divider (default: 50)
RSI Coil Engine
Coil Lookback — bars used to compute RSI bandwidth and its average (default: 20)
Coil Compression Mult — bandwidth must fall below average × this multiplier to activate the compressed state (default: 0.72)
Coil Release Min RSI Move — minimum single-bar Pulse RSI movement required to register a release (default: 2.5 RSI points)
Live Setups
Snapback (adaptive OB/OS exit) — toggle the adaptive exhaustion zone exit setup
Harmonic Break (50-line cascade) — toggle the triple-stack midline crossover setup
Divergence Reversal — toggle the pivot-based Core RSI divergence setup
Coil Release — toggle the RSI bandwidth decompression setup
Divergence Pivot Length — bars each side for RSI and price pivot confirmation (default: 5)
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 6)
Resonance Gate
Min Resonance Score (of 10) — minimum score to fire any signal (default: 5)
Hard HTF Alignment — when on, counter-HTF signals are fully blocked
HTF Trend Bias / HTF Timeframe / HTF Fast / HTF Slow EMA — higher timeframe parameters (defaults: on / 60-minute / 21 / 55)
Volume Confirm / Volume vs Avg / Volume Avg — volume expansion layer parameters (defaults: on / 1.1× / 20 bars)
Block Extreme Chop / Choppiness Length / Chop Block Above — chop gate parameters (defaults: on / 14 / 62.0)
EMA Price Filter / EMA Length — optional price EMA directional filter (default: off / 21)
Entry / Exit Guides
Show SL + TP1 + TP2 — toggle the guide line system (default: off)
ATR Length — ATR calculation lookback (default: 14)
SL (xATR) — stop loss distance from entry in ATR multiples (default: 1.2)
TP1 (xATR) — first take profit distance (default: 1.8)
TP2 (xATR) — second take profit distance (default: 3.2)
Guide Extend (bars) — how many bars forward guide lines project (default: 30)
Display
Show Entry Markers — toggle signal triangle shapes
Subtle Phase Background — toggle the harmonic phase background tinting (default: off)
Phase Background Opacity — background transparency when enabled (default: 96)
Tint Candles by Bias — toggle yellow-green/red candle tinting during triple-stack conditions (default: on)
Show Setup Tag (A/B/C) — toggle setup name and grade label on signal bars (default: off)
Show Dashboard — toggle the full dashboard
Dashboard Text Size — Standard / Small
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Resonance Up — yellow-green for bullish signals, tinting, and stack indicators
Bull Signal — bright yellow-green for Grade A bull signal triangles
Bear / Resonance Down — red for bearish signals and stack indicators
Bear Signal — bright red for Grade A bear signals
Coil / Harmonic Accent — purple for COIL phase, RSI coil markers, and COIL RELEASE signals
Snapback Accent — orange for SNAPBACK signals, divergence accents, and ZONES dashboard row
Stop Line / TP1 Line / TP2 Line — individual guide line colors
Neutral — gray for neutral states and inactive dashboard rows
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (2 total)
RESONANCE Bullish Setup — all long conditions confirmed. Pulse RSI trigger, Resonance Score above minimum, chop gate clear, HTF alignment met
RESONANCE Bearish Setup — all short conditions confirmed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M5–H1 :
Triple RSI at 7/14/28 — the 2× doubling ratio creates clean harmonic separation between the three layers. Each layer is exactly twice as slow as the prior one, producing independent but harmonically related readings
Adaptive zone lookback at 100 bars — approximately 8 hours on M5, sufficient to calibrate the percentile distribution to current intraday volatility conditions
Coil multiplier at 0.72 — requires RSI bandwidth to fall below 72% of its average to declare compression. Tight enough to catch genuine coils without excessive false compressions
Resonance minimum at 5 — balanced between frequency and quality. Raise to 6–7 for higher conviction filtering
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce RSI periods to 5/9/18, reduce Adaptive Zone Lookback to 60, reduce Cooldown to 3, reduce Guide Extend to 15, reduce Coil Release Min to 1.5
H4–Daily swing trading — increase RSI periods to 9/21/42, increase Zone Lookback to 200, increase TP2 to 5.0× ATR, raise Min Resonance to 6
Crypto (BTC, ETH) — increase Adaptive Zone Percentile High to 85 and Low to 15 for the wider RSI distribution of crypto. Increase Coil Release Min to 3.0 for the larger single-bar RSI moves
Indices (NAS100, US30) — use EMA Price Filter with a 50-period EMA, increase Min Resonance to 6, restrict via session filter to cash market hours
More signals — lower Min Resonance to 4, reduce Cooldown to 3, enable all four setups, widen adaptive zone percentiles (75/25)
Ultra-selective only — raise Min Resonance to 7–8, enable Hard HTF Alignment, enable EMA Price Filter, require Grade A minimum (increase minResonance to 8), disable SNAPBACK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
📊 Momentum and RSI traders who want more than a single oscillator — RESONANCE is the definitive multi-period RSI implementation in the AlphaX suite. Three periods, five phases, four setups, and a 10-point scoring system replace the single-line RSI with a complete momentum intelligence framework
🎵 Traders who understand that momentum has layers — the 7/14/28 harmonic stack separates fast momentum (entry timing), intermediate momentum (structural backing), and slow momentum (macro context) into three distinct readings that must align before the highest-quality signals fire
📐 Traders who struggle with fixed RSI overbought/oversold levels — the adaptive exhaustion zones calibrate to the actual RSI distribution of the current instrument at the current time, producing thresholds that are statistically meaningful rather than arbitrary
⚡ Volatility coil traders who want the RSI-domain equivalent — the RSI Coil Engine applies the compression-and-release concept from CATALYST to the momentum domain, detecting RSI bandwidth squeezes that precede explosive directional moves
🔀 Mean-reversion and trend-following traders simultaneously — SNAPBACK entries are mean-reversion (adaptive OB/OS exits). HARMONIC BREAK entries are trend continuation (triple-stack midline). Both are available within the same system, automatically selected based on which fires first
🥇 Gold and forex intraday traders — the 7/14/28 RSI stack with adaptive zones is particularly effective on XAUUSD and major forex pairs where the RSI distribution shifts significantly between trending and ranging sessions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. All RSI computations, stack alignments, divergence detections, and confluence scoring finalize on confirmed bars
The adaptive exhaustion zones require the full Adaptive Zone Lookback period to calibrate. On charts with fewer bars than the lookback setting, the dynamic thresholds may not reflect accurate percentile distributions. Allow at least the full lookback period (default: 100 bars) to accumulate before treating the SNAPBACK setup as fully calibrated
The RSI Coil Engine's bandwidth average also requires the Coil Lookback period to stabilize. On fresh chart loads, the COMPRESSED state may trigger briefly before the average has fully computed — this resolves naturally within the coil lookback period
The divergence validity window (divLen × 2 bars after detection) means divergence signals can fire up to 10 bars (default divLen 5 × 2) after the actual pivot low or high. The confirming candle requirement prevents stale divergences from generating signals without fresh price confirmation
The candle tinting applies the stackBull/stackBear condition which uses a ±2 to ±4 tolerance buffer around the midline for Core and Anchor RSIs. This prevents the tinting from flickering on and off as Core or Anchor RSIs oscillate near the midline. The tint represents sustained broad stack alignment, not momentary
Guide lines (SL, TP1, TP2) are only drawn on the last bar and are redrawn whenever a new signal fires. They reflect the most recent active trade plan
The indicator does not track open positions or P&L; and 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 momentum is not a single number — it is a harmonic relationship between fast energy, intermediate conviction, and slow institutional commitment. Indicator

Super-trend Signal Engine Quantum EdgeShort description
ATR-based Supertrend strategy that flips long or short on confirmed trend reversals, with optional signal labels, trend highlighting, bar coloring, and built-in date-range backtesting.
Description
Signal Engine Quantum Edge is a public Supertrend-based strategy built to track volatility-adjusted trend shifts and execute long or short entries when trend direction flips. The script uses ATR-expanded bands around hl2, then updates those bands as price develops so the strategy can detect reversals and stay aligned with the active move. PulseWire describes Supertrend as a trend-following tool built from ATR and price-based bands, where changes in the line’s position relative to price signal shifts in trend direction.
How it works
Calculates ATR using either the built-in ATR method or an alternative SMA-of-true-range method.
Builds dynamic upper and lower trend bands from price and ATR.
Triggers a long entry when trend flips from bearish to bullish.
Triggers a short entry when trend flips from bullish to bearish.
Restricts entries to the user-defined backtest date window.
This strategy follows the same general Supertrend logic PulseWire documents for reversal-based entries, where long positions begin when the trend changes from above price to below price, and short positions begin on the opposite transition.
Inputs
ATR Period — default 10.
ATR Multiplier — default 3.0.
Source — default hl2.
Change ATR Calculation Method? — switch between built-in ATR and SMA-of-TR.
Show Buy/Sell Signals? — toggle signal labels.
Highlighter On/Off? — toggle trend fill shading.
Bar Coloring On/Off? — color candles by active trend.
From / To Date — define the backtest window.
Visual features
Green Supertrend line and fills for bullish phases.
Red Supertrend line and fills for bearish phases.
Optional Buy/Sell labels at trend flips.
Bar coloring to reflect the most recent active signal.
Usage notes
This is a strategy, not an indicator, so it uses strategy.entry() to simulate long and short trades directly from reversal signals.
Like most Supertrend systems, it is designed for trending conditions and can produce false signals during sideways or highly compressed markets, which PulseWire also notes as a common limitation of Supertrend-based methods.
For more realistic testing, set commission, slippage, and position sizing in the strategy properties before evaluating results.
Strategy

Super-trend Signal Engine Strat [QUANTUM EDGE]Short description
Volatility-adjusted Supertrend strategy with trend-reversal entries, bar highlights, and date-range backtesting.
Description
Signal Engine Quantum Edge is a clean Supertrend-based strategy that tracks volatility-adjusted trend state and generates long/short entries on confirmed reversals. It includes optional visual highlights, signal labels, and bar coloring to make trend alignment instantly readable, plus a configurable date range for precise backtest control.
How it works
Computes ATR-based upper and lower bands from a user-selected source (default hl2)
Bands tighten with trend continuation and reset on reversal
A trend flip from bearish to bullish triggers a long entry
A trend flip from bullish to bearish triggers a short entry
Recommended timeframe settings
Timeframe ATR Period ATR Multiplier
15-minute 15 9.1
5-minute 13 5.1
1-minute 10 3.0
Load the chart on your desired timeframe, open the strategy settings, and match the ATR Period and ATR Multiplier to the values above before running backtests.
Inputs
ATR Period — lookback for volatility measurement
ATR Multiplier — band width scalar
Source — price input for band calculation (default hl2)
Change ATR Calculation Method — toggle between standard ATR and SMA-of-TR
Show Buy/Sell Signals — toggle signal labels on/off
Highlighter On/Off — background trend shading
Bar Coloring On/Off — candle color sync with trend state
Date Range — backtest window limits (From/To month, day, year)
Important usage notes
This is a strategy script, not an indicator. It executes strategy.entry() calls and is meant for backtesting and automated execution workflows.
Combine with your own higher-timeframe bias, structure, and risk-management rules before live deployment. Strategy

Strategy

Indicator
