EVA Ai+ Chart Patterns Indicator - Price Action & Trading Signal🧬 EVA Ai+ — индикатор графических фигур и торговых паттернов
EVA Ai+ Chart Patterns автоматически находит графические фигуры технического анализа прямо на графике PulseWire.
Индикатор отслеживает локальные и крупные ценовые модели, строит их границы, определяет направление возможного пробоя и показывает понятные метки ЛОНГ или ШОРТ после подтверждения сигнала.
Подходит для анализа криптовалют, Bitcoin, Forex, акций, фьючерсов и фондовых индексов. Работает на текущем таймфрейме графика: от скальпинга и внутридневной торговли до более крупных свинговых моделей.
🔍 Какие фигуры распознаёт индикатор
📈 Фигуры продолжения движения
🟢 Бычий флаг — ЛОНГ
🔴 Медвежий флаг — ШОРТ
🔵 Бычий вымпел — ЛОНГ
🟠 Медвежий вымпел — ШОРТ
Алгоритм анализирует импульсное древко, ширину консолидации, наклон границ, сжатие диапазона и качество пробоя.
🔄 Разворотные фигуры
🟢 Двойное дно — ЛОНГ
🔴 Двойная вершина — ШОРТ
🟣 Голова и плечи — ШОРТ
🔵 Перевёрнутые голова и плечи — ЛОНГ
Двойные вершины и основания отображаются толстой пунктирной линией. Голова и плечи — толстой точечной линией. Благодаря этому разные модели легко различить даже на насыщенном графике.
🧠 Поиск локальных и крупных фигур
Обычный короткий паттерн и большая рыночная конструкция рассчитываются отдельно.
Индикатор умеет находить:
локальные фигуры внутри текущего движения;
крупные разворотные модели;
длинные флаги и вымпелы;
фигуры с промежуточными ценовыми колебаниями;
наиболее качественную комбинацию опорных экстремумов.
Мелкий рыночный шум не должен автоматически разрушать крупную модель. Для этого EVA сравнивает несколько допустимых комбинаций и выбирает структуру с более высоким качеством.
📊 Оценка качества фигуры
Каждая найденная модель получает оценку:
КАЧ. 76%
При расчёте учитываются геометрия, масштаб, симметрия, направление движения перед фигурой, качество экстремумов и пробой сигнальной границы.
На графике можно увидеть:
ФЛАГ
ЛОНГ · КАЧ. 78%
ГОЛОВА И ПЛЕЧИ
ШОРТ · КАЧ. 84%
КРУПНАЯ · 68 баров
Низкокачественные совпадения фильтруются. Порог для формирующихся и подтверждённых моделей настраивается отдельно.
⏳ Формирующаяся и подтверждённая фигура
Пока модель развивается, её линии могут обновляться вместе с новыми свечами. Такая фигура отмечается как:
ФОРМИРУЕТСЯ
Подтверждённый сигнал появляется после закрытия свечи за границей фигуры или линией neckline.
Закрытая свеча
+ подтверждённый пробой
+ достаточное качество
= ЛОНГ или ШОРТ
Подтверждённая метка не переносится на прошлые свечи. Сигнал фиксируется на том баре, где условия действительно были выполнены.
🎨 Отдельный цвет для каждого паттерна
У каждой группы свой цвет:
флаг ЛОНГ — изумрудный;
флаг ШОРТ — красно-коралловый;
вымпел ЛОНГ — голубой;
вымпел ШОРТ — оранжевый;
двойное дно — лаймовый;
двойная вершина — малиновый;
голова и плечи — фиолетовый;
перевёрнутые голова и плечи — синий.
Цвета и прозрачность формирующихся фигур доступны в настройках.
🔔 Торговые оповещения PulseWire
Для каждого подтверждённого паттерна предусмотрен отдельный алерт:
ЛОНГ Флаг
ШОРТ Флаг
ЛОНГ Вымпел
ШОРТ Вымпел
ЛОНГ Двойное дно
ШОРТ Двойная вершина
ШОРТ Голова и плечи
ЛОНГ Перевёрнутые голова и плечи
Оповещения можно подключить через стандартное меню PulseWire и получать уведомления при появлении подтверждённой фигуры.
📌 Как применять индикатор
Определите общий контекст рынка: тренд, диапазон или разворотная зона.
Посмотрите, какая фигура формируется на графике.
Проверьте направление: ЛОНГ или ШОРТ.
Обратите внимание на показатель КАЧ.
Дождитесь подтверждённого закрытия свечи за границей модели.
Сопоставьте сигнал с уровнями поддержки и сопротивления, объёмом и собственной системой управления риском.
Формирующаяся фигура показывает возможный сценарий. Подтверждённая метка сообщает, что условия пробоя уже выполнены.
🎯 Для каких задач подходит
Индикатор можно использовать для:
технического анализа;
поиска графических фигур;
Price Action;
анализа тренда и разворота;
поиска пробоя консолидации;
криптовалютной торговли;
торговли Bitcoin;
Forex;
акций и фьючерсов;
скальпинга;
дневной и свинг-торговли;
поиска сигналов ЛОНГ и ШОРТ.
⚠️ Уведомление о рисках
Графическая фигура не гарантирует продолжение или разворот цены. Используйте сигналы вместе с рыночным контекстом, уровнями, объёмом и заранее определённым риском.
Индикатор является аналитическим инструментом и не представляет собой индивидуальную инвестиционную рекомендацию.
🇬🇧 English Title
🧬 EVA Ai+ Chart Patterns Indicator — Price Action & Trading Signals
Search-focused publication title:
EVA Ai+ Flags, Pennants, Double Top & Head and Shoulders Indicator
🇬🇧 English Description
🧬 EVA Ai+ Chart Patterns and Trading Signals Indicator
EVA Ai+ Chart Patterns automatically detects technical analysis patterns directly on the PulseWire chart.
The indicator scans both local and large-scale price structures, draws their boundaries, evaluates pattern quality, and displays clear LONG or SHORT signals after confirmation.
It can be used for crypto, Bitcoin, forex, stocks, futures, and index trading. The detector works on the current chart timeframe and supports scalping, day trading, and swing-trading analysis.
🔍 Patterns detected
📈 Continuation patterns
🟢 Bull Flag — LONG
🔴 Bear Flag — SHORT
🔵 Bull Pennant — LONG
🟠 Bear Pennant — SHORT
The detector evaluates the impulse pole, consolidation range, boundary slopes, price compression, and breakout quality.
🔄 Reversal patterns
🟢 Double Bottom — LONG
🔴 Double Top — SHORT
🟣 Head and Shoulders — SHORT
🔵 Inverse Head and Shoulders — LONG
Double Top and Double Bottom structures are drawn with thick dashed lines. Head and Shoulders patterns use thick dotted lines, making each pattern family easy to recognize on the chart.
🧠 Local and macro pattern detection
Short price structures and large reversal formations are processed separately.
The indicator can detect:
local chart patterns;
large reversal structures;
extended flags and pennants;
patterns containing intermediate price swings;
the strongest valid combination of pivot points.
A minor internal swing does not automatically invalidate a larger pattern. EVA compares several possible pivot combinations and selects the structure with the stronger geometry and quality score.
📊 Pattern quality score
Each detected formation receives a quality rating:
QUALITY 76%
The score considers pattern geometry, scale, time symmetry, prior market direction, pivot structure, and breakout confirmation.
Example chart labels:
FLAG
LONG · QUALITY 78%
HEAD AND SHOULDERS
SHORT · QUALITY 84%
MACRO · 68 bars
Low-quality matches are filtered. Separate thresholds are available for developing and confirmed patterns.
⏳ Developing and confirmed patterns
While a pattern is still developing, its boundaries may update as new candles appear. The chart label shows:
FORMING
A confirmed signal is created only after a candle closes beyond the pattern boundary or neckline.
Closed candle
+ confirmed breakout
+ sufficient quality
= LONG or SHORT
Confirmed signals are placed on the bar where the conditions are actually completed. They are not moved backward to earlier historical candles.
🎨 Individual pattern colors
Each pattern family uses a separate color:
Bull Flag — emerald;
Bear Flag — coral red;
Bull Pennant — cyan;
Bear Pennant — orange;
Double Bottom — lime;
Double Top — magenta;
Head and Shoulders — purple;
Inverse Head and Shoulders — blue.
Pattern colors and developing-pattern transparency can be adjusted in the indicator settings.
🔔 PulseWire alerts
Separate alert conditions are included for:
LONG Flag
SHORT Flag
LONG Pennant
SHORT Pennant
LONG Double Bottom
SHORT Double Top
SHORT Head and Shoulders
LONG Inverse Head and Shoulders
Alerts can be configured through the standard PulseWire alert menu.
📌 How to use the indicator
Identify the broader market context: trend, range, or reversal area.
Check which chart pattern is developing.
Review the expected direction: LONG or SHORT.
Look at the pattern quality score.
Wait for a confirmed candle close beyond the boundary.
Combine the signal with support and resistance, volume, and your risk-management rules.
A developing pattern represents an active scenario. A confirmed label means that the breakout conditions have already been completed.
🎯 Common use cases
EVA Ai+ Chart Patterns can be used for:
technical analysis;
chart pattern detection;
Price Action trading;
trend and reversal analysis;
breakout trading;
crypto trading;
Bitcoin trading;
forex trading;
stock and futures analysis;
scalping;
day trading;
swing trading;
LONG and SHORT trading signals.
⚠️ Risk notice
A chart pattern does not guarantee a reversal, continuation, or profitable trade. Signals should be evaluated together with market context, volume, key price levels, and predefined risk management.
This indicator is an analytical tool and does not provide individual financial or investment advice. Indicator

Strategy

Indicator

Three & Four Bar Reversal PatternThree & Four Bar Reversal Pattern identifies short-term reversal candlestick setups directly on your chart, based on a strict closing-price confirmation rather than just wick penetration — making signals more reliable for intraday and swing trading decisions.
WHAT IT DETECTS
3-Bar Reversal
A classic three-candle reversal:
Bullish: two consecutive bearish candles followed by a bullish candle that closes above the high of the first bearish candle.
Bearish: two consecutive bullish candles followed by a bearish candle that closes below the low of the first bullish candle.
Requiring the close (not just the wick) to break the reference level filters out weaker, unconfirmed reversal attempts.
4-Bar Reversal (optional)
An extended version of the pattern for setups where the reversal takes one extra candle to confirm:
Two small same-direction candles, followed by a transition candle in the opposite direction, followed by a large breakout candle whose body exceeds the combined body size of the previous three candles, and whose close breaks through the high/low of the first candle.
Built-in logic prevents a 4-bar signal from overlapping with an already-completed 3-bar signal on the same candles, so you don't get redundant markers on the chart.
FEATURES
Independent toggles for bullish and bearish signals
Customizable colors for bullish/bearish markers
Optional 4-bar pattern detection, clearly distinguished from 3-bar signals with on-chart labels ("3" / "4")
Configurable reference line (style: solid/dashed/dotted, adjustable width) marking the breakout level
Built-in alert conditions for all four signal types (bullish/bearish, 3-bar/4-bar)
HOW TO USE
Add the indicator to your chart.
Watch for triangle markers below/above candles — these mark confirmed reversal closes.
Enable "4-Bar Pattern Detection" in settings if you also want the extended 4-candle version.
Set alerts on any of the four conditions to get notified in real time.
NOTES
This tool is designed to highlight potential reversal setups, not to generate standalone buy/sell signals. Always combine it with your own risk management, trend context, and confluence factors (support/resistance, volume, higher-timeframe structure, etc.). Past patterns do not guarantee future results. Indicator

