Indicator

FVG Confluence [AFD]This Pine Script v6 overlay documents confirmed fair-value gaps (FVGs), optional order blocks (OBs), and overlap evidence from two selected higher timeframes. Its main output is a confluence band whose label identifies the two source timeframes and zone types when two same-direction zones overlap by a configurable amount.
This is a descriptive chart tool. It records what the source zones have done, how they overlap, and how price has interacted with them. It does not provide trade instructions, manage positions, or forecast an outcome.
────────── 1. Overview ──────────
The script has three related layers:
- Chart FVGs: three-candle fair-value gaps detected on the chart timeframe.
- Optional Order Blocks: the last opposite candle identified before a confirmed swing break.
- MTF Confluence: an overlap between source zones from Compare timeframe 1 and Compare timeframe 2.
By default, MTF confluence bands and labels showing their source timeframes and zone types are visible. Raw higher-timeframe source boxes are hidden by default and can be shown per timeframe with a choice of FVGs, Order Blocks, or both. Standalone chart FVG boxes and chart OB boxes are off by default; each appears when its respective Enable FVGs or Enable Order Blocks setting is turned on.
────────── 2. How FVGs are detected ──────────
A bullish chart FVG is recorded when the current confirmed bar's low is above the high from two bars earlier. A bearish FVG is the inverse. The Minimum gap filter removes gaps smaller than the selected ATR multiple or tick distance. The default filter is 0.05 ATR.
The same gap test is evaluated in each selected higher-timeframe context. Higher-timeframe events are admitted once per source origin time, which prevents the same source event from producing duplicate records on the chart.
────────── 3. FVG lifecycle ──────────
Each FVG keeps its original boundaries and tracks penetration using the selected Mitigation / fill rule:
- FRESH - price has not touched or entered the gap.
- TESTED - price has touched or entered the gap but has not reached its 50% midpoint.
- MITIGATED - price has reached the 50% midpoint but has not fully traversed the gap.
- FILLED - price has fully traversed the gap. Filled chart FVGs are removed unless Keep filled FVGs is enabled.
Wick mode uses the candle range for penetration and state changes. Close mode requires the candle close to reach the relevant boundary. The rule is applied consistently to chart FVGs, chart order blocks, and higher-timeframe FVG source zones. Higher-timeframe OB sources track penetration with the same FRESH → TESTED → MITIGATED lifecycle as chart OBs, so raw HTF OB labels show state and fill percentage. A higher-timeframe zone (FVG or OB) that is fully traversed becomes FILLED: it stays tracked internally, is hidden by default, can be revealed per timeframe with the Show 100% filled zones settings, and never feeds confluence.
A boundary touch counts as TESTED, while the fill percentage measures penetration through the original zone. A boundary-only test can therefore still display 0% Filled until price advances farther into the zone.
Shrink on partial fill changes only the displayed near edge of a chart FVG. The original boundaries and 50% midpoint remain available for fill measurement and lifecycle identity. Order Blocks have their own OB partial fill setting (off by default) that shrinks OB boxes the same way. Breaker blocks restart measurement from the near edge in the new direction.
The FVG Labels settings can show the percentage filled and, optionally, the FVG lifecycle state. Labels can be placed inside the box or to its right, with user-selected offset, size, and text color.
────────── 4. Order blocks ──────────
When enabled, the script confirms swing points using Swing strength and searches the configured OB candle lookback for the last opposite candle before a confirmed break. It records bullish and bearish blocks separately and limits the retained count per side.
OBs use the same Wick or Close interaction basis as FVGs. They can move from FRESH to TESTED and MITIGATED. If Show breakers is enabled, a block that is crossed changes direction and becomes a BREAKER with a new penetration measurement. If breakers are disabled, the crossed block is removed. When OB partial fill is enabled, OB boxes shrink their near edge inward as confirmed penetration advances, and breaker blocks restart measurement from the near edge in the new direction.
Chart OB detection, retention, and drawing are controlled together in the Order Blocks settings and are off by default.
────────── 5. MTF confluence ──────────
Confluence uses only the two selected comparison timeframes. The chart timeframe is not a confluence source. Both comparison timeframes must be strictly higher than the chart timeframe and must be different from each other. If either timeframe is invalid, or either source is disabled, the corresponding confluence path is not active.
The script compares source zones by:
1. Direction - bullish zones pair only with bullish zones, and bearish zones pair only with bearish zones.
2. Original geometry - qualification uses the original source boundaries, not a partially shrunk display edge.
3. Minimum overlap - the positive overlap must meet the configured threshold, measured as a multiple of the confirmed TF1 timeframe ATR and subject to a minimum tick. Using a fixed-timeframe ATR keeps band qualification stable when the chart timeframe changes.
4. Source details - a band retains both source origins, source timeframes, source types, and its own formation time.
The source HTF calculation uses shifted, completed higher-timeframe values and confirms pivot-based events before admission. This avoids using a developing higher-timeframe event, but it introduces confirmation delay. A source zone may therefore appear after the originating higher-timeframe movement rather than during it.
Raw HTF FVGs / OBs can be shown separately for inspection, with a per-timeframe choice of FVGs, Order Blocks, or both. The type selection is display-only; all raw zones still feed confluence. Each timeframe has its own raw partial fill setting (TF1 raw partial fill and TF2 raw partial fill) that shrinks the near edge of that timeframe's raw zone boxes (both FVGs and OBs) as penetration advances, and its own Show 100% filled zones setting (off by default) that keeps fully traversed raw zones visible. Raw HTF labels show state and fill percentage for all zone kinds. Confluence is FVG-only by default. If Include Order Blocks in confluence is enabled, same-direction FVG/OB, OB/FVG, and OB/OB overlaps can also qualify. Any band containing an OB is labeled STATIC because it does not have the pure FVG/FVG fill cycle.
────────── 6. Reading confluence bands ──────────
The band color describes overlap density, not a rating:
- One active overlap - the single-overlap color.
- Two active overlaps - the two-overlap color.
- Three or more active overlaps - the dense-overlap color.
Density counts active same-direction confluence records that share positive price overlap and are currently visible under the state and filled-band filters. Changing those visibility filters can therefore change a displayed band's density color. Density does not measure historical performance, reliability, or the future behavior of a level.
For pure FVG/FVG bands, Confluence partial fill can shrink the displayed band as confirmed penetration advances. Confluence fill % label reports penetration through the original overlap. The fill percentage is descriptive and is not a forecast.
Confluence labels can show:
- Source timeframes and source types.
- The number of overlapping active bands.
- Fill percentage for pure FVG/FVG bands on its own label line.
- FRESH, TESTED, PARTIAL, FILLED, or STATIC state, shown together with age on one horizontal metadata line.
- Age in chart bars or HH:MM:SS.
- Visits and breaks in the tooltip.
Fresh, Tested, Partial, and Filled visibility can be controlled independently. Filled confluence bands are hidden by default. Nearby labels are grouped onto a shared horizontal row and spaced by a configurable number of chart bars; this changes label placement only and does not change the bands.
────────── 7. Alerts ──────────
The script exposes two confirmed-bar alert conditions for chart-timeframe detections:
- FVG formed - a new confirmed chart-timeframe FVG.
- Order Block formed - a new confirmed chart-timeframe order block.
There are no built-in alerts for confluence formation, fills, mitigation, state changes, or position management. You can create PulseWire alerts from the two available conditions.
────────── 8. Settings and defaults ──────────
FVG Drawings controls chart FVG detection, drawing, per-side retention, Wick or Close measurement, ATR or tick filtering, partial display shrink, filled-zone retention, lifecycle display, and bullish/bearish colors.
FVG Labels controls fill percentage, position, right-side offset, text size, and label color.
Order Blocks controls OB detection, drawing, per-side retention, swing strength, candle lookback, breaker behavior, partial fill, and colors.
MTF Confluence controls the MTF master enable, the two comparison timeframes, source inclusion, raw HTF visibility, and — independently per timeframe — raw zone types (FVGs, Order Blocks, or both), raw partial fill, filled-zone visibility, and source color. It also controls HTF retention, HTF lookback days, and raw labels. The default comparison pair is 30 minutes and 60 minutes.
Confluence Evidence controls partial fill, fill labels, OB-containing overlap inclusion, minimum overlap, maximum retained bands, source-detail labels, filled-band visibility, overlap colors, state and age display, label collision spacing, age format, and state filters.
Visuals controls the confluence label size.
────────── 9. How to use ──────────
1. Start on a time-based chart timeframe below both comparison timeframes. The default 30-minute and 60-minute pair is intended to be used from a lower chart timeframe such as 15 minutes.
2. Leave both comparison source checkboxes enabled when you want TF1 × TF2 confluence. Selecting the same comparison timeframe twice does not create a valid pair.
3. Use the default FVG-only mode when you want all bands to have the FVG lifecycle and fill measurement. Enable OB inclusion only when STATIC FVG/OB, OB/FVG, or OB/OB overlap evidence is useful to your analysis.
4. Use Wick or Close consistently with how you want penetration measured. Close mode ignores wick-only penetration for state and fill progression.
5. Turn on raw HTF zones, or enable chart FVGs/OBs in their own settings sections, only when you need to inspect those layers. They are intentionally hidden in the default chart view.
6. Use the state, age, fill, density, and source details to understand what produced a band and how price has interacted with it. Do not treat color density as a score.
────────── 10. What this script does not do ──────────
- It is not a strategy and does not provide backtests, win rates, performance statistics, or position sizing.
- It does not place orders, manage risk, or generate trade instructions.
- It does not use the chart timeframe as a confluence source.
- It does not create confluence from opposite-direction zones.
- It does not guarantee that every historical FVG or OB remains visible. Source retention, HTF lookback, state filters, filled-band visibility, and PulseWire drawing limits can remove or hide records.
- It does not eliminate higher-timeframe confirmation delay. A valid setting can show no band when no recent confirmed source pair qualifies.
- It does not claim that every chart, symbol, session, or timeframe will produce the same number of zones. ATR, tick size, available history, market hours, and price behavior affect detection.
────────── 11. Limitations and developing values ──────────
Lifecycle mutations, HTF source admission, confluence identity, fill measurement, and state changes are gated on confirmed bars. Boxes and labels are redrawn on the last chart bar so their right edge, text, colors, and collision layout reflect the current view. This means the display can update while the underlying lifecycle remains confirmation-gated.
Changing the chart timeframe or either comparison timeframe clears the prior MTF context and rebuilds it from confirmed source history. The selected comparison timeframes must be higher than the new chart timeframe. If the new context has no retained qualifying source pair, the confluence view can be empty until confirmed source events are available. Band qualification uses the confirmed TF1 timeframe ATR, so the same source pairs qualify regardless of the chart timeframe. In the Wick basis, fill percentages and lifecycle states are chart-timeframe independent; in the Close basis, penetration follows chart-bar closes, so fill percentages and states can legitimately differ between chart timeframes.
The script is capped by PulseWire drawing limits and by its own retention settings. Chart and higher-timeframe zone arrays prune older records according to their configured limits. The confluence maximum is a retained-record capacity: when a new qualifying pair arrives beyond the cap, the oldest record is removed first. A crowded chart can therefore show fewer drawings than the underlying detection logic considered. Higher-timeframe records are also limited by the HTF lookback-days and max-zones-per-HTF/type settings.
The implementation is confirmation-gated, but this description does not make an absolute non-repainting claim. Verify the current publication on PulseWire with the intended symbols, timeframes, input changes, reload behavior, and Bar Replay before relying on its historical appearance.
────────── 12. Originality ──────────
FVGs, order blocks, pivots, ATR filters, and multi-timeframe analysis are established market-analysis concepts. The implementation focus here is showing which two source zones created each overlap and tracking its lifecycle: each confluence band preserves the source records that formed it, keeps immutable original overlap geometry, separates display-only partial fill from band identity, and exposes state, age, fill, visit, break, source, and overlap-density information instead of hiding them inside an unexplained composite value.
The source is open for inspection under the MPL 2.0 license. The calculations and visual labels are intended to be read as a record of price interaction, not as a promise about what happens next.
────────── 13. Disclaimer ──────────
For educational and informational purposes only. Not financial advice. Past chart behavior does not predict future results. Indicator

ICT Kill Zone Sniper [JOAT]═══ ICT KILL ZONE SNIPER ⚡ ═══
A session-aware sniper tool that paints every candle by its active kill zone, tracks the liquidity pool each session leaves behind, and fires a single clean BUY or SELL only after price sweeps the prior pool and reverses back inside the current kill zone. Built for traders who wait for the liquidity grab, not the breakout.
▎ WHAT IT DOES
It splits the trading day into four classic kill zones — Asia , London , NY-AM and NY-PM — colors the candles inside each one, and records the high and low that every finished session builds. Those prior highs/lows become the liquidity pools hunted in the next window. When the current kill zone reaches into one of those pools and then closes back through it, the tool marks the sweep and projects a full trade: entry, ATR stop, and an R-based target zone.
▎ HOW IT WORKS
• Kill-zone clock — each session window is evaluated in a chosen wall-clock timezone (New York by default). Membership is na-guarded, so it behaves correctly on any intraday timeframe and simply idles on higher timeframes.
• Session state machine — while a kill zone is live, the tool expands that session's running high and low. When the session ends, that high/low is frozen as the prior liquidity pool and drawn as dashed projection lines carried into the next window.
• Sweep + reversal detection — a high sweep needs price to trade above the prior pool high yet close back below it; a low sweep needs a dip below the prior pool low with a close back above. A Min Sweep Depth (× ATR) filter rejects micro-penetrations caused by spread and tick noise.
• Confirmation — sweeps can be evaluated on confirmed bar close only, so signals do not repaint intrabar. At most one long and one short can print per kill-zone occurrence when the one-per-side lock is on.
• Optional HTF bias — a higher-timeframe EMA (requested with lookahead off) can gate direction: longs only above it, shorts only below it.
• Trade projection — on a valid signal the stop is placed beyond the swept extreme plus an ATR buffer, risk is measured from entry to stop, and the target is set at your chosen R multiple. Reward and risk are drawn as tinted zone boxes with entry/SL/TP lines and level labels.
• Optional VWAP — a session-anchored VWAP with a ±σ band is available as extra context.
▎ HOW TO USE IT
• Wait for a BUY or SELL pill to print inside a colored kill zone — it means the prior pool was swept and price reversed back through it.
• The green zone box is the reward leg toward the R-target; the red zone box is the risk leg to the stop. The label pill shows the session and the R multiple.
• Use the dashed prior high/low lines as the liquidity being hunted this session — signals cluster around them.
• Treat the HTF bias as a directional filter and the sweep tags as confirmation that liquidity was actually taken before you commit.
• Combine with your own structure read; the tool marks the setup, you manage the trade.
▎ KEY SETTINGS
• Kill Zones — timezone plus editable session windows for Asia, London, NY-AM and NY-PM.
• Signal Engine — ATR length, confirm-on-close, one-signal-per-side lock, and minimum sweep depth.
• HTF Bias — toggle, higher timeframe, and EMA length.
• Trade Model — stop buffer beyond the sweep, risk/reward target in R, projection length, and how many past signals to keep.
• Visuals — candle tinting and transparency, session boxes, pools, sweep tags, signal labels, SL/TP lines and zone boxes, VWAP bands, and label size.
• Dashboard — show/hide, position, and text size.
▎ DASHBOARD
A cyberpunk chrome-gradient panel reporting the active session , current session high/low , a countdown to the next kill zone , the HTF bias state, the last liquidity grab side, the active signal with bars-since, the last entry , its stop / target , the current ATR , and a running long / short signal tally .
▎ ALERTS
• KZ Sniper Long — prior-pool low sweep plus bullish reversal inside a kill zone.
• KZ Sniper Short — prior-pool high sweep plus bearish reversal inside a kill zone.
▎ NOTES
• Works across assets; the session logic is intended for intraday timeframes and idles on higher ones.
• Confirm-on-close keeps signals non-repainting; the HTF EMA is requested with lookahead off.
• Nearly every visual has a toggle, so you can strip it down to just the candles and signals for a clean chart.
• Any on-chart tallies reflect historical signals only.
For research and education only. This is not financial advice. No indicator can predict the future, and past behavior does not guarantee future results. Always manage your own risk.
Made with passion by JackOfAllTrades ⚡ Indicator

CHoCH SetupCHoCH Setup is a comprehensive multi-timeframe analysis tool designed to identify structural shifts, validate them with volume and momentum, and highlight high-probability Fair Value Gap (FVG) entries.
Multi-Timeframe (MTF) Alignment: Evaluates a Higher Timeframe (HTF) directional bias to ensure your current timeframe trades align with the macro trend.
Volume Point of Control (POC): Dynamically calculates the high-volume node of recent periods. Breaks through the POC indicate strength.
BLVL (Break Level) CHoCH & BOS: Identifies structural market shifts. A CHoCH (Change of Character) triggers the drawing of the main setup box.
Volume Profile Inside CHoCH Box: Visualizes the volume intensity directly within the CHoCH box to validate the momentum of the breakout.
RSI Tracking Polyline: Tracks the RSI behavior historically to identify if the setup occurred in overbought/oversold conditions or if there is momentum divergence.
FVG Engine: Highlights bullish and bearish Fair Value Gaps. It can optionally filter for "bounces" or mitigations where price taps into the FVG after a structural break.
CHoCH Fibonacci Zones & Targets: Automatically plots a Buy/Sell mitigation zone (0.382 - 0.618) and extended target levels (1.47, 1.55, 2.56, 2.6, 2.68) for taking profit.
HUD Dashboard: Provides a real-time summary of the HTF Bias, Current TF Bias, POC Trap State, and the strength of the current CHoCH.
🎯 Identifying an "A+ Setup"
An A+ setup occurs when multiple confluences align simultaneously. Look for the following conditions on your dashboard and chart:
Timeframe Alignment: Both HTF Bias and Current TF Bias are pointing in the same direction.
Strong CHoCH Signal: A CHoCH break happens in the direction of the HTF Bias, backed by above-average volume (indicated by thick volume columns inside the CHoCH box).
POC Confirmation: Price breaks and holds beyond the POC level, avoiding a "Trap" state (e.g., a "Strong Bullish" state on the dashboard).
FVG Creation: The impulse move that caused the CHoCH leaves behind a Fair Value Gap.
Entry Execution: Price pulls back into the CHoCH Fibo Zone (0.382 - 0.618) and taps the FVG. This is the optimal entry zone targeting the extended Fibo levels (1.47+).
🔔 Alerts
The script includes built-in alert conditions tailored for this setup:
Bullish CHoCH Direction FVG Formed!: Triggers when a new bullish FVG forms immediately following a Bullish CHoCH.
Bearish CHoCH Direction FVG Formed!: Triggers when a new bearish FVG forms immediately following a Bearish CHoCH.
(To set these up: Create an alert on PulseWire, select the indicator, and choose "Any alert() function call".)
⚠️ Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial or trading advice. Trading in financial markets involves a high degree of risk, and past performance of any indicator or setup is not indicative of future results. Always backtest strategies thoroughly and use proper risk management.* Indicator