Sweep Retest ReversalTitle: Sweep Retest Reversal
Description:
This indicator detects a two-candle liquidity sweep reversal pattern and tracks the resulting retest level until it is either confirmed with a bounce or invalidated.
BULLISH SETUP:
A bearish candle (body >= X% of its range, configurable) is followed by a bullish candle (same body filter) whose low sweeps below the bearish candle's low, and whose close finishes above the bearish candle's open. When this occurs, a horizontal line is drawn at the swept low. That level remains active and is monitored on every subsequent bar:
- If a future candle's low touches the line and that same candle closes above it, the bounce is confirmed (green "Bounce" label) and the line is removed.
- If a future candle's low touches the line but closes at or below it, the setup is invalidated on that same bar and the line is removed without a label.
BEARISH SETUP (mirror logic):
A bullish candle is followed by a bearish candle whose high sweeps above the bullish candle's high, and whose close finishes below the bullish candle's open. A horizontal line is drawn at the swept high and monitored the same way:
- A future candle's high touching the line with a close below it confirms the bounce (red "Bounce" label).
- A touch with a close at or above the line invalidates the setup silently.
HOW TO INTERPRET IT:
The two-candle sequence represents a liquidity sweep: the first candle establishes a level, and the second candle pierces through it with its wick while closing back on the opposite side of the first candle's open. This signals that stops resting beyond that level were likely triggered and absorbed, leaving the swept point as a level worth watching again. The line marks that exact point. Price is expected to return to it at some later time. What happens on that return matters more than the touch itself: a wick that pokes through but a close that snaps back in the sweep's original direction supports the reversal thesis (confirmed bounce). A close that pushes through and stays there suggests the level failed to hold and the setup should be discarded (invalidation).
HOW TO USE IT:
1. Wait for the pattern to print: an orange triangle (bullish) or purple triangle (bearish) marks the bar where the sweep candle closed.
2. Once a line appears, treat it as an active level to watch — do not act on it yet, since it has not been retested.
3. When price returns to the line, watch how that specific candle closes:
- Bullish line + candle closes above it -> bounce confirmed, label appears. This is the point of interest for a potential long reaction.
- Bearish line + candle closes below it -> bounce confirmed, label appears. This is the point of interest for a potential short reaction.
- Any touch that closes on the wrong side invalidates the line immediately and it disappears with no label — that level is no longer relevant.
4. The indicator only flags the level and its resolution; it does not place entries, stops, or targets. Combine the confirmed bounce with your own entry, stop, and target rules (e.g. your existing Fibonacci stop-liquidity zone and 1:2 management) for actual trade execution.
5. Adjust the Min Body/Range Ratio input to control how strict the "big body" filter is — lower values surface more setups (including weaker ones), higher values restrict it to cleaner, more decisive sweep candles.
INPUTS:
- Min Body/Range Ratio (%): minimum body-to-range percentage required for both candles in the pattern (default 50%).
- Bullish/Bearish Retest Line Color: line color for each setup type.
- Bullish/Bearish Bounce Label Color: label color for each confirmed bounce.
- Show Bullish Pattern / Show Bearish Pattern: toggle each setup independently.
VISUAL MARKERS:
- Orange upward triangle below the bar: bullish pattern detected.
- Purple downward triangle above the bar: bearish pattern detected.
- Green "Bounce" label: confirmed bullish bounce.
- Red "Bounce" label: confirmed bearish bounce.
NOTES:
Each retest line resolves on the first touch - either confirming or invalidating immediately on that bar, never lingering across multiple touches. This keeps the chart clean and ensures every line on the chart represents a level that is still actively awaited. Indicator

Extreme Reversal Channel [JOAT]Extreme Reversal Channel
Introduction
Extreme Reversal Channel is an open-source adaptive channel that tracks persistent upper and lower extremes, gradually resets stale levels, and marks confirmed reversal conditions when price rejects a fresh extreme through the channel midpoint.
The problem it solves is stale channel context. Fixed lookback channels can jump abruptly as old bars roll out. Extreme Reversal Channel uses persistent state and controlled interpolation, creating smoother structural boundaries while still adapting to current price.
Core Concepts
1. Persistent Extreme Tracking
The upper channel updates when a new high exceeds the current upper core. The lower channel updates when a new low breaks the current lower core.
2. Counter-Based Reset
If no new extreme appears after the selected reset length, the stale level interpolates toward current price using the reset alpha setting.
upperCore := upperCore * (1.0 - alpha) + high * alpha
lowerCore := lowerCore * (1.0 - alpha) + low * alpha
3. Midpoint Reversal Confirmation
A bullish reversal requires a fresh lower extreme and a confirmed close back above the midpoint. A bearish reversal requires a fresh upper extreme and a confirmed close back below the midpoint.
4. Channel vs Trail Mode
Channel mode shows the upper, lower, and midpoint. Trail mode shows a single adaptive trailing reference derived from the current trend state.
Features
Adaptive upper/lower extremes: Persistent channel boundaries that update with new highs/lows
Reset interpolation: Stale levels drift toward current price instead of disappearing abruptly
Midpoint reversal logic: Reversal labels require closed-bar confirmation
Gradient channel fills: Upper and lower channel regions are lightly shaded
Optional trail mode: Converts the channel into a single adaptive stop reference
Top-right dashboard: Trend, mode, width, price position, reset age, and signal state
Alerts: Confirmed bullish and bearish reversal events
Input Parameters
Channel:
Reset Length: Bars allowed before an untouched extreme resets
Reset Alpha: Interpolation speed toward current price
Body Filter: Minimum candle body quality for reversal labels
Trailing Mode: Switches from full channel to trail display
How to Use This Indicator
Step 1: Use the channel boundaries as adaptive structural extremes.
Step 2: Watch for midpoint rejections after fresh extremes.
Step 3: Use trail mode when you want a simpler directional reference.
Step 4: Read price position and channel width in the dashboard before interpreting a reversal.
Indicator Limitations
Reversal labels can be early in strong breakout conditions
Very narrow channels require caution because small moves can cross the midpoint easily
The channel is adaptive context, not a complete trade system
Signals are confirmed on closed bars and do not use future references
Originality Statement
Extreme Reversal Channel is original in its combination of persistent extreme tracking, reset interpolation, midpoint rejection logic, optional trail mode, and compact dashboard output. It does not copy third-party source code.
Disclaimer
This open-source indicator is provided for educational and informational purposes only. It is not financial advice. Market conditions can invalidate reversal context, and risk management remains essential.
-Made with passion by jackofalltrades
Indicator

Indicator

Uptrick: Liquid Reversal BandsIntroduction
Liquid Reversal Bands is an overlay indicator designed to help traders identify dynamic support and resistance zones, detect mean-reversion opportunities, and read price position within a volatility-aware envelope. Rather than using fixed standard deviation bands around a single moving average, this system builds its band width from multiple volatility components simultaneously, creating a more adaptive and stable envelope that responds to changing market conditions without overreacting to short-term noise. The candle coloring, fair value line, and band fills all carry live visual information, making it possible to assess market state and recent signal context at a glance without needing additional tools on the chart.
How It Works
The centerline, referred to as the Liquid Fair Value, is computed by blending an EMA and an ALMA with a fixed offset and phase bias, then applying a secondary smoothing pass. This produces a centerline that is faster than a plain EMA but more stable than a raw ALMA, reducing lag while avoiding erratic pivots.
Band width is calculated from four volatility components: the standard deviation of price deviation from the fair value, a standard ATR reading, an EMA of absolute deviation, and an EMA of bar range energy. These four components are weighted and blended into a single composite width value that is then smoothed again before being applied to the upper and lower bands. This approach means the bands widen during high-volatility conditions driven by any combination of momentum, range expansion, or sustained deviation, rather than relying on a single measure that may miss one type of volatility while overreacting to another.
Reversal signals are generated when price closes back inside a band after having closed outside it on the prior bar. This close-crossing logic filters out brief wicks and requires a confirmed return into the envelope before triggering. An optional cooldown parameter prevents back-to-back signals within a defined number of bars.
Candle coloring operates in two selectable modes. In Reversal Heat mode, candles are colored continuously based on their real-time position within the band range, shifting from the bullish teal near the lower band to the bearish magenta near the upper band, with a full gradient in between. In Latest Signal mode, all candles take the solid color of the most recent confirmed signal direction, holding that color until the opposite signal fires. This mode is useful for traders who want a persistent visual reminder of the current signal bias rather than a moment-to-moment position readout.
The fair value line uses a separate slope-based gradient that transitions between bull and bear color depending on the direction and smoothed magnitude of the centerline trend. Optional outer bands extend beyond the primary envelope and can be enabled to identify extreme extension zones.
Baseline Design Rationale
The Liquid Fair Value uses EMA and ALMA specifically because they address opposite weaknesses. A standard EMA is computationally stable and reacts smoothly to recent price but carries lag from its uniform weighting. ALMA uses a Gaussian-weighted kernel that concentrates sensitivity toward recent bars while suppressing older data, which reduces lag but can introduce instability on sharp reversals. Blending the two captures the smoothness and stability of the EMA alongside the reduced lag of the ALMA, producing a centerline that neither drags excessively in trends nor overreacts to brief spikes. The secondary EMA pass applied afterward further damps any residual instability from the ALMA component without reintroducing significant lag.
Features
Liquid Fair Value centerline blending EMA and ALMA with dual-pass smoothing for a stable yet responsive mid-line
Composite band width derived from four volatility sources: deviation standard deviation, ATR, absolute deviation EMA, and bar range energy EMA
Primary upper and lower bands with independent multiplier controls
Optional outer bands for identifying extreme price extension, each with its own multiplier
Candle Coloring Mode selector with two options: Reversal Heat for continuous gradient coloring based on live band position, and Latest Signal for persistent directional coloring based on the most recent confirmed signal
Slope-based gradient coloring on the fair value line, transitioning between bullish and bearish color depending on trend direction and strength
Slope sensitivity and smoothing controls to tune how quickly the fair value line color responds to directional changes
Close-crossing reversal signals that trigger only when price re-enters a band after a confirmed close outside it
Configurable signal cooldown to space out signals and reduce repetitive triggers in choppy conditions
Gradient band fills between the fair value and upper and lower bands using directional color transparency
Outer band fills rendered separately with their own transparency layer when enabled
Alert conditions for both buy and sell signals
Inputs
Source: The price series used for all calculations. Defaults to close.
Fair Value Length: Controls the lookback period for both the EMA and ALMA that form the Liquid Fair Value centerline. Higher values produce a smoother and slower centerline.
Z-Width Lookback: The lookback window used to compute deviation standard deviation and absolute deviation mean. Larger values stabilize band width but reduce responsiveness to recent volatility shifts.
Band Smoothness: Controls the final EMA smoothing applied to the composite band width. Higher values produce wider, more stable bands.
Upper Band Multiplier and Lower Band Multiplier: Scale the upper and lower band distances from the fair value independently. Higher values push the bands further out, producing fewer signal triggers.
Outer Upper Band Multiplier and Outer Lower Band Multiplier: Applied on top of the primary multipliers to define the outer band distance. Only visible when outer bands are enabled.
Candle Coloring Mode: Selects how candles are colored. Reversal Heat maps each candle continuously to its current position within the band range. Latest Signal holds the color of the most recent confirmed buy or sell signal until the opposite signal fires.
Show Signals: Toggle to enable or disable reversal signal labels on the chart.
Signal Cooldown: Minimum number of bars that must pass between consecutive signals. Set to zero to allow signals on every qualifying bar.
Show Outer Bands: Toggle to enable or disable the outer band plots and their fills.
Slope Smoothing Length: Controls how many bars are used to smooth the fair value slope before it is mapped to a color. Lower values make the line color react faster to direction changes.
Slope Color Sensitivity: Scales how aggressively the slope magnitude maps to the color gradient. Lower values cause the line to reach full bull or bear color more quickly.
Originality
Most band-based indicators derive their width from a single volatility measure, typically standard deviation or ATR alone. Liquid Reversal Bands constructs its width from a weighted blend of four distinct volatility inputs, each capturing a different aspect of market activity. The additional smoothing hierarchy applied to both the centerline and the width ensures that bands expand and contract in a measured way rather than spiking on single-bar outliers. The dual candle coloring system offers two meaningfully different visual modes: one that reflects continuous real-time price positioning within the envelope, and one that reflects confirmed signal direction as a persistent state, giving traders a choice between positional awareness and signal context depending on their preference. The slope gradient on the fair value line is driven by a normalized and smoothed slope calculation, making it resistant to brief direction changes while still reflecting genuine trend shifts.
Conclusion
Liquid Reversal Bands is built for traders who want a mean-reversion and trend context tool that adapts to volatility through multiple lenses simultaneously. The composite width model, the selectable candle coloring modes, and the close-crossing signal logic together produce a system designed for clarity, stability, and honest visual representation of price state within the envelope.
Disclaimer
This indicator is published for educational and analytical purposes only. It does not constitute financial advice. Past behavior of any indicator does not guarantee future results. Always apply your own analysis and risk management before making any trading decisions. Indicator