FVG Sniper [JOAT]═══ FVG SNIPER ═══
A complete Fair Value Gap engine that finds price imbalances, grades their quality, tracks how they fill, mitigate and invert, and then paints a full trade blueprint the moment a clean setup fires. One gap is spotlighted as the strongest, and every signal arrives with entry, three targets, a stop, and colored risk/reward zones — no arrows, no clutter.
▎ WHAT IT DOES
FVG Sniper detects three-candle fair value gaps (imbalances), scores each one from 0–10, and monitors its life cycle: how much of the gap has been filled, whether it has been mitigated (wick-tapped through), and whether price has closed fully through it to flip its role into an Inverted FVG (IFVG) . When a graded gap produces a rejection or an IFVG flip that agrees with the higher-timeframe bias, it draws a structured trade plan and reports the whole picture in a dashboard.
▎ HOW IT WORKS
• Gap detection — a bullish gap forms when the current low sits above the high from two bars back; a bearish gap forms when the current high sits below the low from two bars back.
• Quality filters — each candidate must clear a minimum gap size (as a multiple of ATR ) and a minimum displacement body ratio on the impulse candle, so tiny or weak imbalances are ignored.
• Grade (0–10) — blends gap size, the displacement range of the middle candle, and relative volume into a single score. Only gaps at or above your minimum grade may fire a signal.
• Fill & mitigation — the engine tracks the running extreme inside each gap to compute a live fill percentage, and marks a gap mitigated once a wick fully traverses it.
• Inversion (IFVG) — when price closes fully through a gap, its role flips; the box restyles to a dashed amber accent and the flip is logged.
• Signals — two sources you can mix or isolate: Rejection (price retraces into a live gap and reacts back out with a directional close) and IFVG Flip (a mitigated gap is closed through, confirming continuation).
• HTF bias filter — an optional higher-timeframe EMA bias must agree with the signal direction before it is allowed.
• Trade model — on a fresh signal it sets entry at close, a stop either gap-protected (just beyond the triggering gap boundary) or ATR-based, with risk clamped between a floor and a cap. Targets TP1/TP2/TP3 are placed at your chosen R multiples.
• Non-repainting — all detection, scoring and signals evaluate on confirmed (closed) bars only, and the HTF request uses no lookahead.
▎ HOW TO USE IT
• Trade in the direction of the BUY / SELL pill. The stars and score on the pill show the grade of the gap that triggered it.
• The entry line (chrome), dashed stop , and TP1/TP2/TP3 lines map the plan directly on the chart; level labels on the right print exact prices and R values.
• The green zone is the target/reward area from entry to TP3; the red zone is the risk area between entry and stop — a fast visual read of the trade's R:R.
• A single ★ spotlight tags only the strongest active gap, so you always know the best imbalance in view.
• Use live gaps as decision zones: watch the fill % of the nearest gap, and treat an IFVG flip as a shift in short-term control.
• When a trade closes, a result label prints the outcome (TP hit, stop, or exit at R) so completed setups stay readable.
• Combine with your own structure, session and news context — the gap engine locates the where , you confirm the when .
▎ KEY SETTINGS
• Engine — enable bullish/bearish detection, choose the signal source (Rejection, IFVG Flip, or both), and cap how many gaps stay visible plus their lifetime and box extension.
• Filters — ATR length, minimum gap size, minimum displacement body ratio, minimum grade, the HTF bias filter (timeframe + EMA length), and whether a directional rejection close is required.
• Trade Model — stop basis (Gap-Protected vs ATR), stop buffer/distance, risk floor and cap, TP1–TP3 in R, max trade duration, zone projection, and how many completed trades to keep.
• Visuals — toggle gap boxes, midline, hide-mitigated declutter, grade spotlight, IFVG styling, signal pills, zone boxes, lines, level and result labels, zone-reader candle coloring, optional VWAP + σ bands, and all colors/transparency/sizes.
• Dashboard — show/hide, position, text size, and dark or light panel.
▎ DASHBOARD
The on-chart panel reports: HTF bias, count of active bullish and bearish gaps, the nearest gap price and its fill %, the strongest gap's star grade, the last IFVG flip (with bar age), the active signal, any live trade with its entry, and running totals of bullish / bearish / inverted gaps detected.
▎ ALERTS
• BUY signal
• SELL signal
• Bullish IFVG Flip (inversion up)
• Bearish IFVG Flip (inversion down)
▎ NOTES
• Works on all timeframes and all assets — indices, forex, crypto, stocks, futures.
• Signals and drawings are computed on closed bars, so they do not repaint after the bar confirms.
• Object caps and hide-mitigated / declutter toggles keep the chart clean even on long histories.
• Any on-chart result labels reflect historical signals only and are illustrative, not a performance guarantee.
For research and education only. This is not financial advice. No indicator can predict the future, and past behavior does not guarantee future results — always manage your own risk.
Made with passion by JackOfAllTrades ⚡
Indicator

MTF Bias TableScript name
QE — MTF Bias Table
Short description
Multi‑timeframe trend bias dashboard. Compares fast vs. slow MA alignment across 5m through 1M to classify each timeframe as bullish or bearish at a glance.
Description
QE — MTF Bias Table is a non‑repainting, multi‑timeframe trend dashboard built for traders who need higher timeframe context before entering lower timeframe setups. It evaluates fast vs. slow moving average alignment across eight timeframes (5m, 15m, 30m, 1H, 4H, 1D, 1W, 1M) and prints a clean, color‑coded table directly on the chart.
The indicator is intentionally designed to pair with order‑flow, structure, and liquidity tools. It does not predict direction; it answers one question: “Is this timeframe aligned bullish or bearish?”
How it works
Fast MA > Slow MA = Bullish alignment (green “▲ BULL”)
Fast MA < Slow MA = Bearish alignment (red “▼ BEAR”)
All MTF requests use lookahead disabled to prevent repainting. The script reads a fresh close‑based value at each higher timeframe candle, so the bias state is stable and reflects the confirmed bar, not the developing one.
Configurable inputs
Fast MA Length (default 20)
Slow MA Length (default 50)
MA Type (EMA or SMA)
Why use this
Instantly see if your entry timeframe aligns with the daily/weekly bias
Avoid counter‑trend entries when the HTF is stacked against you
Use it as a filter: only trade setups that agree with the higher timeframe bias
Compact table design with minimal chart clutter
Tags
multi-timeframe
trend
bias
dashboard
Usage note
This is a bias filter, not an entry system. Combine it with your own structure, liquidity, and confirmation models for a complete trading plan. Indicator

Standing Wave Phase Coherence [JOAT]STANDING WAVE PHASE COHERENCE
A phase-coherence engine that asks a question almost no public indicator can answer: are the LTF and HTF oscillators in phase or out of phase ? Two oscillators that move together (peaks and troughs aligned) form a standing wave — a state of constructive interference where the trend is amplified. Two oscillators that move opposite (peaks aligned with troughs) form an anti-standing wave — a state of destructive interference where a reversal is forming. Standing Wave Phase Coherence measures phase, computes the coherence between the two timeframes, and surfaces a single number bounded in that tells you which regime you are in.
Phase, not just direction
A moving average tells you "where price is sitting". A momentum oscillator tells you "which way it is moving". Phase is the location inside the cycle — are we approaching a peak, leaving a peak, approaching a trough, leaving a trough? Two oscillators on different timeframes can be:
In phase — both rising or both falling at the same rate of cycle progression. Constructive interference. Trend amplifies.
Anti-phase — one rising, the other falling at the same cycle rate. Destructive interference. Reversal forms.
Decoherent — phases are uncorrelated. The wave structure is breaking down. No directional edge from coherence.
The script estimates phase from each timeframe's RSI series (both legs at the same RSI length for fair comparison), differences the phase smoothly, then takes the cosine of the phase difference — which is exactly the quantum-mechanical coherence metric on a scale.
Non-repainting HTF construction
The HTF leg uses request.security with lookahead_on AND a offset on the expression — the only non-repainting form per Pine v6 docs. This is exposed as a toggle but ON by default; the warning in the input tooltip explains the trade-off (turn off only for research, never live).
Three thresholds, three states
Coherence > +0.70 (configurable) — IN PHASE . Standing wave constructive. Trend amplifies. Bull-palette background tint.
Coherence < −0.70 — ANTI PHASE . Standing wave destructive. Reversal forms. Bear-palette background tint.
|Coherence| < 0.30 (decoherent band) — DECOHERENT . No standing wave. Mid-palette neutral.
In between — transitional.
Phase-status arrows print inside the pane at every regime entry, so the chart history shows when each standing wave formed and collapsed.
Visual system
Coherence line with configurable width.
Glow halo — a wider semi-transparent copy of the coherence line below the main line, creating a soft glow effect.
Background tint by phase status — bull when IN PHASE, bear when ANTI PHASE, none when decoherent. Transparency configurable.
Threshold lines at ±0.70 (toggleable).
Zero line .
Fill between threshold and ±1 — soft bull / bear fill highlights the active phase zone so it is immediately obvious which side is engaged.
Phase status arrows inside the pane on state transitions.
The pane uses the JOAT default palette (cyan-teal bull / magenta bear).
Amplification factor
A separate EMA-smoothed trend amplification factor is computed from the coherence and surfaced in the dashboard. When coherence is sustained high (in-phase), the amplification factor rises — quantifying how much the LTF/HTF agreement is reinforcing the move. Useful as a position-sizing input: bigger amplification = stronger conviction = larger size.
Dashboard
Monospaced table, positionable to any of nine corners. Surfaces:
Current coherence value and bar age.
Phase status (IN PHASE / ANTI PHASE / DECOHERENT) with glyph.
LTF and HTF RSI values.
Phase difference in radians and degrees.
Trend amplification factor (smoothed).
HTF timeframe in use with non-repaint flag.
Alerts
Multiple alert conditions:
Coherence crosses above +0.70 (IN PHASE entry)
Coherence crosses below −0.70 (ANTI PHASE entry)
Coherence returns to decoherent band
Sustained IN PHASE (held above threshold for N bars)
Sustained ANTI PHASE
How to read it
Three reads, in order of conviction:
Sustained IN PHASE — the highest-conviction trend read. LTF and HTF oscillators are decisively moving together. This is the regime in which momentum tools have their largest edge.
Entry into ANTI PHASE — the reversal warning. The two timeframes have rotated opposite each other; whichever direction LTF is moving, HTF is opposing. Often precedes meaningful reversals.
Decoherent zone — stand-aside signal. The wave structure has broken down. Coherence-based reads are not actionable; switch to a regime-classification tool (FDI, Hurst, Entropy).
The cleanest workflow: only take trend trades when IN PHASE; only take reversal trades when ANTI PHASE; do nothing when DECOHERENT.
Suggested settings
Defaults (RSI 14, HTF 4H, phase smoothing 3, coherence smoothing 8, ±0.70 thresholds, ±0.30 decoherent band) are tuned for 15m–1H charts. The HTF should always be greater than or equal to the chart timeframe; mismatching produces meaningless phase reads. For HTF (4H+ chart timeframes) raise HTF to Daily and consider the LTF/HTF coherence as a daily-vs-weekly read.
Originality
The implementation — the dual-timeframe RSI phase estimator, the smoothed phase-difference cosine coherence (quantum-style metric), the non-repainting HTF request with -offset + lookahead_on pattern, the three-threshold phase classifier with decoherent band, the trend amplification factor formulation, the glow-halo line render, and the pane-overlay phase-status arrows — is JOAT-original. No third-party code reused. The notion of phase coherence between timeframes as a market regime metric is the original quantitative contribution, borrowed conceptually from optical and quantum physics.
Limitations
Phase estimation from discrete bar data is inherently noisy on short windows; the smoothing inputs (phase EMA and coherence EMA) exist to address that — over-smoothing destroys phase information, so the defaults are intentionally light. The HTF request is non-repainting in the useStrictHtf = ON configuration; do not turn it off in live trading. The decoherent band is a heuristic to avoid acting on noise reads; widen it on instruments with naturally choppy oscillator structure.
—
-made with passion by jackofalltrades
Indicator