Liquidity Sweep Quality Score [TradeDots]Liquidity Sweep Quality Score
Summary
This indicator detects liquidity-sweep events on the chart timeframe and assigns each event a 0 to 100 composite quality score with an A+, A, B, C, D, or Weak letter grade. A liquidity sweep here is defined precisely: the current bar prints beyond a confirmed swing pivot (below a prior swing low for a bullish sweep, or above a prior swing high for a bearish sweep) and closes back inside the prior range. The composite score is built from six independent factors that quantify how decisively the rejection occurred and how supportive the surrounding context is. The grade label is drawn on the bar immediately after the sweep so that the score includes the first piece of follow-through evidence.
What is original here
Detecting liquidity sweeps from pivot geometry is straightforward and is already common across public scripts. Where most scripts stop at binary detection ("a sweep happened"), this script adds a multi-factor quality layer on top. The originality is in the scoring methodology: six measurable factors, each normalized to a 0 to 100 scale so that raw units do not dominate, combined as a weighted average with a regime-aware penalty applied at the end. All weights and thresholds are exposed as inputs so that the model is auditable and tunable. The contribution is not the detection but the explicit, transparent scoring layer that lets traders rank sweeps rather than treat them as uniformly meaningful.
How it works
Pivots are tracked with the standard pivot-high and pivot-low primitives using a user-configurable symmetric left/right lookback. The most recently confirmed swing high and swing low are held in memory.
A bullish sweep registers when the current bar's low prints below the most recent swing low and the current close finishes above it. A bearish sweep is the symmetric case. A wick-to-body ratio gate filters trivial events where the rejection wick is too small relative to the candle body. Signal evaluation is gated by barstate.isconfirmed, so signals only finalize at bar close.
When a sweep is detected, the six factors below are computed.
1. Wick rejection strength. The size of the rejection wick on the sweep candle relative to the candle body. A larger wick relative to body indicates a more decisive intrabar rejection of the swept level. Scaled by the user's minimum acceptable wick-to-body ratio.
2. Relative volume. The rolling percentile rank of the sweep bar's volume within a configurable lookback (default 100 bars). Sweeps occurring on volume in the upper percentiles score higher than sweeps on quiet bars.
3. Failed-break decisiveness. The distance between the swept pivot and the close, expressed in ATR units. A close that recovers a full ATR back inside the prior range scores higher than a marginal recovery.
4. Higher-timeframe level proximity. The distance between the close and the nearest of the prior higher-timeframe bar's high or low, expressed in ATR units. Sweeps near a major higher-timeframe level score higher than sweeps at intra-range pivots.
5. Follow-through confirmation. The bar immediately after the sweep is inspected. A directionally consistent follow-through (a green bar after a bullish sweep, a red bar after a bearish sweep) earns full credit. Because this factor requires the next bar, the composite is finalized one bar after the sweep candle and the grade label is drawn on the follow-through bar, not on the sweep bar itself. This is documented behaviour, not a defect.
6. Regime penalty. Computed from ADX and the EMA-50 / EMA-200 alignment. When a sweep occurs against the direction of a strongly trending market (ADX above the user threshold and the sweep direction conflicts with the EMA alignment), a fixed user-configurable penalty is subtracted from the composite. A bullish sweep in a strong downtrend is structurally the same pattern as a bullish sweep in a balanced range, but the prior probability of follow-through differs. The penalty makes that difference visible in the score.
The composite is the weighted average of factors 1 through 5, with factor 6 applied as a post-weighting deduction. Tier mapping:
A+ : score 90 or higher
A : score 80 to 89
B : score 70 to 79
C : score 60 to 69
D : score 50 to 59
Weak : below 50
Repainting and data integrity
All sweep detection, scoring, label placement, and alert triggers are gated by barstate.isconfirmed. Signals do not appear or change intrabar.
The higher-timeframe level is fetched with request.security() using the prior-bar source (high and low ) together with the barmerge.lookahead_on flag. This combination is the established non-repainting form for higher-timeframe reads: the index requests the value from the prior higher-timeframe bar, and the lookahead flag ensures that value is returned consistently in both historical and real-time evaluation. This pattern does not access future data. It returns the last confirmed higher-timeframe bar's extremes, which are already history at the moment they are read.
How to read the chart
A small triangle is plotted at the sweep bar itself: below the bar for bullish sweeps, above the bar for bearish sweeps. This marks the detection event.
A directional grade label is drawn on the next bar (the follow-through bar), with text showing the letter grade and the numeric composite score. The label color shifts on a red-to-green gradient based on the score.
A configurable dashboard panel shows the most recent sweep's direction, each of the six sub-factor scores with gradient cells, the regime-penalty status, the composite score, and the letter grade.
All sub-scores are also output as hidden plots so that they are accessible from the Data Window and may be referenced in alert messages.
Inputs
Inputs are grouped into five sections.
Core Settings : swing pivot lookback, minimum wick-to-body ratio, ATR length, volume percentile lookback.
Filters : higher-timeframe reference, ADX length and threshold for the regime check, regime-penalty enable toggle.
Score Tuning : a 0 to 1 weight for each of the five positive factors and the regime-penalty magnitude in points.
Visual Settings : panel position, panel size, label cap, marker and label toggles.
Any Alert() function call conditions : per-signal boolean toggles to enable individual alerts.
Alerts
Six alert conditions are provided: A+ Setup, A Setup, B Setup, Bullish Sweep with quality at or above 70, Bearish Sweep with quality at or above 70, and Any Sweep with score at or above 80. Each alert is declared via alertcondition() for native PulseWire alert configuration and is also fired programmatically through alert() when its corresponding input toggle is enabled. All programmatic alerts use alert.freq_once_per_bar_close to prevent intrabar re-triggers. The alertcondition() message templates include {{ticker}}, {{interval}}, and {{close}} placeholders for webhook integrations.
How to use this script
This script is a quality filter for reversal-style entries. It is not a complete trading system.
Identify a discretionary or systematic reversal context — a higher-timeframe level retest, a range extreme, a divergence, or any structure already in your plan.
Wait for a sweep marker to print.
Read the dashboard at bar close on the follow-through bar. Treat B-grade or better as candidate setups. Treat C and Weak as information only.
If the regime-penalty row indicates the sweep is fighting a strong trend, weight the signal toward "pullback rejection inside a continuing trend" rather than "trend reversal."
Position sizing, stop placement, and target selection remain entirely the user's responsibility.
Limitations and honest caveats
The composite score is a heuristic evidence weighting. It is not a statistically calibrated probability. An A grade means a sweep has more of the listed evidence factors than a C grade. It does not imply a specific likelihood of follow-through.
Pivot detection has inherent right-bar confirmation lag. A swing pivot is only confirmed after the configured right lookback has elapsed.
The higher-timeframe proximity factor uses only the prior higher-timeframe bar's high and low. Other structurally relevant levels — anchored VWAPs, weekly opens, user-marked supply or demand, prior session highs and lows — are not part of this factor.
The regime penalty uses ADX, which is a lagging measure of trend strength and will not flag fast regime shifts immediately.
The grade label is drawn one bar after the sweep bar by design (see factor 5 above). Traders who require the label on the sweep bar itself should be aware that this would mean publishing a score before the follow-through evidence exists.
The script is an indicator, not a strategy. It does not size positions, manage stops, or backtest entries.
Disclaimer
This script is published for informational and educational purposes. It is not investment advice and is not a recommendation to buy or sell any instrument. Past appearance of any pattern, including high-grade sweep setups, does not guarantee future behaviour. Users are solely responsible for their own trading decisions and risk management.
Indicator