HTF Mr. Fibonacci ReversalThe HTF Mr. Fibonacci Reversal is a premium, all-in-one dynamic tool designed to identify major institutional liquidity sweeps, Optimal Trade Entries (OTE), extreme market deviation zones, and internal Market Structure shifts (BOS/CHoCH) simultaneously.
Instead of cluttering your chart with endless Fibonacci ratios and full-screen color zones, this indicator isolates only the levels that matter most to macro reversals. It seamlessly blends Higher Timeframe (HTF) context with internal structural confirmations, operating seamlessly on a Daily (D) HTF anchor by default, but fully customizable to Weekly or Monthly levels depending on your trading style.
🔥 Key Features & Innovations:
1. Dynamic HTF Anchoring & Projections
A primary vertical line automatically captures the exact High and Low range of the previous HTF period. This acts as your baseline liquidity and macro structure. From this anchor, the script projects Fibonacci data into the current live price action.
2. Two Distinct Drawing Models:
Model 2 (Phantom Projection - Default): A unique "clean chart" approach. It projects a phantom HTF candle far to the right of current price action, wrapping the Fibonacci levels and OTE boxes exclusively around this future candle. This allows you to monitor how the micro price action is interacting with macro levels without overlaying shapes over your current candles. The projection is drawn with mathematical pixel-perfect symmetry.
Model 1 (Classic Extension): Draws the Fibonacci levels and OTE boxes starting directly from the vertical anchor, stretching right alongside the price action.
3. Minimalist Fibonacci Architecture
Stripped-down logic to focus heavily on the 0.5 (Equilibrium), -0.618, and 1.618 levels. These specific reaction points are highlighted in solid colors to draw immediate attention for high-probability reversal setups.
4. OTE & Extreme Zones (Transparent Boxes)
Clean, transparent blue boxes elegantly highlight:
Inner Optimal Trade Entry Zones: (0.236 to 0.382) & (0.618 to 0.764)
Extreme Deviation Zones: (-0.382 to -0.618) & (1.382 to 1.618)
5. HTF Phantom Candle
Displays the live, currently developing HTF candle (Open, High, Low, Close) dynamically. If you are on a 15m chart, you can watch exactly what the Daily or Weekly candle looks like in real-time, perfectly centered within your Fibonacci parameters.
6. Integrated Market Structure (BOS / CHoCH)
No need for a secondary structural script. The indicator includes a highly optimized Market Structure engine running in the background.
It maps internal Break of Structure (BOS) and Change of Character (CHoCH) directly on your chart.
By default, unconfirmed "candidate" lines are hidden to keep your chart pristine. Once a level is broken (closing beyond the pivot by default), a solid line and a clear label are drawn retrospectively.
7. Extended Dotted Boundaries & VWAP
The 0.0 and 1.0 levels extend perfectly from the origin anchor all the way to the projected Fib levels, framing the macro range cleanly with labels indicating exact prices.
Includes an optional Anchored VWAP starting exactly from the HTF pivot open.
8. Auto-Adapting UI
The main vertical structure line automatically senses your chart background (light or dark mode) and adapts its color for maximum visibility.
💡 How to Use:
Use the prominent 0.5 equilibrium level to gauge the broader directional bias. When price travels into the outer extreme boxes (below -0.382 or above 1.382), look for exhaustion signals, liquidity sweeps, or a CHoCH confirmation from the internal Market Structure engine for high-probability reversal entries. The inner boxes act as standard retracement targets during trend continuation.
Toggle between Model 1 and Model 2 depending on whether you prefer an immersive overlay or an isolated projection on the right side of your screen. Indicator

OhMyHtfLibraryLibrary "OhMyHtfLibrary"
HTF candle platform: timeframe alignment, profiles, and (future) packed OHLC / draw helpers. Import as `import daggerok/OhMyHtfLibrary/1 as omhl`. Sweep/OB domain → future `OhMyHtfSweepLibrary` (`omhsl`).
resolveHtfContext(chart_tf_seconds, default_htf, default_candle_count, align_ctf_max_seconds, align_htf, align_enabled, profile_ctf_exact_seconds, profile_htf, profile_enabled, profile_candle_counts)
Resolves HTF string, enable flag, and candle count from Timeframes Alignment + Profiles.
TFA: first alignment row where `chart_tf_seconds <= align_ctf_max_seconds ` wins.
Profiles: first enabled row where `chart_tf_seconds == profile_ctf_exact_seconds ` overrides TFA.
Parameters:
chart_tf_seconds (int) : Chart timeframe in seconds.
default_htf (string) : Fallback HTF when no alignment rule matches.
default_candle_count (int) : Default HTF candle count (HTF Candles input).
align_ctf_max_seconds (array) : Upper-bound CTF seconds per TFA row (length 14).
align_htf (array) : HTF string per TFA row.
align_enabled (array) : Enabled flag per TFA row.
profile_ctf_exact_seconds (array) : Exact chart TF seconds per profile row (length 12).
profile_htf (array) : HTF string per profile row.
profile_enabled (array) : Profile row enabled flags.
profile_candle_counts (array) : Candle count per profile row.
Returns: `HtfContext` with resolved settings.
HtfContext
Resolved HTF timeframe settings for the current chart.
Fields:
htf (series string) : Higher timeframe string for `request.security` and draw logic.
is_enabled (series bool) : Whether HTF features are active for this chart TF (TFA enable flag or profile override).
candle_count (series int) : Number of HTF candles to display (profile may override default).
profile_override (series bool) : True when a profile row matched (exact CTF). Library

HTF Candle TerminalTitle: HTF Candle Terminal: Advanced Institutional Volume & Range Engine
Description:
Welcome to the HTF Candle Terminal – a complete, institutional-grade toolkit designed to bridge the gap between Higher Timeframe (HTF) market structure and Lower Timeframe (LTF) execution.
This indicator acts as a real-time trading terminal directly on your chart, projecting higher timeframe data, volume clusters, volatility bands, and dynamic price zones so you never lose track of the macro trend while executing on the micro level.
What does it do?
Instead of switching back and forth between timeframes, the HTF Candle Terminal anchors itself to a Higher Timeframe of your choice (e.g., 4-Hour, Daily). Once a new HTF session begins, the terminal starts mapping the battlefield in real-time, calculating institutional volume, statistically probable ranges, and liquidity sweeps.
🔥 Core Features (A to Z)
1. Live HTF Candle Projection
To the right of the current price action, the indicator draws a live, constantly updating "Macro Candle." This gives you an instant visual representation of what the higher timeframe candle looks like (Open, High, Low, Close) without ever leaving your current chart. Accompanying the candle is a real-time trend status (e.g., "Very Strong Bullish" or "Bearish") based on how price is behaving relative to the HTF Open and Volume Nodes.
2. Dynamic Volume Profiling & POC (Point of Control)
The terminal tracks every drop of volume from the moment the HTF candle opens.
Bull/Bear Zones: It creates distinct bullish (above open) and bearish (below open) volume zones.
Split POC: It isolates the highest volume node for buyers (Short Line) and sellers (Long Line).
Zone Breakouts: If price decisively breaks and closes through a POC line from the opposite side, it invalidates that volume node, dynamically clearing the map to signal a strong directional shift.
Auto Row Size: The script includes an intelligent algorithm that automatically calculates the perfect row/tick size for the volume profile based on the volatility of the previous HTF candle.
3. Statistical Range Projections (Excursions)
How far did the last HTF candle travel from its open? The terminal mathematically measures the percentage expansion of the previous HTF candle and projects those exact percentages (e.g., +1.25%, -0.80%) onto the current candle's open. This gives you highly accurate, historically-backed target zones for the current session.
4. HTF ATR & ADR Projections (Volatility Boundaries)
Knowing where price should stop is just as important as knowing where it is going.
ATR (Average True Range): Projects the HTF's current True Range (+/- 0.5 ATR by default) from the open price, giving you realistic daily/session volatility boundaries.
ADR (Average Daily Range): Projects the chart's average daily movement anchored to the HTF open. When price hits these outer bands, it signals mathematical exhaustion—perfect for take-profit targeting or mean-reversion setups.
5. Liquidity Sweep Detection (PH & PL)
The script draws dashed lines representing the Previous HTF High (PH) and Previous HTF Low (PL). If the current price action pokes through these levels but fails to hold, the terminal instantly marks the chart with a precise "✖" label, alerting you to a potential liquidity sweep/hunt.
6. HTF Anchored VWAP
An optional (toggleable) Volume Weighted Average Price anchored precisely to the start of the HTF candle. This acts as the ultimate institutional "fair value" baseline. If price is above the VWAP, momentum is confirmed bullish; if below, bearish.
💡 How to Use the Terminal in Your Trading
Trade the Open: The most critical level is the dashed HTF Open line. Treat it as the equator. Longs above, shorts below.
Target the Extremes: Use the Excursion lines, ATR, and ADR bands as your primary Take-Profit (TP) zones. When price reaches these levels, the market is mathematically overextended.
Watch the POCs: The Bull and Bear POC lines act as heavy magnets. If price is returning to the open, watch for bounces off the POC. If a POC is broken, ride the momentum in the direction of the break.
Trade the Sweeps: Look for an "✖" marker at the PH or PL lines. A sweep combined with a rejection back into the HTF Open zone is one of the highest probability reversal setups available.
⚙️ Full Customization
Every element is built to be customized. Change the colors of the HTF candle, adjust global label sizes, toggle VWAP/ATR/ADR on or off, and tweak the transparency of historical boxes to keep your chart perfectly clean.
Developed with precision for structural and quantitative traders.
© erdensedat Indicator

HTF ORDER FLOW [erdensedat]The HTF ORDER FLOW is an advanced, all-in-one institutional trading indicator designed to bring High Timeframe (HTF) market structure, volume profile dynamics, and order flow context directly to your current chart. By combining deep volume analysis with the BLVL (BOS/CHoCH) break detection algorithm, this script offers a comprehensive view of institutional activity without cluttering your screen.
Key Features:
HTF Candle Projection: Projects the live Higher Timeframe candle (e.g., Daily, Weekly) seamlessly onto your current trading timeframe with customizable width and opacity.
Dynamic Volume Profile: Displays a customized Volume Profile mapped specifically to the HTF period. It highlights the Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL) to instantly visualize where the majority of trading volume took place.
High Volume Nodes (HVN): Automatically highlights specific bins inside the profile that experience significantly higher volume, signaling potential hidden support or resistance areas.
Initial Balance (IB) & VWAP Tracking: Tracks and extends the Initial Balance High/Low and the Volume Weighted Average Price (VWAP) for the HTF session.
Previous Day/Week (PD/PW) Levels: Toggle critical historical liquidity levels such as Previous Day Open/High/Low and Previous Week Open/High/Low, drawing them exactly from their historical birth-points.
Premium & Discount Zones: Automatically calculates and displays Premium and Discount range boxes relative to the HTF candle, helping you visualize equilibrium and optimal entry zones.
Integrated BLVL System (BOS/CHoCH): A built-in Fractal break-of-structure engine that detects and labels potential and confirmed structural shifts (BOS / CHoCH). It displays live candidate lines and solidifies them once a structural break is confirmed by price action.
Custom Styling Engine: Choose from beautiful pre-built visual themes (Classic TV, Cyberpunk, Midnight, Forest, Luxury Gold) or enable total custom control over specific lines like VWAP, VAH/VAL, and IB levels.
The Quantum Signal HUD Panel:
Located at the top right of your chart, the built-in Heads Up Display (HUD) acts as your real-time order flow navigator. It tracks:
Price & VWAP: Current price relation to the HTF VWAP.
Market Bias: Displays a simple BULLISH/BEARISH bias based on the VWAP baseline.
Quantum Signal: Analyzes cumulative volume delta (CVD) relative to VWAP positioning to interpret market state as "INST. BUYING", "INST. SELLING", or "NEUTRAL/TRAP".
Session Progress: Shows the percentage of time elapsed in the current HTF candle.
HTF CVD: The live Cumulative Volume Delta of the ongoing HTF session.
How to Use:
Use the HTF Volume Profile and Premium/Discount boxes to identify where institutions are doing business. Wait for the integrated BLVL system to confirm a structural shift (CHoCH or BOS) inside these key liquidity zones. Check the Quantum Signal HUD to ensure institutional order flow (CVD) aligns with your bias before entering a trade.
Optimize your edge by trading with the HTF trend, volume, and structure. Indicator

Multi-Engine MatrixTitle: Multi-Engine Matrix
Description:
The Multi-Engine Matrix is an advanced, all-in-one trading suite designed to bring institutional concepts and momentum oscillators directly onto your main chart. By combining session or timeframe-based liquidity ranges with customizable oscillator projections and a real-time data dashboard, this indicator eliminates the need for multiple chart panes, keeping your workspace clean and highly informative.
🌟 Core Features
1. Dynamic Range & Liquidity Sweeps
The indicator automatically boxes price action based on your chosen mode, tracking the Highest High (HH), Lowest Low (LL), and the
Volume Point of Control (POC).
Session Mode: Tracks the Asian, London, and New York sessions using customizable time inputs.
Timeframe Mode: Tracks ranges based on a selected Higher Timeframe (e.g., Daily or 4H).
Liquidity Sweeps: When price breaks out of a historical session/timeframe box and sweeps the HH or LL, the level turns red and is clearly marked with an "X", highlighting potential liquidity grabs and reversal zones.
Volume POC: Displays the Point of Control for each active and historical range, acting as a magnet or support/resistance level.
2. On-Chart Multi-Engine Oscillators
Forget opening separate indicator panes at the bottom of your chart. The Multi-Engine Matrix projects up to two momentum oscillators (Top Engine and Bottom Engine) directly above and below the active price ranges.
Available Engines: RSI, Stochastic RSI, WaveTrend, and DMI.
Customizable Size: Adjust the projection height (Small, Medium, Large) and the distance from the price action.
Real-time Visualization: Watch momentum diverge or align with price action within the same visual context. WaveTrend momentum histograms, RSI overbought/oversold zones, and DI crossover dynamics are beautifully rendered as on-chart polylines.
3. Real-Time Bias Dashboard
A sleek, adaptive dashboard is positioned on your chart (top right by default) to give you an immediate macroeconomic and momentum overview.
Active Session: Instantly know which market session you are currently trading.
Daily & Weekly Bias: Automatically calculates if the current price is Bullish or Bearish relative to the Daily and Weekly open levels.
Live Metrics: Displays the exact current values for RSI, WaveTrend Momentum, and Directional Movement (DI+ / DI-).
Daily CVD (Cumulative Volume Delta): Tracks intraday buying and selling pressure to gauge true market intent.
4. Quality of Life Features
Moving Averages & VWAP: Optional overlays for session VWAP and your choice of Moving Average (SMA, EMA, WMA, RMA).
Adaptive UI: Fully supports PulseWire's Light and Dark modes. Text colors, labels, and borders automatically adapt to your chart's background for optimal visibility.
⚙️ How to Use
Set Your Mode: Choose whether you want to trade based on specific Time Sessions (Asian/London/NY) or Fixed Timeframes.
Select Your Engines: Choose your preferred momentum oscillators for the Top and Bottom engines.
Watch for Sweeps: Look for price sweeping the historical highs (HH) or lows (LL) marked by a red "X". Combine this with extreme readings on the projected oscillators to spot high-probability reversal setups.
Confirm with the Dashboard: Use the Daily/Weekly bias and CVD metrics to ensure you are trading in the direction of the underlying momentum.
Disclaimer:
The information provided by this script is for educational and informational purposes only and does not constitute financial advice. Trading in financial markets involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own research and backtest thoroughly before risking real capital. Indicator

HTF Candle Footprint [Cartel Console]# HTF Candle Footprint
HTF Candle Footprint is a higher-timeframe volume and delta visualization tool designed to help traders analyze the internal composition of a selected higher-timeframe candle directly on the chart.
The indicator reconstructs a footprint-style profile inside a dynamically generated higher-timeframe candle, allowing users to examine how volume and directional pressure were distributed throughout the candle's range. By combining volume distribution, delta estimation, Point of Control (POC), and higher-timeframe candle structure into a single visualization, traders can gain additional context about market participation and price acceptance within significant trading periods.
Unlike traditional volume profiles that focus on extended historical ranges, this indicator concentrates on the currently developing or recently completed higher-timeframe candle. This approach enables users to study how volume accumulates across price levels while simultaneously monitoring the relationship between bullish and bearish activity inside the candle body.
### Key Features
• Higher-Timeframe Candle Reconstruction
Displays a custom-rendered higher-timeframe candle directly on the chart, including body and wick structure.
• Integrated Footprint Visualization
Shows estimated buying and selling pressure across individual price levels within the selected higher-timeframe range.
• Volume Distribution Profile
Builds a horizontal volume profile that highlights where the greatest amount of trading activity occurred during the analyzed period.
• Delta-Based Pressure Analysis
Calculates directional volume estimates and displays positive and negative pressure zones using color-coded footprint cells.
• Point of Control (POC) Detection
Automatically identifies and plots the highest-volume price level within the profile.
• Dynamic High and Low Levels
Marks the extreme boundaries of the analyzed higher-timeframe candle for additional market structure reference.
• Real-Time Higher-Timeframe Bias Dashboard
Provides a compact dashboard showing the current directional bias of the selected higher-timeframe candle.
• Multi-Timeframe Support
Analyze volume and pressure behavior across Hourly, 4-Hour, Daily, Weekly, and Monthly structures.
### How Traders Use It
Many traders use higher-timeframe candles as key reference points for trend analysis, support and resistance identification, liquidity observations, and contextual decision-making. HTF Candle Footprint enhances this process by exposing the internal volume distribution of those candles.
Potential use cases include:
• Identifying high-participation price zones
• Observing areas of price acceptance and rejection
• Comparing volume concentration against candle structure
• Locating potential reaction levels around the Point of Control
• Studying directional pressure within higher-timeframe ranges
• Adding additional context to multi-timeframe analysis workflows
### Notes
This indicator uses volume-based calculations and visual approximations derived from chart data. The displayed footprint and delta values are analytical tools intended to provide additional market context and should not be interpreted as financial advice or guaranteed trading signals.
HTF Candle Footprint is designed as a visual analysis aid and can be used alongside existing price action, volume, market structure, and risk management methodologies.
Indicator