Liquidity Echo[BullByte]LIQUIDITY ECHO
Liquidity Echo is an original indicator built on a purpose-written four-layer detection architecture where no layer produces a standalone signal and the detection logic is arranged as one unified model. It was built around one core idea: institutional money does not enter markets randomly. It enters at specific price levels where liquidity has been engineered, collected, and then abandoned. This indicator detects those exact moments, measures the market response, and presents a structured reversal entry with full visual trade management directly on the chart.
Each of the four detection layers was built to be structurally dependent on the others. The HTF compression zone does not produce a signal. The volume vacuum does not produce a signal. The sweep classification does not produce a signal. The pressure gradient does not produce a signal. None of these elements has any standalone output. A signal exists only when all four agree simultaneously, and the quality score that grades each signal is a composite function of how strongly each layer fired. Remove any single layer and the remaining three produce nothing. This structure is intended as one unified detection system rather than a collection of separate tools with unrelated outputs.
---
WHAT PROBLEM THIS SOLVES
Most retail traders face two specific problems. The first is identifying where a move is likely to begin before it has already happened. The second is knowing whether a sharp price spike at a key level is a genuine smart money reversal or a continuation trap.
Standard tools like RSI, MACD, or Bollinger Bands measure price behavior in isolation. They tell you what price has done but not why, and they do not account for where price sits relative to higher timeframe institutional order flow and supply and demand. Liquidity Echo reads the higher timeframe environment first, identifies where price is coiling inside a compression zone, and then waits for a specific sequence of events at that level before generating any signal.
---
THE ORIGIN AND OBSERVATION BEHIND THIS INDICATOR
Markets frequently spike through obvious support and resistance levels, trigger stop losses clustered just beyond those levels, and then reverse sharply in the opposite direction. This behavior is often repeatable. A large institutional buy order requires sellers. Those sellers are often concentrated just below visible support, where stop loss orders from long positions accumulate. A liquidity sweep through that level can absorb resting liquidity and is often followed by a reversal. This is the stop hunt mechanism that Liquidity Echo is built to identify.
What separates this indicator from any generic spike detector is the requirement that the sweep occur at a level where the higher timeframe is actively compressing. Compression at a level indicates institutional interest, because large participants cause range contraction when they absorb one side of order flow without allowing free price movement. A sweep through a compressed zone is treated as a stronger reversal context than a sweep through an ordinary pivot.
---
WHY THESE FOUR SPECIFIC LAYERS AND WHY THEY ARE ORIGINAL
Layer one is the HTF compression zone. The indicator measures the current higher timeframe bar range against the average of the three preceding bars. When the current bar is significantly narrower than recent history, the market is coiling and a zone is registered. Compression zones are color-coded by touch count. A fresh untested zone appears in soft purple. A zone tested once appears slightly lighter. A zone tested twice or more appears in orange, indicating stronger significance because repeated testing without a break can show that the level is being defended.
Layer two is the volume vacuum. Institutional stop hunts are frequently preceded by a quiet period where market participation drops. The vacuum condition requires that volume fall below a calibrated threshold for a minimum number of consecutive bars before the sweep fires. This helps filter out sweeps that occur on already active volume, which may behave more like continuation moves than reversals.
Layer three is the sweep classification. A spike sweep occurs when a candle wicks sharply through the zone boundary and closes back inside. A grind sweep occurs when price pushes slowly through the zone over several bars and then closes back across the boundary without any sharp wick. The spike path is further subdivided. A minor sweep is a small wick extension above the calibrated minimum. A major sweep extends beyond a configurable ATR multiple, indicating a more aggressive stop hunt. A flush sweep represents the most violent classification where a large cluster of stops was cleared in a single candle. Each level contributes differently to the signal quality score.
Layer four is the pressure gradient. This is a separate momentum-shift measurement rather than a standard oscillator. It measures the rate of change of a within-bar close location across three bars, derived from the delta concept used in options market microstructure analysis and adapted here as a momentum shift detector timed specifically to the sweep event. Each bar's delta is computed as the ratio of where the close falls within the high-low range, normalized between negative one and positive one. The gradient is the rate of change in this delta from two bars ago to the current bar. A positive gradient on a potential long signal means buying pressure was already accelerating across three bars even while price was spiking down through the zone. This supports the reversal context before the entry candle closes.
The sweep classification is not a wick ratio filter applied to any candle. It measures wick extension in ATR units specifically relative to a compressed higher timeframe zone boundary, which is a combined spatial and volatility measurement that requires both the zone and the ATR context simultaneously to compute. The volume vacuum is not a simple volume moving average crossover. It uses a coefficient of variation derived threshold that adapts to whether the instrument has session-structured volume or continuous volume flow, a behavioral classification the indicator measures itself in real time.
---
AUTO-CALIBRATION ENGINE
The auto-calibration engine is the original technical contribution that makes the four-layer system viable across all asset classes without manual configuration. Many tools that use ATR thresholds, volume ratios, wick filters, or compression logic rely on manual settings or presets, either through a fixed number or an asset class preset. This indicator reduces that requirement by adapting its thresholds to the chart's own behavior.
The engine measures three behavioral properties of the current chart at runtime.
The wick-body ratio is the average total wick length divided by the average body size over the calibration window. Different instruments can behave very differently. Some show sharp wick-driven sweeps, while others tend to grind through levels more slowly. The engine uses this measurement to set the minimum wick requirement for spike detection and to decide whether grind mode should activate automatically.
The volume coefficient of variation is the standard deviation of volume divided by its mean. A high coefficient means volume is session-structured with clear spikes and quiet periods. A low coefficient means volume flows continuously. This calibrates the vacuum threshold and the volume averaging window specific to the instrument's own behavior pattern.
The ATR mean percentile measures where current volatility sits within its recent historical range. This calibrates the compression sensitivity so the narrowing threshold adapts to instruments that are normally tight versus instruments that are normally wide.
The Sensitivity Bias input is the only manual judgment required. Conservative tightens all thresholds uniformly for fewer, higher-conviction signals. Neutral applies thresholds exactly as measured. Aggressive loosens thresholds for conditions where more signals are preferred. The bias scales every derived threshold by a fixed multiplier so the relationship between all layers remains internally consistent regardless of the setting chosen.
---
SIGNAL QUALITY SCORING
Every signal that passes all four confirmation layers receives a quality score from zero to ten built from four components.
Zone compression strength contributes up to three points. A ratio below 0.55 between the current HTF range and its three-bar average scores three points. Below 0.68 scores two. Below the effective narrowing threshold scores one.
Sweep severity contributes up to three points. A flush sweep scores three. A major sweep scores two. A minor or grind sweep scores one.
Pressure gradient magnitude contributes up to two points. A gradient above 0.55 in absolute value scores two. Above 0.25 scores one.
Zone touch count contributes up to two points. A zone tested twice or more scores two. Tested once scores one. An untested zone scores zero on this dimension.
Scores from eight to ten produce a PRIME grade. Six to seven is HIGH. Four to five is MED. Below four is LOW. A gold diamond marks PRIME signals on the chart. A green circle marks HIGH. A yellow square marks MED. A gray cross marks LOW. Traders who want fewer signals can focus on the higher-grade markers.
---
HOW TO READ WHAT APPEARS ON THE CHART
The EMA line renders as two overlapping plots. A wide semi-transparent outer glow and a solid thinner inner line. Both turn green when price is above the EMA and red when below. Long signals only fire above the EMA. Short signals only fire below it. The EMA is a directional filter, not a signal source.
Compression zones appear as filled rectangular boxes spanning the full higher timeframe bar range at the moment of detection. Fresh zones are soft purple. Zones tested once are a slightly lighter purple. Zones tested twice or more shift to orange.
Volume vacuum bars carry a very faint yellow background tint on candles where the low-volume precondition is active. The tint is intentionally near-invisible at 96 percent transparency so it provides context without competing with price action. It marks where the trap was being set, not where it fired.
Grind sweep markers appear as small orange triangles. An upward triangle below the bar marks a bullish grind sweep detected in progress. A downward triangle above marks a bearish grind sweep. These appear before the commitment candle confirms the signal. They are early warning markers only.
When a signal fires, a label appears below the bar for a long entry and above the bar for a short entry. MINIMAL mode shows direction, grade, and score. DETAIL mode adds sweep type, zone price, and all trade levels.
The trade forecast visualization draws immediately on signal confirmation. A blue line marks entry. A red line marks the stop loss. Two dashed green lines mark Target 1 and Target 2. A light green box fills the entry to Target 1 zone. A lighter green box fills the Target 1 to Target 2 zone. A light red box fills the stop to entry zone. The first green box deepens in shade when Target 1 is hit. The second deepens when Target 2 is hit. The stop line updates in real time when trailing stop or breakeven is active.
The trailing stop renders as a dual-layer line matching the EMA visual style. Green for a long trail, red for a short trail. It ratchets in the direction of the trade and never moves against the position.
TRADE ANALYSIS - CHART OVERVIEW
BTC Perpetual Futures Contract
BINANCE:BTCUSD.P
Time Frame 5 mins
WHAT THE SIGNALS TELL US:
This chart demonstrates both long and short reversal opportunities in the same trading session. The first signal was a LONG entry triggered by a minor spike sweep below zone 76079.9, graded MED 5/10 quality, which reached both targets in the example shown. The second signal was a SHORT entry triggered by a grind sweep above zone 76577.6, graded MED 4/10 quality, after price failed to sustain the rally and began reversing. Multiple orange triangle markers throughout the chart show where the grind sweep detection algorithm identified slow institutional accumulation or distribution patterns that preceded directional moves. The yellow square quality symbols indicate both signals were medium-grade setups-not the highest conviction (which would show gold diamonds), but sufficient quality to warrant entries with proper risk management.
WHAT THE DASHBOARD ELEMENTS MEAN:
The dashboard provides real-time market context that helps evaluate signal quality and trade conditions. The STATE indicator shows whether the system is scanning for new setups or managing an active position. HTF ZONE tracking displays how many compression zones are currently being monitored-these are the price levels where institutional liquidity is likely to accumulate. COMPRESS indicates whether price range is narrowing (coiling energy) or expanded (post-move). ATR% measures current volatility relative to recent history: HOT means explosive conditions favorable for hitting targets, FLAT means low volatility where moves stall. VACUUM detects when volume drops below normal before a sweep, signaling institutional preparation. VOL RATIO compares current bar volume to the rolling average-spikes confirm that stops were actually hunted. SWEEP classification (MINOR, MAJOR, FLUSH, GRIND) tells you how aggressively the level was cleared. GRADIENT measures momentum direction-positive favors longs, negative favors shorts. TREND with EMA shows the macro directional filter-price above EMA enables longs, below enables shorts. CALIBRATION LIVE means thresholds auto-adjust to the current instrument's behavior, while GRIND mode activates when the system detects slow-push sweep patterns. Quality scoring combines all these factors to produce the 0-10 grade that appears on each signal label.
---
THE DASHBOARD PANEL
The dashboard sits in the top right corner of the chart and displays the complete state of the indicator at the current bar in real time. It is organized into thirteen rows.
The header row shows the indicator name, the author name, the current sensitivity bias setting, and whether calibration is live or locked.
The state row shows whether the indicator is scanning for a setup or has an active trade. When active it shows LONG ACTIVE or SHORT ACTIVE . The right side of this row shows the stop loss distance in price units and ATR multiples.
The HTF zone row shows whether the zone system is active and how many zones are currently tracked.
The compression row shows the current compression strength as NONE, LIGHT, MEDIUM, or STRONG . The right side shows the current ATR percentile with a HOT, NORM, or FLAT label indicating whether volatility is elevated, normal, or suppressed.
The vacuum row shows whether the volume vacuum condition is currently active and displays the current volume ratio as a multiple of the rolling average.
The sweep row shows the current sweep classification if a sweep is pending or the classification of the most recent signal if a trade is active. The gradient value is displayed on the right with green coloring for positive, red for negative, and white for near-zero.
The quality row shows the visual quality bar and the grade with score when a trade is active. The quality bar uses simple characters to show the score at a glance.
The TP1 and TP2 row shows exact target prices when a trade is active and updates to show HIT when each level is reached.
The stop row shows the current stop loss price and whether it is initial, trailing, or moved to breakeven.
The position row shows what percentage of the position remains open after any partial close at Target 1.
The trend row shows whether the macro bias is BULL or BEAR based on the EMA and displays the current EMA value.
The sweep expiry row shows how many bars remain in the commitment window if a sweep is pending but not yet confirmed.
The calibration row shows whether the auto-calibration engine is LIVE or LOCKED , and shows the grind mode status and the configured stop loss ATR multiplier.
---
A WALK-THROUGH OF A COMPLETE SIGNAL
Consider a bullish example. The higher timeframe has been compressing for several bars. The compression zone is registered and appears as a purple box on the chart between two price levels, for example 42200 and 42350 on a Bitcoin five-minute chart. Price approaches from above and enters the zone. Volume begins to drop across two or three bars, triggering the vacuum condition and tinting those bars with a faint yellow background.
On the next bar price spikes sharply below the bottom of the zone to 42080, creating a wick of approximately 120 points below 42200. The wick extends 0.9 ATR below the zone boundary, qualifying as a MAJOR sweep. The candle body closes back at 42210, inside the zone. The pressure gradient at this point reads positive 0.38, meaning buying pressure has been accelerating across the last three bars despite the downward spike.
All four conditions are now satisfied: compression zone present, volume vacuum active, MAJOR sweep detected, gradient positive and above threshold. The sweep state is recorded. The dashboard updates to show SWEEP : MAJOR and the remaining bars in the commitment window begin counting down.
On the following bar a bullish candle forms. It has a body of 85 points, which exceeds the minimum body size requirement relative to ATR. Volume on this candle is 1.2 times the rolling average, above the 0.65 minimum. The candle closes at 42310, above the zone low of 42200. All commitment candle conditions pass. The signal fires.
A label appears below that bar reading LONG HIGH 7/10. A green circle shape appears above the bar marking a HIGH grade signal. The trade forecast boxes appear: a green box from 42310 to 42510 for Target 1 region, a lighter green box from 42510 to 42660 for Target 2 region, and a red box from 42310 down to 41910 for the stop zone. The entry line is drawn at 42310. The stop line is drawn at 41910. Target 1 is drawn at 42510. Target 2 is drawn at 42660.
The dashboard updates to show LONG ACTIVE, the exact stop and target prices, the quality grade of HIGH at 7 out of 10, and POS REMAIN at 100 percent.
When price reaches 42510 the TP1 box deepens in shade. The dashboard shows HIT on the TP1 row. POS REMAIN drops to 50 percent. If breakeven is enabled the stop line on the chart moves up to 42310 and the dashboard stop type changes to BREAKEVEN .
When price reaches 42660 the TP2 box deepens. The dashboard shows HIT on the TP2 row. The trade closes. The lines and boxes move into history if the historical display option is enabled, fading slightly to distinguish them from any new active trade.
Chart Example of a Long "High" Grade Signal full lifecycle
BTC Perpetual Futures Contract
BINANCE:BTCUSD.P
Time Frame 5 mins
IMAGE 1: SIGNAL GENERATION & PRE-CONDITIONS
What Triggered the Signal: A grind sweep was detected at zone 77699.7. Price slowly pushed below the compression level over several bars (orange triangle marker visible on left side), then reversed with a commitment candle. Dashboard shows SWEEP: GRIND with GRADIENT: 0.54 confirming positive momentum shift. VACUUM: NO indicates volume was not in vacuum state during this particular signal. The sweep window counter shows 7/8 bars remaining, meaning the indicator is waiting for final commitment candle confirmation before entering the trade.
Pre-Condition Dashboard Readings:
COMPRESS: NONE - No active compression detected at this moment
ATR%: 42.9% NORM - Volatility in normal range
VACUUM: NO - Volume condition not active
VOL RATIO: 1.51x - Volume 1.51 times the average
GRADIENT: 0.54 - Strong positive momentum
TREND: BEAR - EMA at 77762.5, price below (note: this signal appears to have fired despite bearish EMA, possibly EMA filter was disabled or price was transitioning)
IMAGE 2: TRADE SETUP & ACTIVE MANAGEMENT
Trade Entry Confirmation: The commitment candle confirmed, and the trade entered. Dashboard now shows STATE: LONG ACTIVE, indicating the position is open. Signal label displays " LONG HIGH 6/10 Sweep: GRIND Zone: 77723.0" with green circle quality marker (HIGH grade).
Stop Loss & Target Calculation:
Entry Zone: 77838.0
Stop Loss: 77511.2 (placed 2 ATR below entry)
SL Distance: 327.5 points (2 ATR) shown in dashboard as "SL DIST: 327.5 (2 ATR)"
Target 1: 78166.2 (327.5 points profit, 1 R) - 50% position close
Target 2: 78411.8 (573 points profit, 1.5R) - remaining 50%
Active Trade Dashboard:
STATE: LONG ACTIVE
QUALITY: ||||||||.... (8 bars filled) GRADE: HIGH 6/10
TP1 (50%): 78166.2 | TP2 (50%): 78411.8
STOP: 77511.2 | TYPE: INITIAL
POS REMAIN: 100% (full position still open)
TREND: BULL (EMA 21: 77774.8) - price has crossed above EMA confirming bullish bias
VACUUM: ACTIVE (yellow highlight visible on some bars)
VOL RATIO: 0.09x - Low volume, waiting for high volume to confirm institutional participation
GRADIENT: 0.66 (Strong positive momentum)
SWEEP EXP: In Trade (window closed, position active)
IMAGE 3: TRADE PROGRESS & ACHIEVEMENT
Target Achievement: Price rallied from the entry at 77838 and reached 78,411.0 (shown in the top right), representing a 573-point profit. The green profit boxes are fully filled showing price traveled through both reward zones. Purple horizontal line visible near 78,390 level marking current price or a new resistance zone.
Post-Trade Dashboard:
STATE: SCANNING (trade closed, position exited)
HTF ZONE: ACTIVE with COUNT: 1 zones being tracked
COMPRESS: NONE
ATR%: 9.1% FLAT - volatility compressed significantly after the move
VACUUM: ACTIVE - volume vacuum condition now present (post-move exhaustion)
VOL RATIO: 0.53x - volume dropped to 53% of average confirming the move is complete
TREND: BULL (EMA 21: 78227.4) - price well above EMA
Quality/Grade/TP fields: - (cleared because no active trade)
In the example shown, both level 1 (78166.2) and level 2 (78411.8) were touched. The trade reached approximately 1.0R at TP1 and 1.5R at TP2, with 50% of the position closed at each level. The grind sweep at 77723.0 identified the liquidity absorption area that preceded the rally. The current price of 78,390.0 represents approximately 573 points of illustrative move from the entry.
---
RECOMMENDED SETTINGS BY MARKET
For cryptocurrency on a 5-minute chart, the recommended HTF reference is 15 minutes. The EMA can be set to 21 for fast trend alignment. The sensitivity bias can start at NEUTRAL and be adjusted to AGGRESSIVE on high-liquidity pairs during active sessions.
For equity index futures on a 5-minute chart, the recommended HTF reference is 30 minutes or 1 hour. The EMA can be set to 50. The sensitivity bias works best at CONSERVATIVE or NEUTRAL because index instruments tend to grind slowly and produce more noise with aggressive settings.
For forex major pairs on a 15-minute chart, the recommended HTF reference is 1 hour. The grind sweep path is particularly effective on forex due to the low wick-body ratio of most major pairs. The EMA at 50 provides clean directional filtering.
For equities on daily charts , the recommended HTF reference is 4 hours. The calibration window can be increased to 200 bars for more stable threshold measurement on slower instruments.
The indicator works on any timeframe and any asset class without requiring manual configuration because the auto-calibration engine reads the instrument's behavior directly. The recommended settings above are starting points for users who prefer guidance. The behavior metrics displayed in the dashboard can help users understand whether their current settings are appropriate for the instrument they are trading.
---
TRADE MANAGEMENT DEFAULTS AND HOW TO ADJUST THEM
The default stop loss distance is two ATR. This is intentionally wider than typical scalping tools to accommodate the nature of liquidity sweep entries, where price frequently makes one final push against the position before reversing. A stop placed too tightly below or above a sweep zone will be taken out by the very move the signal is identifying.
Target 1 defaults to two ATR from entry, producing a one-to-one risk-to-reward on the first half of the position. Target 2 defaults to 3.5 ATR, producing a one-to-1.75 risk-to-reward on the remaining position. By default fifty percent of the position is closed at Target 1 and fifty percent runs to Target 2. This split can be adjusted between ten and ninety percent in the settings.
The breakeven option moves the stop to the entry price once Target 1 is hit. This eliminates all risk on the remaining position after the first target is reached.
The trailing stop option activates a ratcheting stop that follows the lowest low of the last four bars for long trades and the highest high for short trades, minus or plus the configured ATR offset. The trail can start immediately at entry or only after Target 1 is hit, depending on the Trailing Starts After setting.
The timeout setting closes the trade if Target 1 is not reached within the configured number of bars. This prevents capital from being tied up in stalled setups indefinitely.
The minimum bars between signals setting prevents back-to-back entries on the same directional impulse. At the default of eight bars on a five-minute chart, this means a new signal in the same direction cannot fire within forty minutes of the previous one.
---
HOW TO USE THE TWO-BAR CONFIRMATION OPTION
The two-bar confirmation setting requires that both the commitment candle and the candle immediately before it close in the signal direction and on the correct side of the zone. This setting is intended for instruments that produce many false commitment candles on the first bar of a potential reversal. On indices and slower-moving instruments enabling this option reduces entries by approximately thirty to forty percent but eliminates most of the premature entries where the reversal fails on the first bar.
The cost of this setting is one bar of lag. On a five-minute chart this means the entry is delayed by five minutes from the initial sweep detection. On a one-minute chart this delay is acceptable for intraday scalping. On a fifteen-minute chart the delay may cause significant slippage relative to the optimal entry zone. Users should test this option on their specific instrument and timeframe before relying on it.
---
WHAT THE GRIND PATH DETECTS AND WHY IT EXISTS
The grind sweep path exists because not all instruments produce sharp spike wicks through key levels. Equity indices in particular tend to slowly close beyond a level across multiple bars before reversing. A traditional wick-based detection system would miss these sweeps entirely because no individual candle has a wick large enough to qualify.
The grind path looks back a configurable number of bars to check whether price was outside the zone boundary during any of those bars. If price was beyond the zone and the current bar closes back inside with a body in the reversal direction and the gradient confirms the momentum shift, the condition qualifies as a grind sweep. It receives the same treatment as a spike sweep from the commitment candle onward.
The orange triangle markers on the chart show where grind conditions were detected, which is useful for understanding how often this path fires on your specific instrument versus the spike path.
---
ALERTS
Eight alert conditions are available . The Long Signal and Short Signal alerts fire when a full confirmed entry is generated. The Bull Sweep and Bear Sweep alerts fire when a sweep is detected but before the commitment candle has confirmed. These earlier alerts allow traders to watch for the setup manually and decide whether to act. The Target 1 Hit and Target 2 Hit alerts notify when each level is reached. The Breakeven alert fires when the stop is moved to entry. The Trailing On alert fires when the trailing stop activates.
All alerts use PulseWire's standard alert condition system. To set an alert, add the indicator to your chart, click the alert creation button, and select any of the eight named conditions from the dropdown. Alerts can be set to once per bar close on the signal conditions to ensure only confirmed bars trigger notifications.
---
IMPORTANT NOTES ON TIMEFRAME ALIGNMENT
The HTF reference should always be set to a timeframe higher than the chart you are viewing the indicator on. Setting the HTF reference to the same timeframe as the chart produces redundant zone detection that does not add higher timeframe context. Setting it to a lower timeframe is not valid and should be avoided.
The indicator requires a minimum number of bars equal to the calibration window before any signals are generated. At the default calibration window of 100 bars, the first 100 candles on any chart will show no signals while the engine builds its behavioral measurements. This is indicated in the code by the ready condition and is by design.
On very low timeframes such as one-minute charts, the calibration window represents only about 100 minutes of data. Users on one-minute charts may want to increase the calibration window to 200 bars for more stable threshold measurement across a full session.
---
DISCLAIMER
This indicator is published for educational and informational purposes only. Nothing in this publication or in the indicator's output constitutes financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All trading involves substantial risk of loss. Past signal performance visible on historical charts does not guarantee or predict future results. The visual trade management levels shown on the chart are illustrative and do not represent guaranteed exit points. Slippage, spread, and market conditions will affect actual trade outcomes. Always apply your own analysis and risk management before entering any trade. Never risk more than you can afford to lose. Indicator