Prismatic Depth [JOAT]Introduction
Prismatic Depth is an open-source multi-pillar institutional signal filter that scores bullish and bearish market pressure across nine independent analytical dimensions simultaneously. Rather than generating a signal from any single indicator, Prismatic Depth requires a weighted composite score above a configurable threshold, a minimum directional lead between bull and bear scores, and alignment of up to five optional confirmation gates — all at the same time.
The problem this solves is signal noise. Most indicators produce signals from a single input: a moving average crossover, an RSI threshold, a volume spike. Each of these fires constantly in all market conditions, including conditions where it has no historical edge. Prismatic Depth measures nine separate market properties and only produces a signal when a statistically unusual number of them agree simultaneously. The result is a lower-frequency, higher-context signal that reflects a broader institutional consensus rather than a single technical event.
Core Concepts
1. The Nine-Pillar Scoring Architecture
Each pillar measures a distinct market property independently. Pillar weights are user-configurable and sum to produce a maximum possible score of 100. The nine pillars are:
Structure: Detects higher-high / higher-low and lower-high / lower-low sequences using confirmed pivot highs and lows. A bullish structural sequence adds the Structure weight to the bull score.
Volume: Measures the slope of On-Balance Volume using linear regression over 20 bars. A rising OBV slope contributes to the bull score; falling contributes to bear.
Momentum: Blends three momentum inputs — Kaufman Adaptive Moving Average position, RSI relative to 50, and Williams Percent Range relative to midpoint. Each sub-component is weighted equally at one-third.
Liquidity: Detects swing-low sweeps — bars where price wicks below the last confirmed swing low and closes back above it. These represent stop-hunt events followed by institutional absorption.
Volatility: Evaluates whether the ATR-to-SMA(ATR) ratio falls within a productive range (0.8 to 1.6). Markets outside this range are either too compressed for trend signals or too expanded for reliable entries.
Session: Measures the current bar's position relative to the daily session midpoint. Bars in the lower half of the daily range carry a bullish session score; bars in the upper half carry a bearish score.
Higher Timeframe: Compares current close to a 50-period EMA on a user-selected higher timeframe via request.security() with lookahead disabled.
Delta Pressure: Tracks cumulative signed volume and detects when its moving average crossing direction aligns with price movement. A Pressure Score blending the volume delta ratio, volume rate, and bar body ratio is computed.
Fractal Efficiency: Computes the Fractal Efficiency Ratio — the ratio of the net directional price move to the total path length of individual bar changes. An FER above 0.60 in conjunction with ADX above 20 passes the efficiency gate.
// Fractal Efficiency Ratio
float ferNet = math.abs(close - close )
float ferPath = math.sum(math.abs(ta.change(close)), ferLen)
float ferVal = ferPath > 0.0 ? ferNet / ferPath : 0.0
2. Weighted Score Gating
The final bull and bear scores are compared against a minimum threshold (default: 70 of 100) and a minimum directional lead (default: bull must exceed bear by at least 20 points). Both conditions must hold simultaneously before a signal is considered.
bool longSignal = bull >= threshold and (bull - bear) >= scoreGap
and inSession and noiseGate and vwmaGate and stGate and ribbonGate
3. Optional Confirmation Gates
Five binary gates can be independently enabled or disabled: VWMA(200) price relationship, Supertrend direction, 8-line HMA ribbon direction, ADX minimum threshold (noise filter), and session time filter. Each gate is AND-logic — all enabled gates must pass before a signal fires.
4. Kaufman Adaptive Moving Average
The momentum pillar uses KAMA rather than a standard moving average. KAMA adjusts its smoothing constant based on the Efficiency Ratio of recent price movement, reacting quickly during trending phases and becoming nearly flat during choppy periods.
5. 8-Line HMA Gradient Ribbon
Visual context is provided by an 8-line Hull Moving Average ribbon (using every other increment for performance while retaining the full gradient effect). A normalization factor (ribbon spread divided by its 200-bar EMA, clamped to -1 to +1) drives a color gradient from the bear theme color to the bull theme color. The gradient reflects conviction intensity, not just direction.
6. Trade Block Visualization
When a signal fires, entry, stop, and up to four take-profit levels are plotted as horizontal lines and labeled at the right edge of the chart. Risk and reward zones are shown as translucent boxes. All drawn objects are updated every bar to extend rightward until closed.
Features
Nine-pillar weighted confluence scoring: Structure, Volume, Momentum, Liquidity, Volatility, Session, HTF Trend, Delta Pressure, and Fractal Efficiency each scored independently and summed
Configurable pillar weights: Each pillar's contribution to the total score is independently adjustable
Five optional binary gates: VWMA, Supertrend, HMA Ribbon, ADX noise filter, and session filter independently toggled
Threshold and directional lead gating: Score must exceed minimum AND directional lead must exceed gap before any signal fires
Extreme signal tier: Separate threshold for extreme confluence readings with distinct visual treatment
8-line HMA gradient ribbon: rFactor-normalized color gradient reflecting momentum spread intensity vs. its 200-bar historical average, with gradient fills between all adjacent ribbon lines
Gradient glow bar coloring: Glow color mode uses barcolor() to highlight signal bars in the bull or bear theme color; when disabled, falls back to RSI-intensity gradient bar coloring
Regime background tint: Subtle chart background tint on regime transitions, clearing after 10 bars
Four TP levels with live boxes and lines: TP1–TP4 plotted as gradient green lines and translucent boxes extending right in real time
Four stop modes: Supertrend, ATR cap, fixed percentage, pivot-based
Built-in backtest tracker: Win rate, expected value in R, and trade count
Four color themes: Phantom (cyan/magenta), Neon (teal/pink), Classic (green/red), Solar (orange/blue)
Institutional dashboard: 14-row table showing all nine pillar scores, signal state, and performance metrics
Non-repainting: All signals gated by barstate.isconfirmed; HTF request.security() uses lookahead=barmerge.lookahead_off
Input Parameters
Scoring Engine:
Min Score to Signal: Minimum composite score required (default: 70)
Extreme Score: Score for extreme tier (default: 90)
Min Directional Lead: Bull-bear gap required (default: 20)
Pillar Weights:
Individual weight sliders for each of the nine pillars (defaults sum toward 100)
Trend Gates:
VWMA Gate toggle and length (default: 200)
Supertrend Gate toggle, ATR length, multiplier
Ribbon Gate toggle, base length, step
ADX Noise Gate toggle and minimum ADX value
Signal Control:
Cooldown bars between signals (default: 5)
Session filter toggle and session string
Trade Levels:
Show Trade Block toggle
Stop mode: Supertrend / ATR Cap / Fixed % / Pivot
RR multiples for TP1, TP2, TP3, TP4 (defaults: 0.5, 1.0, 1.5, 2.0)
How to Use This Indicator
Step 1: Select a Theme and Configure Gate Sensitivity
Choose a color theme that suits your chart. Start with all five gates enabled and default weights. Observe signal frequency across several recent weeks of history.
Step 2: Interpret the Dashboard Score Rows
Each pillar row in the dashboard shows its current directional score in the stronger direction. A row colored in the bull theme means that pillar is contributing to bullish confluence. The Signal row shows the final output.
Step 3: Use Signals as Context, Not Directives
A signal fires when an unusual number of market dimensions agree. It does not predict how far price will move or guarantee a profitable outcome.
Step 4: Set Stop Mode Before Live Use
The Supertrend stop mode trails the stop with the Supertrend level. ATR Cap limits maximum stop distance. Fixed % uses a fixed percentage of price. Pivot uses the last confirmed structural pivot.
Step 5: Review Backtest Statistics Skeptically
The win rate and expected value displayed are calculated from signal history on the current chart only. They reflect past performance on historical data. Optimizing weights to maximize these numbers on a single chart produces overfitted results that will not generalize.
Indicator Limitations
Pivot-based pillars (Structure, Liquidity) confirm with a lookback offset — the structural event is labeled bars after it occurred. This is non-repainting behavior inherent to pivot detection
The Fractal Efficiency gate may delay signals following sharp, fast moves where path length temporarily normalizes
High pillar weights placed on a single pillar can effectively reduce this to a single-factor indicator. Weight distribution should be reasonably balanced
The session pillar score assumes intraday context. On daily and higher timeframes, it contributes a neutral fixed value
The backtest tracker embedded in this indicator does not account for slippage, commission, or partial fills. It is not a substitute for a properly configured strategy backtest
Enabling all gates simultaneously will produce very few signals. Tune gate selection to the market and timeframe being analyzed
Originality Statement
Prismatic Depth is original in its nine-pillar architecture and the specific combination of inputs it assembles. This publication is warranted because:
The Fractal Efficiency Ratio as a scoring pillar and gate condition — measuring the directional efficiency of price movement over a lookback, distinct from ADX — is not present in existing open-source Pine Script v6 publications as of this writing
Weighted pillar scoring where the user controls the relative contribution of each dimension, combined with both a score threshold and a directional lead gap as dual gatekeeping conditions, produces a more selective output than threshold-only systems
The Delta Pressure pillar — computing a composite of volume delta ratio, volume rate versus average, and candle body compression — is an original implementation distinct from standard OBV or CMF approaches
The combination of nine independently scored dimensions with five independently toggled binary confirmation gates in a single configurable framework, with a built-in per-signal performance tracker, is not replicated in existing open-source publications
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Confluence readings are based on historical price data and do not guarantee any future market outcome. Past win rate statistics shown by the built-in tracker do not predict future performance. Always apply proper risk management. The author accepts no responsibility for trading losses resulting from the use of this indicator.
Made with passion by jackofalltrades
Indicator

HTF Delta Flux + Liquidations [BigBeluga]HTF Delta Flux + Liquidations is a high-timeframe order flow diagnostic tool that visualizes the internal volume dynamics of macro candles. By projecting Higher Timeframe (HTF) structures onto your current chart, it reveals the "Flux"—the movement of Cumulative Volume Delta—and identifies high-velocity volume spikes often associated with liquidations.
Unlike standard indicators that only show a candle’s open and close, this script breaks down the aggressive buying and selling that occurred inside the candle’s duration.
🔵 CONCEPTS
HTF Candle Boxes: Automatically draws the body and wicks of a higher timeframe (e.g., Daily or Weekly) over your intraday price action.
The Delta Flux Curve: An internal polyline that maps the path of Cumulative Volume Delta within the HTF candle. This allows you to see if a candle’s volume was "front-loaded" or "back-loaded."
Full Body Mode: A visual toggle that expands the candle box to cover the entire High-Low range, creating a "Liquidity Zone" view.
Cumulative Delta Dashboard: A real-time table tracking the last N HTF candles, displaying their directional bias, total delta, and the volume contributed by liquidation flushes.
🔵 THE SYNTHETIC LIQUIDATION ENGINE
It is important to note: This indicator does not use real-time exchange liquidation API data. Since PulseWire does not provide native exchange-level liquidation feeds for all symbols, this tool uses a Volume-Based Proxy to identify liquidation-like events.
How it works:
The engine monitors the rate of change in Volume Delta. When a volume spike exceeds a specific Standard Deviation threshold relative to recent activity, it identifies a "Liquidity Flush." In the market, these extreme, sudden bursts of volume often correlate with forced liquidations or stop-run cascades.
Circle Markers: Appear at the high or low of the bar where the flush occurred.
Volume Labels: Display the specific amount of aggressive delta that triggered the signal.
🔵 FEATURES
Customizable HTF Timeframe: Analyze Daily, Weekly, or even Monthly order flow on 1-minute or 5-minute charts.
Standard Deviation Sensitivity: Fine-tune the "Dev Threshold" to filter out minor volume noise and only highlight the most significant liquidity events.
Live Delta Tracking: The current "Live" candle displays a real-time count of the active delta flux.
Historical Bias Analysis: The dashboard calculates the average bias and liquidation volume over your selected history to identify macro trend exhaustion.
🔵 HOW TO USE
Spotting Absorption: If you see a large Bullish HTF candle but the Delta Flux Curve is trending downward, it suggests aggressive selling is being absorbed by limit buyers.
Trading the "Flush": Liquidation labels (circles) often mark the local top or bottom of a move. When a "Liq" label appears after a fast price extension, it frequently signals a temporary exhaustion of the move.
Trend Confluence: Use the Dashboard to see if "Average Liq Volume" is increasing. Rising liquidation volume at the end of a trend often precedes a major reversal.
Intra-Candle Context: Watch the Delta Curve . If price is moving higher but the curve is flat, the move is likely low-conviction and prone to a retracement.
🔵 CONCLUSION
HTF Delta Flux + Liquidations bridges the gap between macro structure and micro order flow. By transforming raw volume into a visual "Flux" path and highlighting mathematical volume anomalies, it provides traders with a sophisticated map of institutional aggression and retail exhaustion. Indicator

Indicator

Aurora Compass [JOAT]Aurora Compass
Aurora Compass is a higher-timeframe volume-profile overlay with smart-money-weighted bin coloring, Point of Control (POC) tracking, Value Area High / Value Area Low boundaries, top-three High Volume Node (HVN) full-chart-width zones, low-volume node markers, liquidity-sweep detection with persistent price labels, an inter-interval POC drift trail, profile imbalance and HVN-rotation alerts, and a right-side 21-segment bias compass.
What makes it different
Traditional volume profile shows raw volume distribution. Aurora Compass weights each candle's contribution by a normalized Negative Volume Index delta, emphasising bars where institutions tend to transact (NVI-up days). The result highlights levels of smart-money concentration, not just raw turnover.
Full-chart-width HVN zone boxes (not just thin borders) make the top three nodes obvious across the entire visible price history.
Value Area High and Value Area Low are computed and drawn. The price boundaries that bracket 70% of profile volume. These are first-class horizontal levels with right-edge labels.
An inter-interval POC drift trail draws a line from each interval's POC midpoint to the next, colored by direction. You can read multi-day POC migration at a glance.
Liquidity sweeps are detected when price wicks beyond an HVN and the candle body closes back through. The script prints a persistent price label, not just a marker.
How it works
Higher-timeframe rollover is detected via ta.change(htfTf). No request.security is used. The profile is constructed from local bars within the interval.
The price range within the active interval is binned into res slices. For each bin, the script accumulates total volume and smart-money-weighted signed volume.
POC is the bin midpoint with the maximum total volume. Value Area is computed by expanding outward from POC until cumulative volume reaches 70%.
Top three bins by volume become HVNs. Bottom three become LVNs, where breakouts tend to accelerate through low-resistance areas.
Sweep markers fire when a wick pierces an HVN boundary and the body closes the other side.
POC drift in ATR units is tracked across interval boundaries. Imbalance is the absolute net signed volume divided by total volume.
Reading the chart
Heatmap boxes for each bin, transparency-modulated by relative volume share. Smart-money weighting tints them mint or red according to net flow direction.
POC dashed horizontal line extends across the visible chart with a right-edge price label that includes the inter-interval drift in ATR units.
VAH and VAL dashed lines with right-edge labels.
Three HVN full-width zones with right-edge price and volume labels.
Three LVN border-only highlights (visually distinct from filled HVN).
HTF interval boundary dotted vertical lines (capped to last 20 intervals).
Per-interval sentiment timeline labels above each historical interval's high.
Liquidity sweep labels at sweep wicks (for example SWEEP 4520.50).
Inter-interval POC drift trail (capped to last 10 segments).
Right-side 30-segment vertical bias gauge with horizontal sight-line and pointer label.
Signals
Bullish / bearish liquidity sweep
Bullish / bearish POC drift
HVN touch
HVN rotation (top-3 ordering changed between intervals)
Profile imbalance bull / bear (net signed volume crosses the threshold)
VAH / VAL touch and Value Area reclaim (up / down breakouts)
All gated on barstate.isconfirmed or barstate.ishistory. No future references.
Inputs
HTF Profile : higher timeframe selector, profile resolution, intensity scale, show heatmap, show POC, show HVN.
Cross-Interval : HTF interval markers, sentiment timeline, POC trail, LVN bands, sweep labels, gauge, sentiment label, Value Area, HVN zones, imbalance threshold.
Sweep : detection toggle.
Visual : bullish / bearish colors, intensity scale.
Dashboard : position, size.
How traders use this
HVN reactions : the top-three HVN zones are the levels most likely to attract price retests. Look for rejections or breakouts at these levels.
LVN acceleration : when price enters a low-volume bin, expected travel speed is faster. These are thin-air zones useful for measured-move targets.
Sweep then reclaim : a bull sweep where price wicks below an HVN and closes above is a classic stop-hunt-then-reverse pattern.
POC drift : a series of mint trail segments showing upward POC migration across multiple HTF intervals is a structural up-trend signal independent of price action on the LTF.
Value Area : trading within Value Area is range / rotation behavior. Trading outside is trend / discovery behavior.
Limitations
The profile is built from local LTF bars within an HTF interval. Resolution and quality scale with how many LTF bars fit in the HTF window. Daily HTF with 1-minute LTF gives the richest profile.
Smart-money weighting via NVI is a proxy. It is not a substitute for true tick-level order-flow data.
HVN / LVN selection is recomputed each bar and may shift as new volume arrives within an interval. Once the interval closes the profile is locked.
For very illiquid instruments the profile is sparse and the levels are less informative.
Compatibility
Pine Script v6 open-source indicator. Any symbol with volume data. HTF must be strictly higher than the chart timeframe. No external request.security calls. Non-repainting: signals fire on confirmed bars.
Defaults
Daily HTF, 30 bins, mint / red palette, top-right medium dashboard. For higher resolution increase the bin count. For noisier instruments raise the imbalance threshold.
Indicator

Quant Synthesis Strategy [JOAT]Quant Synthesis Strategy
Introduction
QSS Quant Synthesis Strategy is an open-source PulseWire strategy that integrates regime detection, higher-timeframe bias, confirmed structure, session opening-range context, volume participation, trend energy, ATR exits, cooldowns, and session risk controls.
The strategy is designed as a realistic research baseline, not an optimized profit promise. Its purpose is to demonstrate how the JOAT indicator concepts can be combined into a non-repainting strategy framework with explicit risk management.
Core Concepts
1. Market Regime Detection
The regime model uses EMA spread, ADX from DMI, and ATR percentage context to classify Trend, Expansion, Balance, or Transition.
2. Higher-Timeframe Bias
The strategy requests higher-timeframe EMAs with lookahead disabled. Long bias requires the HTF fast EMA above the slow EMA with positive slope; short bias is mirrored.
3. Confirmed Structure
Pivot-based structure checks whether recent highs and lows form bullish or bearish structure. Pivot confirmation is delayed by design to avoid repainting.
4. Session Opening Range
The strategy tracks a configurable trading session and opening range. Entries can require session context so trades are not taken randomly outside the selected window.
5. Risk and Exits
Position size is estimated from a percentage of equity and ATR stop distance. Exits include ATR stop, ATR target, maximum bars in trade, regime/bias exit, cooldown, and session flattening.
Features
Regime engine: Trend, Expansion, Balance, and Transition classification
HTF bias filter: Uses non-lookahead request.security() higher-timeframe EMAs
Confirmed structure filter: Pivot-based bullish/bearish structure state
Session opening range: Optional session context for entries
Volume participation filter: Uses volume z-score and directional volume
Confluence score: Separate long and short scores gate entries
ATR exits: Stop loss and take profit scale with volatility
Risk controls: Risk percent, cooldown, max entries per session, max bars in trade, and session flattening
Visuals: EMA cloud, opening-range lines, stop/target plots, and top-right dashboard
Default Strategy Properties
Initial capital: 100000
Commission: 0.01 percent
Slippage: 1 tick
Pyramiding: 0
Order processing: process orders on close
Position sizing: fixed quantity calculated internally from risk settings
How to Use
Step 1: Select a market and timeframe with enough historical data.
Step 2: Review the dashboard regime and HTF bias before interpreting trades.
Step 3: Adjust risk percent, ATR stop, ATR target, cooldown, and session settings conservatively.
Step 4: Evaluate results across multiple symbols and timeframes. Avoid optimizing only one market segment.
Limitations
Backtest results are historical simulations and do not guarantee future performance
More trades can increase sample size but can also increase noise and transaction costs
Pivot confirmation creates intentional signal delay
Strategy results depend on symbol liquidity, timeframe, session settings, slippage, and commission assumptions
The strategy is a research framework, not a recommendation to trade
Originality Statement
QSS is an original JOAT strategy framework that integrates regime detection, HTF bias, structure, session context, volume participation, and ATR risk management into one non-repainting Pine Script v6 strategy.
Disclaimer
This strategy is for educational and informational purposes only. It is not financial advice and does not guarantee profitability. Trading involves substantial risk of loss. Historical backtests can be inaccurate or misleading if assumptions do not match live execution.
Made with passion by jackofalltrades
Strategy

Indicator

Meridian Imbalance Ledger [JOAT]Meridian Imbalance Ledger
Introduction
Meridian Imbalance Ledger is an open-source imbalance mapping tool that tracks confirmed chart-timeframe, higher-timeframe, and micro-structure fair value gaps inside one coordinated framework. The script is designed to answer three practical questions: where imbalance was created, whether that imbalance is still active, and how price is behaving when it returns to those zones.
The indicator solves a context problem. Many imbalance tools only mark a gap once and leave the trader to manually judge whether it remains relevant. Meridian instead maintains a living ledger of active zones, inversion status, fill progress, age, and structural pressure so the chart shows which imbalances still matter and which ones have been consumed.
Core Concepts
1. Multi-source imbalance detection
Meridian separates imbalance generation into three sources:
Chart timeframe imbalances
Higher-timeframe imbalances requested with non-repainting offset logic
Optional micro-structure imbalance scans from lower-timeframe data
This allows a trader to see whether current price is interacting with local inefficiency, inherited higher-timeframe inefficiency, or smaller sub-bar displacement inside the current bar structure.
2. Fill progress and retirement logic
Each zone remains active until its fill rule is satisfied. The script supports configurable retirement behavior so zones can be treated as mitigated on a simple touch, midpoint interaction, or deeper body-based invalidation depending on the chosen rule set.
3. Inversion tracking
If price meaningfully breaches an imbalance, the zone can be treated as structurally altered rather than simply forgotten. Meridian keeps inversion state so prior bullish inefficiency can become resistance context and prior bearish inefficiency can become support context.
4. Age and pressure weighting
Not all zones deserve equal weight. Meridian tracks zone age and active count to create a pressure ratio that helps communicate whether bullish or bearish imbalance structure is dominating the chart right now.
Features
Chart, HTF, and micro imbalance layers: Multiple imbalance sources displayed in one coordinated ledger
Non-repainting HTF requests: Higher-timeframe data requested using historical offsets for safer confirmed context
Fill-progress tracking: Zones remain active until their configured retirement condition is met
Inversion state handling: Breached imbalances can remain visible as flipped structural context
Age-aware zone fading: Older zones visually decay to reduce clutter while retaining context
Pressure ratio and active counts: Quick read on whether bullish or bearish imbalance pressure is leading
Compact top-right dashboard: Displays counts, inversion totals, micro scan status, and bias ratio
Confirmed-bar alerts: New imbalance, inversion, and state transitions only trigger on confirmed bars
How to Use This Indicator
Step 1: Identify whether current price is trading inside fresh chart-timeframe imbalance or approaching older inherited imbalance from a higher timeframe.
Step 2: Use the dashboard counts and bias ratio to judge whether current imbalance structure is skewed toward support or resistance.
Step 3: Monitor inversion states. A previously bullish zone that has failed cleanly may become useful resistance context on retests.
Step 4: Treat micro imbalance scans as execution detail, not a standalone trend signal. The broader chart and HTF layers should carry more decision weight.
Limitations
Micro-structure scans depend on lower-timeframe availability and plan limits
HTF imbalances are intentionally delayed by one completed HTF bar to reduce repaint risk
An imbalance zone is contextual, not a guarantee of reversal or continuation
Originality Statement
Meridian Imbalance Ledger is original in the way it combines confirmed chart imbalances, non-repainting higher-timeframe imbalance inheritance, optional micro scans, and zone lifecycle management into one stateful framework. The script is intended as a structured market context layer, not a one-click entry signal.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not provide financial advice or trade recommendations. Imbalance reactions can fail, invert, or be ignored entirely by the market. Always use independent confirmation and risk management.
Indicator