Indicator

Reversal Entry ZonesReversal Entry Zones
Reversal Entry Zones is an open-source reversal-structure indicator built around one specific analytical idea:
a reversal zone becomes more meaningful when it is not drawn from a simple local pivot alone, but from a pivot that has been confirmed only after price reverses by a minimum threshold.
This script is not designed to predict every turning point in advance, and it is not intended to behave like a generic zigzag clone, a simple support/resistance overlay, or a basic pivot marker that labels every local high and low without further confirmation. Its purpose is to identify confirmed reversal points only after price has moved far enough in the opposite direction, then convert those confirmed points into structured bullish or bearish reversal zones on the chart.
The script also includes extension lines, optional projected zones, a synthetic path connecting one confirmed reversal to the next, and a status panel that summarizes the latest reversal state. These features are included to support chart structure analysis and review, not to imply future performance or automatic trade validity. :contentReference {index=2} :contentReference {index=3}
OPEN-SOURCE NOTE
This script is published open-source so users can inspect the logic directly, verify what the script is doing, and adapt parts of the workflow for their own research if they wish.
Even though the code is open, this description is intentionally detailed because many PulseWire users do not read Pine Script. The goal is for a user to understand what the script does, how it works, why its parts belong together, and how it may be used in practice without having to study the code line by line.
OVERVIEW
At a high level, the script does six things:
1. It tracks running highs and lows from a selected source stream.
2. It confirms a pivot only after price reverses by at least a minimum threshold.
3. It classifies the confirmed pivot as either bullish or bearish reversal structure.
4. It draws layered reversal visuals, including core and outer zones, reversal lines, and optional projected zones.
5. It can connect each confirmed reversal to the next using a synthetic path.
6. It summarizes the current structural state in a compact status panel.
The script is therefore meant to function as a complete reversal-structure mapping tool rather than as a single-purpose pivot or line-drawing script. :contentReference {index=4}
CORE IDEA
Many structural tools label local highs and lows immediately, but they do not distinguish clearly between a temporary pause and a reversal that has actually been confirmed by sufficient opposite-side movement.
This script is built around the idea that those two situations are not necessarily equivalent.
A local high is not automatically a bearish reversal.
A local low is not automatically a bullish reversal.
This script waits for price to reverse by a threshold that is large enough to qualify before it confirms the prior pivot as a true reversal point inside the script’s own logic.
That is the core of the model.
Instead of saying:
“a pivot exists here, so draw structure now,”
the script says:
“track the current swing extreme, and only confirm it as reversal structure after price has moved far enough away from it.”
That makes the framework more selective than a simple high/low labeling tool.
The script therefore organizes reversal structure in the following sequence:
track active swing highs and lows,
wait for a sufficient opposite move,
confirm the prior pivot only after that threshold is met,
classify the reversal as bullish or bearish,
then map that reversal into a layered zone and line structure for review.
That narrower focus is the main reason the script exists in its current form. :contentReference {index=5} :contentReference {index=6}
WHY THIS SCRIPT IS NOT A SIMPLE MASHUP
This script combines multiple components, but they are not included simply to place more features into one publication.
Each component has a specific function inside the same analytical process:
- The running high/low engine tracks the currently active swing state.
- The reversal-threshold model decides when a prior extreme is actually confirmed as a reversal.
- The selected source mode controls whether the model works from smoothed averages or raw highs/lows.
- The layered zone display turns each confirmed reversal into a readable structural area rather than a single line.
- The reversal lines extend the confirmed level forward for later reaction analysis.
- The synthetic path shows how one confirmed reversal connects to the next.
- The panel summarizes the most recent reversal state and current threshold context.
These layers are interdependent.
Without the running high/low engine, there is no active swing state to monitor.
Without the threshold model, the script would behave more like a basic pivot high/low marker.
Without the source-mode selection, the user could not control whether the structure is smoother or more reactive.
Without the zone display, the confirmed reversal would remain only a point or line rather than a readable area.
Without the reversal lines, later interaction with the level would be harder to monitor.
Without the synthetic path, the sequence of reversals would be less visually coherent.
Without the panel, the user would have less organized feedback about the latest confirmed reversal, threshold level, and current tracking state.
For that reason, the script is intended as a single reversal-confirmation framework, not as a random collection of unrelated visual elements. :contentReference {index=7} :contentReference {index=8}
WHAT THE SCRIPT DOES
The script monitors price using either:
- raw High/Low values,
- or an Average-based stream built from smoothed highs and lows.
It then tracks the current running swing in one direction until price reverses far enough to meet the active reversal threshold.
Once that happens:
- the prior extreme is confirmed as a reversal point,
- the script classifies it as bullish or bearish,
- stores its bar index and price,
- draws a layered visual structure around that level,
- optionally extends a projected zone forward,
- and updates the panel with the new structural information.
Depending on settings, the chart can show:
- bullish reversal labels,
- bearish reversal labels,
- outer reversal boxes,
- core reversal boxes,
- optional projected reversal zones,
- reversal level lines,
- synthetic path segments,
- and a status panel.
This means the script is not attempting to generate trade entries by itself. It is building a structured visual map of confirmed reversal locations according to the script’s internal threshold model. :contentReference {index=9}
HOW THE SCRIPT WORKS
1) SOURCE MODE
The script can work from two different source modes:
Average
High/Low
In High/Low mode, the script uses raw highs and lows directly.
In Average mode, the script uses smoothed high and low streams based on the selected Average Length.
This distinction matters because the selected source changes how reactive the structure engine is.
High/Low mode is more direct and can react more closely to raw price extremes.
Average mode is smoother and can reduce noise by filtering those extremes through an averaging process.
This allows the same reversal-confirmation logic to operate in either a more reactive or more smoothed structural mode. :contentReference {index=10}
2) EXTRA CONFIRMATION BARS
The script includes an Extra Confirmation Bars setting.
This offsets the source references used by the reversal engine and effectively delays how the script interprets the active high/low streams.
That allows the user to add an additional confirmation delay before reversal recognition is evaluated. In practical terms, this can make the script less reactive and help reduce immediate local noise around current bars. :contentReference {index=11} :contentReference {index=12}
3) REVERSAL THRESHOLD MODEL
The script does not confirm reversals from pivots alone.
It uses a threshold model built from three elements:
- ATR,
- a preset percentage factor,
- and a custom absolute minimum reversal value.
The final reversal threshold is the maximum of those elements.
This matters because the script wants to avoid confirming a reversal from movements that are too small to be meaningful under current market conditions.
In the current implementation, the threshold is derived from:
- the selected preset’s ATR multiplier,
- the selected preset’s percentage factor,
- current ATR,
- current close,
- and the Custom Absolute Reversal input.
The threshold is therefore adaptive rather than completely fixed. It reflects both current volatility and a hard minimum floor. :contentReference {index=13}
4) SENSITIVITY PRESET
The script includes a preset-based sensitivity model.
In the version you shared, the available presets are:
- Low
- Very Low
Those presets change the internal ATR multiplier and percentage factor used inside the reversal threshold model.
This means the preset is not just a cosmetic label. It directly changes how selective the reversal engine is.
A stricter preset requires a larger move before a reversal is confirmed.
A less strict preset allows reversals to be confirmed more easily.
That makes the preset one of the key inputs controlling how much structure the script draws. :contentReference {index=14}
5) RUNNING SWING ENGINE
The script maintains a running high and running low state.
When it is monitoring an upward swing, it continues updating the running high until price reverses by at least the required threshold.
When it is monitoring a downward swing, it continues updating the running low until price reverses by at least the required threshold.
Only after that opposite-side movement is large enough does the script confirm the prior extreme as an actual reversal point.
This is the central mechanism that separates the script from simple pivot markers. It does not mark the pivot at the moment it forms. It waits for the reversal to prove itself by moving far enough away. :contentReference {index=15}
6) BULLISH AND BEARISH REVERSAL CLASSIFICATION
Once a pivot is confirmed, the script classifies it as either:
- bullish reversal,
- bearish reversal.
A confirmed low pivot becomes a bullish reversal.
A confirmed high pivot becomes a bearish reversal.
The script then stores:
- the reversal direction,
- the reversal price,
- and the reversal bar.
These values are also used by the panel and optional synthetic path logic. :contentReference {index=16}
7) LAYERED ZONE DISPLAY
When a reversal is confirmed, the script can draw multiple structural layers around that level.
These include:
- an outer box,
- a core box,
- and, if enabled, an optional projected zone.
The core and outer boxes are centered on the confirmed reversal price and scaled using a volatility-aware half-range derived from ATR and relative price size.
This layered approach is important because it gives the user more than a single line. It creates a visually interpretable reversal area with inner and outer structure.
The optional projected zone extends the reversal level forward as a narrower zone based on the user-defined thickness percentage and extension length. This can help the user monitor how price interacts with the reversal area after it has been confirmed. :contentReference {index=17}
8) REVERSAL LINES
The script can draw a glow line and a main reversal line at the confirmed reversal level.
These lines extend forward by the selected Reversal Line Extension setting.
The purpose of these lines is to make the confirmed reversal level easier to monitor after formation. The thicker glow line improves visibility, while the main line provides the clearer structural reference. :contentReference {index=18}
9) REVERSAL LABELS
If enabled, the script places a bullish or bearish reversal label at the confirmed reversal zone.
These labels are not trade commands. They are structural tags that tell the user which kind of reversal the engine has confirmed and where that confirmation occurred according to the script’s logic. :contentReference {index=19}
10) SYNTHETIC PATH
The script can optionally connect one confirmed reversal to the next using a synthetic path line.
This path is not a price forecast and it is not an order-flow model. It is simply a structural visualization that helps the user follow the sequence of confirmed reversals over time.
This can be useful for understanding whether confirmed reversal points are alternating in a way that creates readable turning structure or whether the market is moving more erratically. :contentReference {index=20}
11) STATUS PANEL
The panel summarizes the most recent state of the reversal engine.
Depending on the current chart state, it can show:
- the latest signal type,
- the last signal price,
- bars since the last reversal,
- current threshold value,
- ATR value and active zone count,
- whether the engine is currently monitoring for a bullish or bearish reversal,
- preset and source mode.
This panel is not meant to predict the next reversal. Its purpose is to organize the script’s current state into a readable summary. :contentReference {index=21}
WHAT MAKES THIS SCRIPT ORIGINAL
This script uses familiar building blocks such as:
- pivots,
- ATR,
- price-percentage thresholds,
- smoothed price streams,
- projected zones,
- panel summaries.
Those building blocks are not original by themselves.
The originality of this script is not in inventing a completely new primitive indicator. The originality lies in how those familiar elements are arranged into one confirmed-reversal workflow:
running swing tracking
→ adaptive reversal-threshold calculation
→ delayed pivot confirmation
→ bullish/bearish reversal classification
→ layered reversal visualization
→ optional projected zone extension
→ synthetic path mapping
→ structural status panel
That full sequence is the main reason this script exists as its own publication.
It is not intended to be simply another pivot script, another ATR-based filter, or another generic dashboard. It is specifically a reversal-confirmation framework that combines threshold-based pivot confirmation, layered reversal-zone display, structural sequencing, and chart-state review in one workflow. :contentReference {index=22} :contentReference {index=23}
WHAT APPEARS ON THE CHART
Depending on settings, the chart may display:
- bullish reversal labels,
- bearish reversal labels,
- outer reversal boxes,
- core reversal boxes,
- projected reversal zones,
- reversal level lines,
- synthetic path lines,
- and a status panel.
Users who want a cleaner chart can disable some visual layers and keep only the elements most relevant to their workflow. :contentReference {index=24}
HOW TO USE THE SCRIPT
A practical workflow is:
1. Add the script to a standard candlestick chart.
2. Choose whether you want to work from Average mode or raw High/Low mode.
3. Set the Average Length if Average mode is used.
4. Set ATR Length and Custom Absolute Reversal so the threshold model matches the instrument’s behavior.
5. Choose the preset that gives the level of selectivity you want.
6. Decide whether to show reversal labels, projected zones, and synthetic path.
7. Watch for newly confirmed bullish or bearish reversal areas.
8. Use reversal lines and projected zones to observe how price behaves around those confirmed levels.
9. Use the synthetic path and recent reversal sequence as structural context rather than as a predictive model.
10. Combine the script’s output with your own market framework, confirmation rules, and risk management.
This script is best understood as a structured decision-support and chart-review tool, not as a self-sufficient automated trading solution. :contentReference {index=25} :contentReference {index=26}
SETTINGS REFERENCE
Confirmation Settings
- Extra Confirmation Bars: adds additional confirmation delay to reversal recognition.
Sensitivity
- Preset: controls how selective the reversal engine is by changing the internal threshold model.
Reversal Calculation
- Swing Source: selects Average or High/Low logic.
- Average Length: smoothing length used in Average mode.
- ATR Length: ATR reference length used in the threshold model.
- Minimum Absolute Reversal: hard minimum reversal filter.
Zone Display
- Show Reversal Labels: shows or hides bullish/bearish reversal labels.
- Show Projected Zones: enables or disables forward reversal zones.
- Max Zones: limits how many projected zones remain visible.
- Zone Extension: controls how far projected zones extend.
- Zone Thickness (%): controls the projected zone thickness relative to price.
Reversal Lines
- Reversal Line Extension: controls how far reversal lines extend.
- Max Reversal Levels: limits how many reversal levels remain visible.
- Label Size: controls reversal-label size.
Synthetic Path
- Show Synthetic Path: enables or disables the structural connection path.
- Path Width: controls the width of the synthetic path.
- Path Style: selects solid, dashed, or dotted display.
- Max Path Segments: limits how many path segments remain on the chart.
Colors
- Bullish Color: sets the bullish reversal color.
- Bearish Color: sets the bearish reversal color.
- Synthetic Path Color: sets the synthetic path color.
Status Panel
- Show Status Panel: enables or disables the panel.
- Panel Position: controls panel location. :contentReference {index=27} :contentReference {index=28}
IMPORTANT PRACTICAL NOTES
This script depends heavily on the selected threshold configuration.
If the threshold is too small, reversals may be confirmed too frequently and the chart may become overly sensitive.
If the threshold is too large, reversal confirmations may become very rare and the script may react too slowly for the intended use.
The selected source mode also matters:
- High/Low mode is more reactive,
- Average mode is smoother.
That means the same instrument can produce meaningfully different reversal structures depending on:
- preset,
- ATR length,
- average length,
- confirmation bars,
- and custom absolute reversal settings. :contentReference {index=29}
LIMITATIONS AND SHORTCOMINGS
This script has important limitations:
- It is a reversal-confirmation model, not a complete market-structure system.
- It does not predict reversals before the threshold is reached.
- It only confirms reversals after sufficient opposite-side movement has already occurred.
- It does not include volume, order flow, fair value gaps, or broader context filters.
- Its behavior depends heavily on ATR, preset sensitivity, source mode, and confirmation settings.
- The synthetic path is a structural visualization, not a predictive model.
- Projected zones are chart-analysis aids, not automatic entry or exit instructions.
- Different instruments, sessions, and volatility conditions can materially change how frequently reversals are confirmed.
- No reversal-threshold model can eliminate all false structure or all regime-dependent behavior.
For those reasons, the script should be used as a structured analysis and review framework, not as a promise of future price direction. :contentReference {index=30} :contentReference {index=31}
WHO THIS SCRIPT MAY BE USEFUL FOR
This script may be useful for traders who:
- want a threshold-based reversal confirmation tool,
- want something more selective than a simple pivot marker,
- want layered reversal zones rather than only single reversal lines,
- want to visualize the sequence of confirmed reversals over time,
- want a compact panel that summarizes the current structural state.
It may be less suitable for traders who:
- want a predictive signal tool,
- want a full trade-execution system,
- want a classic supply-and-demand engine,
- want a very minimal chart with no structural overlays.
DISCLAIMER
This script is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
Market conditions change, historical behavior does not guarantee future results, and users should perform their own analysis, validation, and risk management before using the script in live decision-making. Indicator

Heiken Ashi Break of Structure with Market Structure [by Hampeh]Description
This indicator is designed to identify high-probability trading entries by combining the trend-smoothing capabilities of Heiken Ashi candles with the powerful concept of a Break of Structure (BOS).
To enhance signal quality and reduce false signals, it incorporates a mandatory market structure confirmation filter, requiring a Higher Low (HL) to be established before a buy signal and a Lower High (LH) before a sell signal. The indicator automatically provides dynamic Stop Loss levels and generates real-time alerts to streamline the trading process.
How It Works
The indicator's logic is built upon several key components that work together to filter for high-quality setups.
1. Heiken Ashi Foundation The script uses Heiken Ashi candles as its foundation to reduce market noise and provide a clearer visualization of the underlying trend. This smoothing effect makes it easier to identify sustained directional moves.
2. Break of Structure (BOS) Identification The core entry trigger is a Break of Structure, defined as:
Bullish BOS (Buy Signal): The indicator first identifies a downtrend phase (red Heiken Ashi candles). It marks the opening price of this phase (redOpen). A buy signal is triggered when the trend reverses (turns green) and the Heiken Ashi close price breaks above this redOpen level.
Bearish BOS (Sell Signal): Conversely, it identifies an uptrend phase (green Heiken Ashi candles) and marks its opening price (greenOpen). A sell signal is triggered when the trend reverses (turns red) and the Heiken Ashi close price breaks below this greenOpen level.
3. Market Structure Confirmation (HL/LH Filter) This is the key filter that validates the strength of a potential new trend:
Higher Low (HL) for Buys: A buy signal is only considered valid if the low point of the most recent downtrend phase is higher than the low point of the previous downtrend phase. This confirms a classic "Higher Low" market structure, indicating that buying pressure is increasing.
Lower High (LH) for Sells: A sell signal is only considered valid if the high point of the most recent uptrend phase is lower than the high point of the previous uptrend phase. This confirms a "Lower High" structure, suggesting that selling pressure is building.
4. Dynamic Stop Loss Calculation The indicator provides a logical and dynamic Stop Loss for every signal:
For Buy Signals: The Stop Loss is automatically placed just below the lowest low (lowestLow) recorded during the entire preceding downtrend (red candle) phase.
For Sell Signals: The Stop Loss is placed just above the highest high (highestHigh) recorded during the entire preceding uptrend (green candle) phase.
5. Signal Generation and Visualization
A final BUY signal is generated only when all conditions are met: a bullish BOS occurs and it is preceded by a confirmed Higher Low.
A final SELL signal is generated only when all conditions are met: a bearish BOS occurs and it is preceded by a confirmed Lower High.
When a valid signal is triggered, a label appears on the chart displaying the entry price and the calculated Stop Loss. A corresponding alert is also fired with detailed trade information.
Summary of Strategy
In essence, this indicator waits for a pullback (a Heiken Ashi color change), confirms that the pullback respects bullish or bearish market structure (HL or LH), and then triggers an entry upon a Break of Structure in the intended direction.
Disclaimer : This indicator is a tool for technical analysis and does not guarantee profits. Trading financial markets involves significant risk. Always conduct your own research and practice proper risk management.
Indicator

Liquidity Strain Detector [MarkitTick]💡 This indicator provides a specialized method for detecting market anomalies where price movement becomes disconnected from typical volume profiles, signaling potential exhaustion events. By combining statistical analysis of liquidity (price impact) with a directional trend filter, the tool aims to highlight moments of extreme market stress, such as panic selling or euphoric buying, that often precede mean reversions or trend pauses.
● Originality and Utility
Standard volume indicators often look at raw volume levels, which can be misleading during different times of the day or across different assets. This script calculates the efficiency of moving price (Illiquidity) and normalizes it statistically. This allows the trader to see when the market is becoming thin or stressed relative to recent history. It is particularly useful for contrarian traders looking for capitulation points within established trends, offering a unique perspective beyond standard RSI or MACD divergence.
● Methodology
The core mechanism drives a custom Liquidity Engine that performs the following steps:
Price Impact Calculation: It computes the ratio of the True Range to Volume. High values indicate that price is moving significant distances on relatively low volume or that volatility is extreme relative to participation.
Normalization: The raw impact data is smoothed using a logarithmic scale to handle the wide variance in volume data.
Statistical Scoring (Z-Score): The script calculates the Z-Score of this normalized data over a user-defined lookback period. This determines how many standard deviations the current liquidity stress is away from the mean.
Trend Filtering: A standard Exponential Moving Average (EMA) determines the dominant market direction to contextualize the stress signal.
● How to Use
The indicator plots labels on the chart when specific High Stress conditions are met during a trend:
SE (Seller Exhaustion - Green Label): Appears when the market is in a downtrend (price below EMA), the current candle is bearish, and the liquidity stress Z-Score breaches the upper threshold. This suggests panic selling or a liquidity gap down, often marking a temporary bottom or reversal point.
BE (Buyer Exhaustion - Red Label): Appears when the market is in an uptrend (price above EMA), the current candle is bullish, and the liquidity stress Z-Score breaches the upper threshold. This suggests a melt-up or buying climax into thin liquidity, often preceding a pullback.
● Inputs
Trend Filter Length: The period for the EMA used to determine the baseline trend direction.
Statistical Lookback: The number of bars used to calculate the mean and standard deviation for the Z-Score.
Stress Threshold (Sigma): The Z-Score value required to trigger a high-stress signal. Higher values result in fewer, more extreme signals.
● Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