Temporal Candle Grid [JOAT]Temporal Candle Grid
Overview
Temporal Candle Grid is a multi-timeframe structural confluence indicator that automatically pairs the current chart timeframe with a logical higher timeframe (HTF), fetches the HTF's open, high, low, and close series using non-repainting request.security() calls, and renders the resulting HTF candle geometry as a precision box overlay on the lower timeframe chart. Confirmation counters, buy-side/sell-side liquidity labels, and Fair Value Gap detection operate on confirmed bars only, giving traders a clean, lag-aware view of where HTF price structure begins and ends.
Intelligent Auto-Pairing
The indicator contains a timeframe pairing table that maps the current chart to a contextually appropriate higher timeframe without any manual configuration:
- 1m chart → 15m HTF
- 5m chart → 1H HTF
- 15m chart → 4H HTF
- 1H chart → Daily HTF
- 4H chart → Weekly HTF
- Daily chart → Monthly HTF
This auto-pairing logic ensures the HTF candle shown is always meaningfully larger than the current view — avoiding the degenerate case of pairing a 5m chart with a 10m HTF, which provides almost no additional information.
Users may override the auto-pair by specifying a custom HTF via input.
Non-Repainting HTF Data
Four separate request.security() calls retrieve HTF open, high, low, and close using:
- close offset on the HTF series (current-bar data from the HTF is never used)
- barmerge.lookahead_off
This combination guarantees that the HTF values shown were already fixed before the current bar opened — making the indicator safe for signal generation and alert use without lookahead contamination.
HTF Candle Box Rendering
The HTF candle is rendered as a transparent box spanning the full high-to-low range, with an inner body box (open-to-close) rendered in the candle direction colour (teal for bullish, red for bearish). At each HTF boundary (detected via ta.change() on the HTF open), the previous candle's boxes are finalised and new boxes begin drawing. This creates a visual grid of HTF candles overlaid on the lower timeframe, making the internal structure of each HTF bar immediately visible.
Confirmation Counter for HTF Range Breaks
Rather than signalling the moment price crosses an HTF boundary, the engine counts consecutive closes above the HTF high (for bullish breaks) or below the HTF low (for bearish breaks). A break is only confirmed after the count reaches a configurable threshold (default 2 consecutive closes). This eliminates wick-driven false breaks that resolve within the same HTF session.
Buy-Side / Sell-Side Liquidity Labels (BSL / SSL)
When a confirmed HTF high break occurs, the BSL (buy-side liquidity) level is marked with an upward label at the HTF high. When a confirmed HTF low break occurs, an SSL (sell-side liquidity) label is stamped at the HTF low. These labels persist and serve as reference levels for future pullbacks — common targets in institutional liquidity analysis.
Fair Value Gap Detection
Running on the current timeframe, the FVG engine identifies three-bar price gaps:
- Bullish FVG: Current bar's low is above the high from two bars ago — a gap in downside coverage indicating aggressive buying
- Bearish FVG: Current bar's high is below the low from two bars ago — a gap in upside coverage indicating aggressive selling
FVG boxes are drawn spanning the gap range and extend forward for 30 bars, rendering as reference zones for expected price return.
HTF Candle Projection
On the last bar (barstate.islast), the current in-progress HTF candle is projected forward as a semi-transparent dashed box, giving traders a visual reference for the current HTF session's range as it develops in real time.
Dashboard
A compact table at the bottom right displays:
- Current chart TF and detected HTF
- HTF candle direction (BULL / BEAR)
- Current break confirmation count
- Number of active BSL / SSL levels
- FVG status (open / filled) for the most recent gap
Inputs Reference
- Custom HTF Override — leave blank for auto-pair, enter a TF string (e.g., "60") to override
- Confirmation Bars Required (2) — consecutive closes beyond HTF range before break is confirmed
- Show HTF Candle Boxes — toggles the HTF overlay
- Show BSL / SSL Labels — toggles liquidity sweep labels
- Show FVG Boxes — toggles fair value gap boxes
- FVG Lookback (50) — how many bars back to scan for active FVGs
- Max BSL / SSL Labels (10) — prevents label accumulation over long sessions
- Theme: Dark, Light, Auto
How to Use
1. Apply on a 5m, 15m, or 1H chart. The indicator auto-detects the appropriate HTF.
2. The HTF candle boxes show the full range of each higher-timeframe session. Price tends to respect the HTF open, high, and low as decision levels.
3. Wait for the confirmation counter to reach the threshold before treating a HTF range break as confirmed.
4. BSL labels above prior HTF highs and SSL labels below prior HTF lows indicate pools of resting orders — common institutional sweep targets.
5. FVG boxes within the current HTF candle body often act as intra-session return targets.
Non-Repainting Design
All HTF data uses close with lookahead_off. Break signals require barstate.isconfirmed. FVG detection is based entirely on confirmed historical bars. The projection box at barstate.islast is explicitly marked as in-progress and does not generate signals.
Limitations
- Auto-pairing is based on standard timeframe relationships. Non-standard chart intervals (e.g., 3m, 7m) default to the nearest logical pair.
- The confirmation counter approach adds 1–2 bars of lag to break signals. This is intentional and necessary for non-repainting accuracy.
- On very fast-moving instruments, HTF candle boxes may be violated frequently, limiting their utility as structural references.
- FVG relevance degrades significantly on very high timeframes (Daily+) where gaps are rare and may take weeks to fill.
Disclaimer
This indicator is for educational and informational purposes only. Multi-timeframe structure analysis describes historical price behaviour and does not guarantee any specific future market outcome. Conduct your own analysis and use proper risk management at all times.
Made with passion by officialjackofalltrades
Indicator

MTF-Auto-Triad SMT Engine [TradeSymmetry]MTF-Auto-Triad SMT Engine
This indicator puts institutional order flow front and center, featuring an automated Multi-Timeframe (MTF) liquidity divergence engine as its core, supported by built-in helper tools for higher timeframe market structure and momentum tracking.
Built to eliminate chart clutter while maximizing actionable data, this tool is engineered for traders executing high-probability, asymmetric setups on intraday execution timeframes.
🔥 Core Feature: The SMT Engine
Stop manually typing in comparison tickers every time you switch assets. The Auto-Triad system instantly detects the asset class you are viewing and automatically scans correlated markets for Smart Money Tool (SMT) divergences across multiple timeframes simultaneously.
Supported Triads: * Indices: NQ1!, ES1!, YM1!
Forex: EURUSD, GBPUSD, DXY
Metals: XAGUSD, XAUEUR, XAUGBP, GC1!
Oil: CL1!, RB1!, HO1!
🛠 Built-In Helper Tools
1. Dynamic HTF Boxes with Time stamping
Keep your higher timeframe narrative locked in while executing on the LTF.
Live-Tracking OHLC: Project custom Higher Timeframe boxes (e.g., 1H, 4H, Daily) directly onto your execution chart.
Open Time Anchors: The Open level of your HTF box automatically pulls the exact timestamp of when that session began (e.g., 09:30 4H-OPEN), giving you crucial temporal context right at the point of execution.
2. Time-Price Velocity (TPV) Candles
Traditional candlesticks only show price action. The TPV engine colors your candles based on mathematically smoothed, ATR-normalized momentum.
Identify exactly when momentum is accelerating or decelerating inside a move.
Built-in dashboard shows live velocity metrics, trend direction, and acceleration changes.
💡 How to Use This Tool (The TradeSymmetry Setup)
This indicator is built to execute a strict, structural trading workflow. Follow these core steps:
1. Identify Your POI & Wait for the Sweep/Tap
Frame your narrative and identify your draw on liquidity. Wait patiently for price to sweep a key structural extreme (Session, Daily, Weekly, Monthly Highs/Lows, or Equal Highs/Lows). Alternatively, wait for price to tap into a high-probability Fair Value Gap (FVG) or Order Block (OB).
2. Confirm Institutional Footprints (SMT)
Once price reaches your POI, look for an SMT Divergence to print via the Auto-Triad engine. This confirms that correlated assets are failing to make the same high or low—the ultimate footprint of smart money accumulation or distribution.
3. Wait for the Shift & Open Level Validation
Look for a clear Market Structure Shift (MSS) or Change in State of Delivery (CISD).
Crucial Rule: If you are taking a bullish setup, ensure your trigger candle closes cleanly above the Open level. For a bearish setup, the candle must close cleanly below the Open level.
4. Execute the Trade
Once all criteria are met, use the momentum color shift in the TPV candles as your final entry trigger. Target asymmetric risk-to-reward setups (1:3 or 1:5 R:R) based on the next structural draw on liquidity.
⚙️ Customization
Everything is modular. Don't want the TPV colors? Turn them off. Want to use a custom 4-asset comparison instead of the Auto-Triads? Switch to Manual mode. Every line and label size can be custom-colored to fit your exact visual style.
Trade with symmetry. Indicator

HTF S&D ZonesThis indicator is a comprehensive Supply and Demand engine designed to identify and track significant price levels from a Higher Timeframe (HTF) onto your current chart. It features a dynamic scoring system and automated lifecycle management to filter out weak levels and focus on high-probability zones.
Core Functionalities -
Multi-Factor Scoring Engine (0-100): Every zone is assigned a real-time score based on its initial formation and subsequent price action:
Departure Strength: Measures how explosively price moved away from the zone.
Volume Confirmation: Evaluates relative volume at the time of the zone's creation.
Zone Tightness: Thinner zones are weighted more heavily for higher precision.
Freshness & Age: Bonus points are awarded to untested zones, with a gradual decay for older ones.
Dynamic Lifecycle & Mitigation:
Test Tracking: Automatically counts "touches" (mitigations). Zones fade in visibility as they are tested and are deleted once they reach a user-defined test limit or fall below a minimum score.
Polarity Flipping: If a zone is breached by a candle close, it can optionally "flip" (e.g., Supply becomes Demand) rather than being deleted, maintaining its historical significance as a support/resistance flip.
On-Chart Dashboard: A real-time table that sorts active zones by score, displaying critical data like price level, test count, and volume ratio.
Visual Intelligence:
Transparency Scaling: Stronger, higher-scoring zones appear bold, while weak or exhausted zones become increasingly transparent.
Proximity Highlighting: Zones brighten and borders thicken when price enters the alert distance of a high-score level.
Usage -
Volatile Assets (NQ/ES): Increase the Min Departure (×ATR) and Edge Padding to filter out market noise and account for price "wicking" through levels.
Clean Charts: Set the Min Score threshold (e.g., 50) to automatically hide low-probability or exhausted zones.
Trend Alignment: Use the dashboard to identify Fresh (●) zones for high-probability reversals or Flipped (⟲) zones for S/R flip entries. Indicator