Tristan's Tri-band StrategyTristan's Tri-band Strategy - Confluence Trading System
Strategy Overview:
This strategy combines three powerful technical indicators - RSI, Williams %R, and Bollinger Bands - into a single visual trading system. Instead of cluttering your chart with separate indicator panels, all signals are displayed directly on the price chart using color-coded gradient overlays, making it easy to spot high-probability trade setups at a glance.
How It Works:
The strategy identifies trading opportunities when multiple indicators align (confluence), suggesting strong momentum shifts:
📈 Long Entry Signals:
RSI drops to 30 or below (oversold)
Williams %R reaches -80 to -100 range (oversold)
Price touches or breaks below the lower Bollinger Band
All three conditions must align during your selected trading session
📉 Short Entry Signals:
RSI rises to 70 or above (overbought)
Williams %R reaches 0 to -20 range (overbought)
Price touches or breaks above the upper Bollinger Band
All three conditions must align during your selected trading session
Visual Indicators:
(faint) Green gradients below candles = Bullish oversold conditions (buying opportunity)
(faint) Red/Orange gradients above candles = Bearish overbought conditions (selling opportunity)
Stacked/brighter gradients = Multiple indicators confirming the same signal (higher probability) will stack and show brighter / less faint
Blue Bollinger Bands = Volatility boundaries and mean reversion zones
Exit Strategy:
Long trades exit when price reaches the upper Bollinger Band OR RSI becomes overbought (≥70)
Short trades exit when price reaches the lower Bollinger Band OR RSI becomes oversold (≤30)
Key Features:
✅ Session Filters - Trade only during NY (9:30 AM-4 PM), London (3 AM-11:30 AM), or Asia (7 PM-1 AM EST) sessions
✅ No Repainting - Signals are confirmed on candle close for realistic backtesting and live trading
✅ Customizable Parameters - Adjust RSI levels, BB standard deviations, Williams %R periods, and gradient visibility
✅ Visual Clarity - See all three indicators at once without switching between panels
✅ Built-in Alerts - Get notified when entry and exit conditions are met
How to Use Effectively:
Choose Your Trading Session - For day trading US stocks, enable only the NY session. For forex or 24-hour markets, select the sessions that match your schedule.
Look for Gradient Stacking - The brightest, most visible gradients occur when both RSI and Williams %R signal together. These are your highest-probability setups.
Confirm with Price Action - Wait for the candle to close before entering. The strategy enters on the next bar's open to prevent repainting.
Respect the Bollinger Bands - Entries occur at the outer bands (price extremes), and exits occur at the opposite band or when momentum reverses.
Backtest First - Test the strategy on your preferred instruments and timeframes. Works best on liquid assets with clear trends and mean reversion patterns (stocks, major forex pairs, indices).
Adjust Gradient Visibility - Use the "Gradient Strength" slider (lower = more visible) to make signals stand out on your chart style.
Best Timeframes: 5-minute to 1-hour charts for intraday trading; 4-hour to daily for swing trading (I have also found the 3 hour timeframe to work really well for some stocks / ETFs.)
Best Markets: Liquid instruments with volatility - SPY, QQQ, major stocks, EUR/USD, GBP/USD, major indices
Risk Management: This is a mean reversion strategy that works best in ranging or choppy markets. In strong trends, signals may appear less frequently. Always use proper position sizing and stop losses based on your risk tolerance.
----------------------------------------------
Note: Past performance does not guarantee future results. This strategy is provided for educational purposes. Always backtest thoroughly and practice proper risk management before live trading.RetryClaude can make mistakes. Please double-check responses. Sonnet 4.5 Strategy

v2.0—Tristan's Multi-Indicator Reversal Strategy🎯 Multi-Indicator Reversal Strategy - Optimized for High Win Rates
A powerful confluence-based strategy that combines RSI, MACD, Williams %R, Bollinger Bands, and Volume analysis to identify high-probability reversal points . Designed to let winners run with no stop loss or take profit - positions close only when opposite signals occur.
Also, the 3 hour timeframe works VERY well—just a lot less trades.
📈 Proven Performance
This strategy has been backtested and optimized on multiple blue-chip stocks with 80-90%+ win rates on 1-hour timeframes from Aug 2025 through Oct 2025:
✅ V (Visa) - Payment processor
✅ MSFT (Microsoft) - Large-cap tech
✅ WMT (Walmart) - Retail leader
✅ IWM (Russell 2000 ETF) - Small-cap index
✅ NOW (ServiceNow) - Enterprise software
✅ WM (Waste Management) - Industrial services
These stocks tend to mean-revert at extremes, making them ideal candidates for this reversal-based approach. I only list these as a way to show you the performance of the script. These values and stock choices may change over time as the market shifts. Keep testing!
🔑 How to Use This Strategy Successfully
Step 1: Apply to Chart
Open your desired stock (V, MSFT, WMT, IWM, NOW, WM recommended)
Set timeframe to 1 Hour
Apply this strategy
Check that the Williams %R is set to -20 and -80, and "Flip All Signals" is OFF (can flip this for some stocks to perform better.)
Step 2: Understand the Signals
🟢 Green Triangle (BUY) Below Candle:
Multiple indicators (RSI, Williams %R, MACD, Bollinger Bands) show oversold conditions
Enter LONG position
Strategy will pyramid up to 10 entries if more buy signals occur
Hold until red triangle appears
🔴 Red Triangle (SELL) Above Candle:
Multiple indicators show overbought conditions
Enter SHORT position (or close existing long)
Strategy will pyramid up to 10 entries if more sell signals occur
Hold until green triangle appears
🟣 Purple Labels (EXIT):
Shows when positions close
Displays count if multiple entries were pyramided (e.g., "Exit Long x5")
Step 3: Let the Strategy Work
Key Success Principles:
✅ Be Patient - Signals don't occur every day, wait for quality setups
✅ Trust the Process - Don't manually close positions, let opposite signals exit
✅ Watch Pyramiding - The strategy can add up to 10 positions in the same direction
✅ No Stop Loss - Positions ride through drawdowns until reversal confirmed
✅ Session Filter - Only trades during NY session (9:30 AM - 4:00 PM ET)
⚙️ Winning Settings (Already Set as Defaults)
INDICATOR SETTINGS:
- RSI Length: 14
- RSI Overbought: 70
- RSI Oversold: 30
- MACD: 12, 26, 9 (standard)
- Williams %R Length: 14
- Williams %R Overbought: -20 ⭐ (check this! And adjust to your liking)
- Williams %R Oversold: -80 ⭐ (check this! And adjust to your liking)
- Bollinger Bands: 20, 2.0
- Volume MA: 20 periods
- Volume Multiplier: 1.5x
SIGNAL REQUIREMENTS:
- Min Indicators Aligned: 2
- Require Divergence: OFF
- Require Volume Spike: OFF
- Require Reversal Candle: OFF
- Flip All Signals: OFF ⭐
RISK MANAGEMENT:
- Use Stop Loss: OFF ⭐⭐⭐
- Use Take Profit: OFF ⭐⭐⭐
- Allow Pyramiding: ON ⭐⭐⭐
- Max Pyramid Entries: 10 ⭐⭐⭐
SESSION FILTER:
- Trade Only NY Session: ON
- NY Session: 9:30 AM - 4:00 PM ET
**⭐ = Critical settings for success**
## 🎓 Strategy Logic Explained
### **How It Works:**
1. **Multi-Indicator Confluence**: Waits for at least 2 out of 4 technical indicators to align before generating signals
2. **Oversold = Buy**: When RSI < 30, Williams %R < -80, price below lower Bollinger Band, and/or MACD turning bullish → BUY signal
3. **Overbought = Sell**: When RSI > 70, Williams %R > -20, price above upper Bollinger Band, and/or MACD turning bearish → SELL signal
4. **Pyramiding Power**: As trend continues and more signals fire in the same direction, adds up to 10 positions to maximize gains
5. **Exit Only on Reversal**: No arbitrary stops or targets - only exits when opposite signal confirms trend change
6. **Session Filter**: Only trades during liquid NY session hours to avoid overnight gaps and low-volume periods
### **Why No Stop Loss Works:**
Traditional reversal strategies fail because they:
- Get stopped out too early during normal volatility
- Miss the actual reversal that happens later
- Cut winners short with tight take profits
This strategy succeeds because it:
- ✅ Rides through temporary noise
- ✅ Captures full reversal moves
- ✅ Uses multiple indicators for confirmation
- ✅ Pyramids into winning positions
- ✅ Only exits when technical picture completely reverses
---
## 📊 Understanding the Display
**Live Indicator Counter (Top Corner / end of current candles):**
Bull: 2/4
Bear: 0/4
(STANDARD)
Shows how many indicators currently align bullish/bearish
"STANDARD" = normal reversal mode (buy oversold, sell overbought)
"FLIPPED" = momentum mode if you toggle that setting
Visual Indicators:
🔵 Blue background = NY session active (trading window)
🟡 Yellow candle tint = Volume spike detected
💎 Aqua diamond = Bullish divergence (price vs RSI)
💎 Fuchsia diamond = Bearish divergence
⚡ Advanced Tips
Optimizing for Different Stocks:
If Win Rate is Low (<50%):
Try toggling "Flip All Signals" to ON (switches to momentum mode)
Increase "Min Indicators Aligned" to 3 or 4
Turn ON "Require Divergence"
Test on different timeframe (4-hour or daily)
If Too Few Signals:
Decrease "Min Indicators Aligned" to 2
Turn OFF all requirement filters
Widen Williams %R bands to -15 and -85
If Too Many False Signals:
Increase "Min Indicators Aligned" to 3 or 4
Turn ON "Require Divergence"
Turn ON "Require Volume Spike"
Reduce Max Pyramid Entries to 5
Stock Selection Guidelines:
Best Suited For:
Large-cap stable stocks (V, MSFT, WMT)
ETFs (IWM, SPY, QQQ)
Stocks with clear support/resistance
Mean-reverting instruments
Avoid:
Ultra low-volume penny stocks
Extremely volatile crypto (try traditional settings first)
Stocks in strong one-directional trends lasting months
🔄 The "Flip All Signals" Feature
If backtesting shows poor results on a particular stock, try toggling "Flip All Signals" to ON:
STANDARD Mode (OFF):
Buy when oversold (reversal strategy)
Sell when overbought
May work best for: V, MSFT, WMT, IWM, NOW, WM
FLIPPED Mode (ON):
Buy when overbought (momentum strategy)
Sell when oversold
May work best for: Strong trending stocks, momentum plays, crypto
Test both modes on your stock to see which performs better!
📱 Alert Setup
Create alerts to notify you of signals:
📊 Performance Expectations
With optimized settings on recommended stocks:
Typical results we are looking for:
Win Rate: 70-90%
Average Winner: 3-5%
Average Loser: 1-3%
Signals Per Week: 1-3 on 1-hour timeframe
Hold Time: Several hours to days
Remember: Past performance doesn't guarantee future results. Always use proper risk management. Strategy

Tristan's Multi-Indicator Reversal StrategyMulti-Indicator Reversal Strategy - Buy Low, Sell High
A comprehensive reversal detection system that combines multiple proven technical indicators to identify high-probability entry points for catching reversals at market extremes.
📊 Strategy Overview
This strategy is designed for traders who want to buy at lows and sell at highs by detecting when stocks are overextended and ready to reverse. It works by requiring multiple technical indicators to align before generating a signal, significantly reducing false entries.
Best Used On:
Timeframe: 1-hour charts (also works on 15min, 30min, 4hour)
Session: NY Trading Session (9:30 AM - 4:00 PM ET)
Assets: Stocks, ETFs, Crypto (particularly volatile tech stocks like ZM, TSLA, AAPL)
Trading Style: Swing trading, Intraday reversals
🔧 Technical Components
The strategy combines FIVE powerful technical indicators:
1. RSI (Relative Strength Index)
2. MACD (Moving Average Convergence Divergence)
3. Williams %R
4. Bollinger Bands
5. Volume Analysis
6. Divergence Detection (Optional)
🎨 Visual Signals
Entry Signals:
🟢 Green Triangle (below candle) = BUY LONG signal
🔴 Red Triangle (above candle) = SELL SHORT signal
Exit Signals:
🟣 Purple Label = Position closed (shows "x2", "x3" if multiple entries)
Additional Indicators:
💎 Aqua Diamond = Bullish divergence detected
💎 Fuchsia Diamond = Bearish divergence detected
🔵 Blue Background = NY Session active
🟡 Yellow Bar Tint = Volume spike detected
⚪ Small Circles = Near-signal conditions (2+ indicators aligned)
Live Counter:
Top corner shows: "Bull: X/4" and "Bear: X/4"
Indicates how many indicators currently align
⚙️ How to Use This Strategy
For Beginners (More Signals):
Set "Min Indicators Aligned" to 2
Turn OFF "Require Divergence"
Turn OFF "Require Volume Spike"
Turn OFF "Require Reversal Candle Pattern"
Keep "Allow Multiple Entries" OFF
This gives you more frequent signals to learn from.
For Advanced Traders (High Probability):
Set "Min Indicators Aligned" to 3 or 4
Turn ON "Require Divergence"
Turn ON "Require Volume Spike"
Turn ON "Require Reversal Candle Pattern"
Adjust stop loss to your risk tolerance
This filters for only the highest-quality setups.
Recommended Settings for 1-Hour Charts:
Min Indicators Aligned: 3
Stop Loss: 2.5%
Take Profit: 5.0%
RSI Length: 14
Williams %R Length: 14
Volume Multiplier: 1.5x
Session: NY only (for stocks)
BUY SIGNAL generated when:
2-4 indicators show oversold/bullish conditions:
RSI < 30 and turning up
MACD crossing bullish or histogram positive
Williams %R < -80 and turning up
Price at/below lower Bollinger Band
Optional confirmations (if enabled):
Bullish divergence detected
Volume spike present
Bullish reversal candle pattern
Session filter: Signals only during NY trading hours
SELL SIGNAL Generated When:
2-4 indicators show overbought/bearish conditions:
RSI > 70 and turning down
MACD crossing bearish or histogram negative
Williams %R > -20 and turning down
Price at/above upper Bollinger Band
Optional confirmations (if enabled):
Bearish divergence detected
Volume spike present
Bearish reversal candle pattern
🛡️ Risk Management Features
Automatic Stop Loss: Protects capital (default 2.5%)
Take Profit Target: Locks in gains (default 5.0%)
Pyramiding Control: Toggle to prevent position stacking
Session Filter: Avoids overnight risk and low-liquidity periods
Position Flipping: Automatically reverses when opposite signal appears
💡 Best Practices
✅ DO:
Wait for candle close before entering (built into strategy)
Use on volatile assets with clear trends
Combine with your own analysis and risk management
Backtest on your specific assets and timeframes
Start with paper trading to learn the signals
Adjust indicator requirements based on market conditions
❌ DON'T:
Use on very low timeframes (<5 min) without adjustment
Ignore the session filter on stocks
Use maximum leverage - these are reversal trades
Trade during major news events or earnings
Expect 100% win rate - focus on risk/reward ratio
📊 Performance Notes
This strategy prioritizes quality over quantity. With default settings, you may see:
2-5 signals per week on 1-hour charts
Higher win rate with stricter settings (3-4 indicators aligned)
Best performance during trending markets with clear reversals
Reduced performance in choppy, sideways markets
Tip: Adjust "Min Indicators Aligned" based on market conditions:
Trending markets: Use 3-4 (fewer but stronger signals)
Range-bound markets: Use 2 (more signals, but watch for false breakouts)
Strategy

TriAnchor Elastic Reversion US Market SPY and QQQ adaptedSummary in one paragraph
Mean-reversion strategy for liquid ETFs, index futures, large-cap equities, and major crypto on intraday to daily timeframes. It waits for three anchored VWAP stretches to become statistically extreme, aligns with bar-shape and breadth, and fades the move. Originality comes from fusing daily, weekly, and monthly AVWAP distances into a single ATR-normalized energy percentile, then gating with a robust Z-score and a session-safe gap filter.
Scope and intent
• Markets: SPY QQQ IWM NDX large caps liquid futures liquid crypto
• Timeframes: 5 min to 1 day
• Default demo: SPY on 60 min
• Purpose: fade stretched moves only when multi-anchor context and breadth agree
• Limits: strategy uses standard candles for signals and orders only
Originality and usefulness
• Unique fusion: tri-anchor AVWAP energy percentile plus robust Z of close plus shape-in-range gate plus breadth Z of SPY QQQ IWM
• Failure mode addressed: chasing extended moves and fading during index-wide thrusts
• Testability: each component is an input and visible in orders list via L and S tags
• Portable yardstick: distances are ATR-normalized so thresholds transfer across symbols
• Open source: method and implementation are disclosed for community review
Method overview in plain language
Base measures
• Range basis: ATR(length = atr_len) as the normalization unit
• Return basis: not used directly; we use rank statistics for stability
Components
• Tri-Anchor Energy: squared distances of price from daily, weekly, monthly AVWAPs, each divided by ATR, then summed and ranked to a percentile over base_len
• Robust Z of Close: median and MAD based Z to avoid outliers
• Shape Gate: position of close inside bar range to require capitulation for longs and exhaustion for shorts
• Breadth Gate: average robust Z of SPY QQQ IWM to avoid fading when the tape is one-sided
• Gap Shock: skip signals after large session gaps
Fusion rule
• All required gates must be true: Energy ≥ energy_trig_prc, |Robust Z| ≥ z_trig, Shape satisfied, Breadth confirmed, Gap filter clear
Signal rule
• Long: energy extreme, Z negative beyond threshold, close near bar low, breadth Z ≤ −breadth_z_ok
• Short: energy extreme, Z positive beyond threshold, close near bar high, breadth Z ≥ +breadth_z_ok
What you will see on the chart
• Standard strategy arrows for entries and exits
• Optional short-side brackets: ATR stop and ATR take profit if enabled
Inputs with guidance
Setup
• Base length: window for percentile ranks and medians. Typical 40 to 80. Longer smooths, shorter reacts.
• ATR length: normalization unit. Typical 10 to 20. Higher reduces noise.
• VWAP band stdev: volatility bands for anchors. Typical 2.0 to 4.0.
• Robust Z window: 40 to 100. Larger for stability.
• Robust Z entry magnitude: 1.2 to 2.2. Higher means stronger extremes only.
• Energy percentile trigger: 90 to 99.5. Higher limits signals to rare stretches.
• Bar close in range gate long: 0.05 to 0.25. Larger requires deeper capitulation for longs.
Regime and Breadth
• Use breadth gate: on when trading indices or broad ETFs.
• Breadth Z confirm magnitude: 0.8 to 1.8. Higher avoids fighting thrusts.
• Gap shock percent: 1.0 to 5.0. Larger allows more gaps to trade.
Risk — Short only
• Enable short SL TP: on to bracket shorts.
• Short ATR stop mult: 1.0 to 3.0.
• Short ATR take profit mult: 1.0 to 6.0.
Properties visible in this publication
• Initial capital: 25000USD
• Default order size: Percent of total equity 3%
• Pyramiding: 0
• Commission: 0.03 percent
• Slippage: 5 ticks
• Process orders on close: OFF
• Bar magnifier: OFF
• Recalculate after order is filled: OFF
• Calc on every tick: OFF
• request.security lookahead off where used
Realism and responsible publication
• No performance claims. Past results never guarantee future outcomes
• Fills and slippage vary by venue
• Shapes can move during bar formation and settle on close
• Standard candles only for strategies
Honest limitations and failure modes
• Economic releases or very thin liquidity can overwhelm mean-reversion logic
• Heavy gap regimes may require larger gap filter or TR-based tuning
• Very quiet regimes reduce signal contrast; extend windows or raise thresholds
Open source reuse and credits
• None
Strategy notice
Orders are simulated by PulseWire on standard candles. request.security uses lookahead off where applicable. Non-standard charts are not supported for execution.
Entries and exits
• Entry logic: as in Signal rule above
• Exit logic: short side optional ATR stop and ATR take profit via brackets; long side closes on opposite setup
• Risk model: ATR-based brackets on shorts when enabled
• Tie handling: stop first when both could be touched inside one bar
Dataset and sample size
• Test across your visible history. For robust inference prefer 100 plus trades. Strategy

Indicator

Indicator

Rally Base Drop Signals [LuxAlgo]The Rally Base Drop indicator is built around the Supply and Demand (SND) concept known as "Rally, Base & Drop" Candles. These candle types are commonly used in this trading approach to identify price structure.
This indicator highlights bars by labeling them as "Rally," "Drop," or "Base" candles. It also identifies specific sequence patterns formed by these candles.
🔶 USAGE
The Rally, Base, Drop candlestick approach is a straightforward method for identifying price action structure.
Candles are categorized into three types, which are then analyzed to understand market structure and Supply/Demand levels.
Rally: Two or more consecutive bullish candles.
Drop: Two or more consecutive bearish candles.
Base: A single bullish or bearish candle that breaks the previous trend.
🔹 Rally & Drop Candles
These candles show clear directional momentum and signal whether demand or supply is dominating. They are helpful when identifying trends, as they highlight strong price movement.
🔹 Base Candles
In most SND strategies, "Base" can have several interpretations.
Typically, base candles represent short periods of consolidation that test the trend before continuation. They can also be found at turning points (tops or bottoms).
For this indicator, a base candle is simply one that does not follow the direction of nearby candles or is where a Drop and Rally meet. Multiple base candles often reflect indecision in the market, suggesting a temporary balance between buyers and sellers.
🔹 Reversal Sequences
Rally-Base-Drop (RBD)
Drop-Base-Rally (DBR)
In Supply and Demand analysis, these sequences are considered reversals. They mark zones where buyer and seller activity has shifted, which can lead to future price reactions. These areas are known as "Supply or Demand Zones" and are often revisited by price, making them useful for trade setups.
🔹 Continuation Sequences
Rally-Base-Rally (RBR)
Drop-Base-Drop (DBD)
Continuation sequences show a brief pause in the trend, followed by further movement in the same direction. In SND terms, they represent zones where orders accumulate before a continuation move. These are typically used to join ongoing trends, as they indicate sustained interest from buyers or sellers.
🔶 DETAILS
🔹 Color Modes
The script includes three color modes. "No Color" is self-explanatory, while the other two options relate to how candles are detected.
A Rally or Drop requires at least two candles to be successfully identified. As a result, detection occurs on the second candle. However, the full Rally or Drop includes both candles.
Two coloring methods are available:
Full Color: Once a Rally or Drop is detected (on the second bar), both candles are colored, starting from the first. This reflects the full pattern.
Color on Detection: Only the second candle (where detection occurs) is colored. This avoids changing past bars and may be useful for live analysis.
🔶 SETTINGS
Sequences: Select which sequences to display on the chart.
Bar Color Logic: Choose the preferred bar coloring method.
Indicator

Internal Pivot Pattern [LuxAlgo]The Internal Pivot Pattern indicator is a novel method allowing traders to detect pivots without excessive delay on the chart timeframe, by using the lower timeframe data from a candle.
It features custom colors for candles and zigzag lines to help identify trends. A dashboard showing the accuracy of the pattern is also included.
🔶 USAGE
We define a pivot as the occurrence where the middle candle over a specific interval (for example, the most recent 21 bars) is the highest (pivot high) or the lowest (pivot low). This method commonly allows for identifying swing highs/lows on a trader's chart; however, this pattern can only be identified after a specific number of bars has been formed, rendering this pattern useless for real-time detection of swing highs/lows.
This indicator uses a different approach, removing the need to wait for candles to form on the user chart; instead, we check the lower timeframe data of the current candle and evaluate for the presence of a pivot given the internal data, effectively providing pivot confirmation at the candle close.
An internal pivot low pattern is indicative of a potential uptrend, while an internal pivot high is indicative of a potential downtrend.
Candles are colored based on the last internal pivot detected, with blue candle colors indicating that the most recent internal pivot is a pivot low, indicating an uptrend, while an orange candle color indicates that the most recent internal pivot is a pivot high, indicating a downtrend.
🔹 Timeframes
The timeframe setting allows controlling the amount of lower timeframe data to consider for the internal pivot detection. This setting must be lower than the user's chart timeframe.
Using a timeframe significantly lower than the user chart timeframe will evaluate a larger amount of data for the pivot detection, making it less frequent, while using a timeframe closer to the chart timeframe can make the internal pivot detection more frequent, and more prone to false positives.
🔹 Accuracy Dashboard
The Accuracy Dashboard allows evaluating how accurate the detected patterns are as a percentage, with a pattern being judged accurate if subsequent patterns are detected higher or lower than a previous one.
For example, an internal pivot low is judged accurate if the following internal pivot is higher than it, indicating that higher highs have been made.
This dashboard can be useful to determine the timeframe setting to maximize the respective internal pivot accuracy.
🔶 SETTINGS
Timeframe: Timeframe for detecting internal swings
Accuracy Dashboard: Enable or disable the Accuracy Dashboard.
🔹 Style
Internal Pivot High: Color of the dot displayed upon the detection of an internal pivot high
Internal Pivot Low: Color of the dot displayed upon the detection of an internal pivot low
Zig-Zag: Color of the zig-zag segments connecting each internal pivot
Candles: Enable candle coloring, with control over the color of the candles highlighting the detected trend
Indicator
