Smart Money Concepts - Regime-Adaptive SMC [Dots3Red]█ SMART MONEY CONCEPTS — REGIME-ADAPTIVE SMC
This indicator attempts to bridge a gap that most SMC traders encounter in practice: the same pattern — an Order Block, a Fair Value Gap, a structure break — behaves differently depending on whether the market is trending or ranging. A bullish Order Block in a trending market is a continuation entry zone. The same pattern near the top of a range is a reversal signal. This script uses a built-in regime classifier to determine the current market character on every bar, then filters and interprets each SMC concept accordingly.
█ HOW THE REGIME CLASSIFIER WORKS
Three measurements are combined into a single trend score on every bar:
ADX (Average Directional Index) measures how strongly price is committed to a direction. It is normalized from its natural 0–60 range to a 0–1 scale by dividing by 60.
Choppiness Index measures directional efficiency — how much of price movement was "wasted" going sideways versus producing net progress. It is inverted so that high choppiness produces a low score. Near 38 (the Fibonacci trend boundary) the normalized value approaches 1.0. Near 100 (pure chop) it approaches 0.0.
The two values are averaged:
trend_score = (adx_normalized + choppiness_inverted_normalized) / 2
A score above 0.6 identifies a trending market. A score below 0.6 identifies a ranging market.
Volatility override: a separate check compares current ATR against its 50-bar SMA. If the ratio exceeds 1.5× the baseline, the regime switches to VOLATILE regardless of the trend score — because during genuine volatility expansion, both trend and reversal signals become unreliable.
Finally, a mode filter examines the last 6 raw regime values and returns the most frequent one. This prevents the regime from flickering on borderline readings.
█ WHAT EACH REGIME SHOWS
TRENDING (cyan bars): Market is moving directionally. Shows BOS labels confirming continuation, Order Blocks created at displacement-qualified BOS bars as continuation entry zones, and Fair Value Gaps as pullback targets in the trend direction. CHoCH signals are hidden — in a trend, CHoCH is usually a deep pullback, not a reversal.
RANGING (magenta bars): Market is oscillating between levels. Shows CHoCH labels flagging potential reversals at range extremes, Order Blocks at CHoCH bars as reversal entry zones, and Fair Value Gaps near range boundaries. BOS signals are hidden — a structure break in a ranging market is usually a liquidity sweep, not a genuine breakout.
VOLATILE (amber bars): ATR has expanded significantly above its baseline — earnings, macro events, sudden liquidations. Order Blocks and FVGs are suppressed because zones created during volatility spikes are historically unreliable. Structure labels (BOS) remain visible for position tracking only.
UNCERTAIN (slate bars): The classifier cannot confidently assign a regime. All signals are displayed so the trader has maximum information. This state occurs during the warmup period and at genuine transition boundaries.
█ ORDER BLOCK DETECTION
Order Blocks require an additional displacement filter before they are created. The body of the candle immediately before the BOS or CHoCH must exceed 0.8× ATR in absolute size. This ensures only candles with institutional-grade momentum qualify — eliminating the low-quality OBs that make most SMC scripts visually cluttered.
Mitigation uses standard ICT methodology: a bullish OB is consumed when price's low touches the top of the zone. A bearish OB is consumed when price's high touches the bottom of the zone. Consumed zones fade visually and stop extending.
█ FAIR VALUE GAP DETECTION
A bullish FVG exists when the high of candle is below the low of candle — a genuine three-candle imbalance where price moved too fast to fill. A minimum size filter of 0.15× ATR removes noise gaps. FVGs extend forward until price enters the gap, at which point they fade and stop tracking.
█ PREMIUM / DISCOUNT ZONES
Two horizontal lines divide the current 25-bar swing range:
• 75% level (red): price is in the upper quartile of the recent range — statistically expensive. In ranging markets this is a sell consideration zone.
• 25% level (green): price is in the lower quartile — statistically cheap. In ranging markets this is a buy consideration zone.
The HUD displays the current percentage position within the range in real time.
█ SMC BIAS MATRIX
The HUD includes a composite directional score built from three components:
• Structural trend (35 points): which direction is the structural_trend state machine currently pointing
• Premium / Discount position (30 points): which side of the range is price on
• Regime alignment (35 points): does the regime confirm the directional bias
In VOLATILE and UNCERTAIN regimes the bias is forced to 50% and displays "STAND ASIDE" or "WAIT FOR REGIME" — because the script suppresses OB and FVG signals in those states, showing a directional bias would contradict its own logic.
█ WHAT YOU SEE ON THE CHART
• Bar colors: every bar is tinted by the current regime — cyan (trending), magenta (ranging), amber (volatile), slate (uncertain). No labels or background fills — just the candles themselves change color, keeping the chart clean.
• BOS / CHoCH labels: small labels appear above swing highs (bullish breaks) or below swing lows (bearish breaks), offset by 1.5× ATR so they never overlap candle bodies.
• Order Block boxes: semi-transparent boxes that extend bar by bar until mitigated, then fade. Maximum 4 per direction.
• FVG boxes: thin semi-transparent boxes extending until filled, then fading. Minimum size filtered.
• Premium/Discount lines: two step-lines showing the 75% and 25% boundaries of the current swing range.
• HUD: regime state, confidence bar, bias matrix, P/D zone, ADX, Choppiness Index, ATR ratio, and live counts of active OBs and FVGs.
█ ALERTS
Seven alert conditions are available: Bull BOS, Bear BOS, Bull CHoCH, Bear CHoCH, Regime → Trending, Regime → Ranging, Regime → Volatile.
█ NOTES ON SETTINGS
• Regime Smoothing Filter: 5–7 for intraday charts, 8–12 for daily/weekly. Lower values react faster but produce more regime transitions.
• Volatile ATR Mult: 1.8–2.0 for stock indices (earnings create genuine 2× spikes), 1.4–1.6 for crypto and forex.
• OB Displacement Mult: 0.5–0.8 for daily charts where candles are naturally larger, 1.0–1.5 for intraday.
• Swing Pivot Length: 5–7 for intraday, 7–10 for daily/weekly.
█ DISCLAIMER
This indicator is a technical analysis tool. It does not constitute financial advice and does not guarantee future results. Past patterns do not predict future price behavior. Use appropriate risk management on all trades. Indicator

Confluence FVG Finder | ProjectSyndicateConfluence FVG Finder automatically identifies and validates high-probability, non-repainting Fair Value Gaps. It filters for structural quality using an ATR-based imbalance filter, normalizes all zone heights for consistency, and embeds a live multi-timeframe confluence engine inside every zone to provide a quantifiable, data-driven edge.
🧠 Live Multi-Timeframe Engine — This is not a single-timeframe tool. Every FVG zone displayed on the chart is the result of a live, proximity-based confluence engine scanning three independent higher timeframes (default H1, H2, H4) simultaneously. Each label shows exactly how many timeframes confirmed the zone, its composite strength rating (0–10), the session it formed in, its age, and its exact pip height, giving you an instant structural edge.
🎯 Imbalance-Validated FVGs — The engine doesn't just mark any three-candle gap. It validates each Fair Value Gap on the higher timeframes by requiring the gap to exceed a user-defined multiple of ATR, filtering out insignificant micro-gaps and focusing only on imbalances that reflect true market-moving intent before they are even considered for merging.
🎨 ATR-Normalized Zones — Eliminates visual noise from inconsistent gap sizes. This feature forces every merged FVG zone to a uniform, ATR-based height (e.g., 0.75x ATR). This provides a clean, consistent chart and allows for a more objective analysis of price interaction with zones of equal visual weight, preventing oversized gaps from distorting the chart.
📊 Proximity-Based Merging — Timeframes rarely align perfectly to the pip. The confluence engine uses an intelligent ATR-based proximity tolerance to detect when Fair Value Gaps from different timeframes are clustered in the same price territory. It then mathematically merges them into a single, high-probability "Confluence Zone," ensuring you don't miss valid setups due to minor price discrepancies across timeframes.
✅ Chart-Timeframe Independent — The engine's credibility comes from its architectural stability. Each timeframe is detected entirely inside its own data context and every zone is anchored to the timestamp it formed on, so — unlike standard MTF indicators that repaint or shift zones depending on the chart you are viewing — the merged zones are mathematically identical whether you view them on a 5-minute, 15-minute, or 1-hour chart.
🔧 Fully Customizable — Control every aspect of the engine, including the 3 target timeframes (default H1 / H2 / H4), the Minimum Timeframe Confluence threshold (e.g., require 3 out of 3 TFs), the Proximity Tolerance multiplier, the Minimum Strength Filter, the per-timeframe strength bonus, the mitigation mode (Touch / Full Fill / 50% Fill), and the colors/visibility of Bullish and Bearish zones.
🔬 Why this algo is unique: Standard FVG indicators are subjective — often just shading every three-candle gap on the current timeframe with no proof of higher-timeframe alignment. The Confluence FVG Engine transforms this into an objective, multi-dimensional instrument. It doesn't just show you a gap; it proves the imbalance is backed by aligned intent across multiple timeframes, merging them into a single, undeniable area of interest on the exact chart you are viewing.
🌐 Apply to Gold (XAUUSD), Indices (US30, NAS100), Forex Majors, and Crypto. With the default H1 / H2 / H4 structure, execute from any timeframe at or below H1 (1m–1h) while the engine tracks the H1, H2, and H4 imbalances. The engine is designed for assets that exhibit clear impulsive moves and respect deep supply/demand dynamics.
🗂️ How to use this? The most critical metrics are the Timeframe Confluence Count and the Strength Rating. A zone confirmed by 3 timeframes with a Strength of 8.0+ indicates a massive structural edge. Consider only taking trades from these high-confluence zones that align with the prevailing higher-timeframe trend. The embedded label also shows the exact "pips away" distance, allowing for precise limit order placement. Note: Timeframe 1 is the anchor — keep your chart at or below it (H1 by default) so zones render exactly; an on-chart warning appears if your chart timeframe is set higher.
⚙️ IMPORTANT NOTICE: This indicator is a professional-grade tool designed to identify structural confluence. It should NOT be used as a standalone signal for entering trades blindly. Always use it in conjunction with your own trading strategy, price action analysis, and strict risk management to confirm trade setups. Indicator

Market Structure & LiquidityMARKET STRUCTURE & LIQUIDITY — Calibrated Zones, Premium/Discount & Setup Grade
================================================================================
WHAT THIS SCRIPT IS
A single price-action framework that maps the structural read of a chart and
then measures it. It plots market structure (break of structure and change of
character), supply/demand order blocks, fair value gaps, resting liquidity
(equal highs and lows) and the sweeps that take it, premium/discount with an
optimal-entry band, a higher-timeframe bias, and a rolling volume profile. On
top of those objects it does three things most structure tools do not: it
validates every structure break, it scores each zone by confluence and quality,
and it reports — using past data on the current symbol only — how often each
zone type has actually been respected, with statistical confidence intervals.
The levels are the raw material; the framework adds a measured read of which
ones to trust.
WHY THE COMPONENTS ARE COMBINED (how the parts work together)
These are not independent indicators bolted together. They describe one process
— how large participants build positions: rest liquidity, take it, displace
price, and leave an inefficiency behind — and each layer covers a blind spot of
the others, feeding one combined decision:
- Market structure (swing and internal) gives trend context and the moment it
shifts. Because raw break detection is noisy, a break is only counted when it
shows real displacement (range expansion with body, or a volatility
compression followed by a release), closes beyond the level with body rather
than leaving a rejection wick, and breaks a tight, recent (quality) pivot.
This removes most false breaks before anything else is drawn.
- Regime context (efficiency ratio + ADX + volatility clustering + a whipsaw
score) conditions how far to trust a read: continuation breaks are reliable in
a trending regime, reversals are more reliable in a range, and a choppy regime
weights everything down. Structure on its own cannot tell you this.
- Liquidity (equal highs/lows, sweeps, and inducement) marks where stops rest
and the moment they are taken — the trigger that typically precedes a real
move, and the event that validates a nearby zone.
- Order blocks and fair value gaps mark the origin of the displacement and the
inefficiency price tends to revisit. A zone that forms on a sweep, on a
high-volume node, in the correct half of the range scores highest — which is
exactly why liquidity, the volume profile and premium/discount all feed the
zone score rather than living in separate panes.
- Volume profile (point of control, high- and low-volume nodes, and untested
"naked" points of control) tells you whether a zone sits on acceptance (tends
to hold) or on a thin gap (tends to slice), and marks magnet levels price is
drawn back toward.
- Premium/discount and the OTE band frame every zone as expensive or cheap
relative to the current dealing range, so a long in discount and a short in
premium are favoured.
- The confluence engine and setup grade fuse structure direction, a recent
sweep, zone quality, node type, premium/discount alignment, higher-timeframe
bias and a momentum-divergence confirmation into one A/B/C read per zone, so
the chart self-prioritises instead of leaving you to weigh eight things by eye.
- Calibration measures, on past bars only, how often each zone type produced a
meaningful reaction on the current symbol, and reports it with Wilson
confidence intervals — so reliability is earned per instrument, not assumed.
In one sentence: structure says direction, regime says whether to believe it,
liquidity says when, the zones say where, premium/discount says whether it is
worth it, the grade fuses them, and the calibration keeps the whole thing honest.
HOW IT WORKS (mechanics, briefly)
Pivots use the standard left/right confirmation, so structure is non-repainting:
a break is only labelled after the pivot is confirmed and the close validates it.
Order blocks anchor to the last opposing candle before a validated break, are
scored on formation, and are re-scored for confluence on the most recent bar.
Calibration records, the first time a zone is tagged, whether price then travels
a chosen ATR multiple in the zone's direction within a fixed horizon, and
aggregates that into the respect rate shown on the dashboard. All thresholds are
ATR-relative, so nothing is tied to a particular price scale.
HOW TO USE IT
1. Read the dashboard headline: the SETUP grade and the structure bias.
2. Favour higher-grade setups — a validated structure direction, a recent sweep,
a fresh high-quality zone sitting on a volume node, in discount for longs or
premium for shorts, with higher-timeframe agreement.
3. Use the OTE band for entry context and an opposing fair value gap as a
logical target.
4. Check the respect rows. If order blocks or fair value gaps rarely hold on this
symbol, weight the read down accordingly.
5. Treat everything as descriptive context, not a signal to act on.
USE ON ANY MARKET
The High / Low / Close source inputs let you drive structure, liquidity and
premium/discount from any series (standard candles, Heikin-Ashi, or another
source), so the framework applies to stocks, indices, futures, forex and crypto.
A volume-borrow input supplies volume for symbols that report none.
WHAT MAKES IT ORIGINAL
The contribution is the closed loop, not the individual objects, which are
common to price-action analysis. Here, validated structure and liquidity feed a
per-zone confluence and quality score and a single setup grade, and a past-only
calibration tracker reports each zone type's actual respect rate on the current
symbol with confidence intervals. That turns a set of drawing tools into a
measured, self-prioritising read.
SETTINGS WORTH KNOWING
- Break Validation: turn displacement, anti-wick and pivot-quality gates on/off
and tune their strictness to make structure more or less selective.
- Volume Profile / Nodes: bins, window and HVN/LVN percentiles control node
tagging; naked POC tracking is session-based and turns itself off when the
chart is not intraday.
- Confluence & Setup Grade: cluster tolerance controls how close levels must be
to count as confluent.
- Calibration: horizon and minimum reaction define what counts as a "respected"
zone.
- Visuals: theme is auto/dark/light; grade-weighted opacity makes strong zones
bold and weak ones faint; the identity strip shows the script name, symbol and
timeframe.
LIMITATIONS
Pivots confirm after the right-bars lag, so forming structure is not drawn until
confirmed. Volume layers require real or borrowed volume. Calibration describes
past behaviour only — it is not a backtest and not a probability of future
results. Every read is probabilistic context, never a certainty.
DISCLAIMER
This is a study/indicator for chart analysis and education only. It is not a
strategy, not a recommendation, and not financial advice. It places no orders
and guarantees no outcome. Markets carry risk, and the past behaviour of a level
does not assure its future behaviour. Do your own research and manage your own
risk.
Indicator

Strong Liquidity Zones | ProjectSyndicateStrong Liquidity Zones
Strong Liquidity Zones finds the price levels where liquidity actually pools — then power-ranks them so you instantly know which zone is likely to hold and which is likely to give way. It detects three independent footprints of liquidity (swing pivots, wick-rejection traps, and volume spikes), merges overlapping detections into confluence clusters, and scores each cluster 0–10 from real, measurable level quality. Strong, multi-confluence zones are framed and highlighted; weak, single-touch zones stay faint. A live dashboard lists every viable level, ranked, so the whole map of support and resistance is readable at a glance.
🎯 Power-Ranking System (0–10) — every zone earns a live grade from four sign-stable factors: confluence (how many separate detections stack at the level, with diminishing returns so a single tap can't fake strength), detection diversity (a level confirmed by pivots and wick traps and volume carries far more weight than one confirmed a single way), detection strength (volume vs baseline, wick dominance, and range expansion on the forming candle), and recency (freshly defended levels score higher than stale ones). ELITE (9–10) is deliberately rare — it requires genuine all-three-type confluence on a strong, recent level, so the number reflects real edge, not decoration.
🏷️ In-Zone Strength Labels — each zone carries its grade inside the band: side (Bull/Bear), tier, the X/10 score, a star rating, the confluence count (×N detections that built it), and live distance from price in both % and pips. Quality and proximity read instantly without hunting through a panel.
🧲 Confluence Clustering — instead of plotting every raw detection as its own line, nearby detections are grouped into a single strength-weighted zone centered on where the liquidity truly sits. One clean level per pool, not a cluttered stack.
🥇 ELITE Highlighting — the strongest clusters are rendered as a brighter shade of the same side colour with a heavy border, so the levels that matter most stand out before you read a single number. Tier ladder: FAINT → WEAK → MEDIUM → STRONG → ELITE.
🎨 Strength-Shaded Fill — stronger zones render sharper and more opaque while weak ones stay faint, so the chart shows which levels carry weight at a glance.
📊 Live Level Dashboard — an on-chart leaderboard lists every active zone sorted by power and distance from price, with tier, side, exact price, score, and direction (▲ above / ▼ below). Adjustable position and text size (Small → Huge). See all viable levels at once, ranked.
📍 Origin-Anchored Zones — every zone is drawn from the bar where the level was first established and extends to the right, so each band is visually tied to the price action that created it — never floating in mid-air.
🔒 Stable, Lock-In Zones — zones are created only on confirmed bars and reconciled in place: once a zone is on the chart it keeps its grade, tier, and position and won't flicker or shuffle intraday. A zone is removed only when price genuinely breaches it or the level is invalidated — one clean transition, never random blinking.
🧹 Score Filter — hide every cluster below a chosen power rank so the chart only carries the levels that earned their place, plus a minimum-separation and minimum-distance-from-price control to keep the picture clean.
🔔 Native Alerts — dedicated alerts for an ELITE (9–10) cluster forming, a STRONG (7–8) cluster forming, a zone being breached, and fresh bullish / bearish liquidity detections — so you never miss a high-quality level appearing or failing.
🔧 Fully Customizable — detection sensitivity (pivot length, wick-dominance ratio, volume-spike multiplier, strength threshold), clustering (tolerance, lookback, minimum points, minimum rank, re-cluster interval, distance-from-price), zone geometry (ATR period, width, max active zones, separation), display (label size, fill opacity, elite border thickness), dashboard (position, rows, text size), and the full colour theme — all adjustable.
🎯 Why this is different — most "liquidity" or "support/resistance" tools dump every swing onto the chart and leave you to guess which line matters. This one fuses three independent liquidity footprints, clusters them into clean zones, and quantifies each one from real level quality — then tells you the probability-weighted answer: a STRONG/ELITE zone is one to fade, a WEAK zone is one that's likely to break. The scoring even informs how you trade each level (see below).
🚀 Apply to Gold (XAUUSD), Silver, Forex, Crypto, and Indices on any timeframe.
🎯 How To Trade It — Two Approaches
The score is the filter that decides which approach fits. Strong, multi-confluence zones tend to hold and reverse; weak, thin zones tend to break. So play them differently.
1) Fade the Zone — Reversion (use on STRONG / ELITE zones, ≥7)
Best when the zone price is approaching is rated STRONG or ELITE — these carry the most confluence and are statistically the most likely to hold.
Wait for price to tap into the high-grade zone (the dashboard's ▲/▼ distance shows it approaching).
Look for rejection: a wick into the band and a close back out of it — the liquidity above/below the level gets swept, then price turns.
Entry: on the reversal back out of the zone (close rejecting the band).
Stop: just beyond the far edge of the zone — if price closes through and holds, the level has failed and the fade thesis is wrong.
Targets: the next zone in the dashboard, then the opposite side's nearest strong zone.
Use the STRONG / ELITE cluster alert to know the moment a high-grade level appears, and the distance readout to time the tap.
2) Trade the Break — Continuation (use on WEAK / MEDIUM zones, or once a strong zone breaches)
Best when the level is rated WEAK or MEDIUM (thin, single-type, or stale) — these are the levels most likely to give way.
Wait for a decisive close through the zone on expanding volume — not a single wick.
The zone flipping from active to breached on the chart is your confirmation it's a genuine break, not a stop-hunt.
Entry: in the direction of the break on the close beyond the zone, or on a retest of the broken zone (a broken bull zone flips to resistance; a broken bear zone flips to support).
Stop: back inside the broken zone.
Targets: the next zone in that direction on the dashboard, trailing as the move extends.
Rule of thumb: ⭐ STRONG / ELITE → expect a reaction, fade the tap. ⭐ WEAK / MEDIUM on volume → expect follow-through, trade the break.
⚠️ IMPORTANT NOTICE: This indicator identifies high-probability liquidity levels and frames fade-vs-break scenarios. It should NOT be used as a standalone signal for entering trades. Always combine it with your own strategy, price-action analysis, and risk management to confirm setups. Past statistical behavior does not guarantee future results. Indicator

Strong Range Breakouts | ProjectSyndicateStrong Range Breakouts
Strong Range Breakouts power-ranks the consolidations your market keeps coiling into — and tells you, before the move, which one is loaded and which way it's likely to break. For every tightening range it builds a clean, equal-logic zone, scores that consolidation 0–10 from real, measurable compression quality, and stamps a directional probability on it (▲ likely UP / ▼ likely DOWN). It then projects Buy-Stop / Sell-Stop breakout levels with a buffer and full SL / TP1 / TP2 / TP3 targets — and tracks every breakout's outcome live in a win-rate dashboard, so the chart is constantly grading its own edge instead of asking you to take it on faith.
🎯 Power-Ranking System (0–10) — every consolidation earns a live grade from five sign-stable, self-calibrating factors: trend flatness (ADX percentile — is the market genuinely going nowhere?), volatility squeeze (Bollinger-width percentile — is range compressing vs its own recent history?), range tightness (N-bar range percentile — how coiled is price?), volume dry-up (low participation = accumulation), and price balance (RSI sitting near 50 = no directional pressure yet). Each factor is a smooth percentile rank, not a crude on/off flag, so the score spreads cleanly across the full 0–10 range and adapts to any instrument with no re-tuning. Prototyped and validated across FX datasets (EUR/USD, GBP/USD, USD/CHF) — higher-scored ranges produced cleaner, higher-win-rate breakouts than low-scored ones, so the number reflects genuine edge, not decoration.
🧭 Directional Probability — each zone carries a live ▲/▼ breakout bias built from where price sits in the range, top-vs-bottom edge-touch asymmetry, time spent in the upper vs lower half, and momentum lean. In validation this prediction landed correct 77–81% of the time vs a 50% coin-flip — so the bias on the box is a real tell, not a guess.
🏷️ Strength-Rank Label Above Every Box — each range carries its grade on top of the zone, impossible to miss: stars · X.X/10 · tier (FORMING → MODERATE → STRONG → VERY STRONG → ELITE) plus the directional bias. Quality and likely direction read instantly, no separate panel needed.
🎨 Direction-Coloured, Strength-Shaded Zones — boxes are tinted by their predicted break direction (bullish-bias teal, bearish-bias red/purple), and the shade deepens with strength tier, so the chart shows which ranges carry weight and which way they lean before you read a single number. The label freezes tinted to the actual break direction once it fires.
🚧 Buy / Sell Stop & SL / TP Levels — dashed Buy-Stop and Sell-Stop lines sit a configurable buffer beyond each range edge to define a genuine breakout. On a fired breakout the indicator projects a structure- or ATR-based Stop-Loss and TP1 / TP2 / TP3 at your chosen R-multiples, framing the trade the moment it triggers.
📊 Live Win-Rate Dashboard — an institutional gold-on-dark panel that tracks outcomes, not just signals: overall win rate (with █░ meter), total breakouts, wins/losses, Long WR vs Short WR, Strong-Zone WR (≥8), TP1/TP2/TP3 hit counts, expectancy (R per trade), total R, best/worst streak, the live zone score meter, and the current breakout bias. You see the system's measured performance on your symbol and timeframe in real time.
🔒 Non-Repainting — all detection and scoring run only on confirmed candles. A zone forms, extends, and breaks on closed-bar logic; once a breakout fires the level and its label lock in and never repaint.
🔔 Native Alerts — fires on a confirmed Buy breakout and Sell breakout, with the zone's score and entry level embedded in the message, so you're notified the instant a graded range gives way.
🔧 Fully Customizable — minimum score to display, minimum/maximum range span, scoring weights for all five factors, breakout confirmation (close vs wick), stop buffer, SL basis (opposite edge / zone mid / ATR), the three R-multiple targets, what counts as a "win" (TP1/2/3), the full institutional colour palette, transparency, label size, and dashboard position/size — all adjustable.
🎯 Why this is different — most "breakout" tools draw a box and fire an arrow the moment price pokes out, with no sense of whether the range was even worth trading or which way it should go. Strong Range Breakouts quantifies the consolidation first, predicts the direction, frames the trade, and then keeps score — so a high-grade zone with a strong bias is one to trade with, and a low-grade or counter-bias break is one to treat with suspicion. The validation behind the score even informs how you trade each one (see below).
🚀 Apply to Gold (XAUUSD), Silver, Forex, Crypto, and Indices on any intraday or higher timeframe.
🎯 How To Trade It — Quick Overview
The score decides whether a setup is worth taking; the directional bias decides which way; the levels frame the trade. In validation, high-scored ranges broke cleaner and counter-bias breaks failed more often — so play them differently.
1) Trade-With Breakout (the primary play) — use on STRONG / ELITE zones (≥7) that break with their bias
Best when a range is rated STRONG or ELITE and the breakout fires in the same direction the ▲/▼ bias predicted.
Wait for a confirmed close beyond the Buy-Stop (long) or Sell-Stop (short) line — not a single wick.
Confirmation is strongest when the break direction matches the zone's directional bias (the ~77–81% edge).
Entry: on the close beyond the stop level, or on a retest of the broken edge (broken top flips to support; broken bottom flips to resistance).
Stop: the projected SL (opposite range edge / zone mid / ATR — your choice).
Targets: TP1 first (in testing TP1 hit by far the most often — bank or de-risk there), then trail toward TP2 / TP3 as the move extends.
Use the Buy/Sell breakout alert to catch the trigger the moment a graded range gives way.
2) Fade the False Break — use on WEAK / MODERATE zones, or breaks against a strong bias
Best when a low-scored range pokes out, or price breaks opposite to a high-confidence bias — statistically the more likely failure.
Wait for price to push just beyond the range edge and fail to hold (no decisive close beyond, momentum stalling).
Entry: on the reversal back inside the range (a close back through the broken edge).
Stop: just beyond the level that was swept — if price reclaims and holds it, the fade is wrong and it's a real breakout.
Targets: the opposite range edge first, then the measured range height.
Rule of thumb: ⭐ STRONG/ELITE + break with bias → trade the breakout. ⭐ WEAK/MODERATE, or break against a strong bias → suspect a trap, fade it. Let the dashboard win-rate on your symbol tell you which behaviour is paying on the instrument you actually trade.
⚠️ IMPORTANT NOTICE: This indicator power-ranks consolidations, predicts likely breakout direction, and frames breakout-vs-fade scenarios. It should NOT be used as a standalone signal for entering trades. The dashboard statistics are measured on historical, closed-bar data and describe past behaviour only. Always combine it with your own strategy, price-action analysis, and risk management to confirm setups. Past statistical behaviour does not guarantee future results. Indicator

Banks Order BlocksBanks Order Blocks (BOB) with Dynamic Volume Tracking
Overview
The Banks Order Blocks (BOB) indicator is a highly advanced price action and volume analysis tool designed to identify significant supply and demand zones where institutional players (banks, market makers) are likely stepping into the market. Unlike traditional order block indicators that merely draw static boxes, BOB dynamically tracks market volume inside the order block zones bar-by-bar, giving you a real-time visualization of buying and selling pressure exactly where it matters most.
Key Features & The Core Mechanic
Dynamic Volume Bars: Whenever an order block is active or price returns to it, volume bars are drawn directly attached to the block. This allows you to visually gauge whether the market is defending the zone with high volume or abandoning it.
Smart State Management: The indicator intelligently manages "Active" and "Passive" blocks. When a new Bullish block forms, it becomes the Active one. If price action later dips back into an older, Passive block, the indicator instantly clears the old, cluttered volume data of that passive block and starts printing fresh volume bars from the exact candle that re-entered the zone. This is the core mechanic—you only see the volume that is relevant right now during a retest of conflicting zones.
Built-in Alerts: Stay informed with automated alerts for new order block formations, price re-entering a block, and high-volume directional candles forming inside a block.
Mid-line (0.5 Level) Tracking: Each block includes a dynamically drawn 50% (Equilibrium) dotted line, a critical level often defended by institutions.
How to Trade with BOB (Setup Guide)
1. The Primary Setup (Trend Continuation / Reversal)
Wait for a New Order Block to form (Green for Bullish/Demand, Red for Bearish/Supply).
Watch for the price to retrace and re-enter the active zone.
Confirmation: Look at the volume bars generating inside the block. A successful defense of a Bullish Order Block should show green volume bars heavily outweighing red ones, especially crossing above the local volume moving average (indicated by solid, non-transparent colors).
Entry: Enter on a high-volume directional candle closing inside or pushing away from the order block.
Invalidation: If a candle closes below the bottom of a Bullish block (or above a Bearish block), the thesis is invalidated, and the indicator will automatically delete the block.
2. The Clashing Zones Setup (Advanced Tactics)
Sometimes price action escapes an Active Bullish block and enters a higher, older Bearish block.
Because of BOB's Smart State Management, as soon as the price enters the opposing older block, fresh volume bars will start generating inside that specific zone.
Confirmation: You now have a real-time tug-of-war. Watch the volume bars forming in both the active and the passive block. Enter in the direction of the block that is printing aggressive, high-volume (solid color) bars, confirming institutional defense.
Customization
Pivot Length: Adjust the sensitivity of order block detection.
Optional Overlays: Easily toggle VWAP or various Moving Averages (SMA, EMA, WMA, RMA) directly from the settings to add confluence to your entries.
Disclaimer
The information and tools provided by this script are for educational and informational purposes only and do not constitute financial or investment 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 consult with a certified financial advisor before making any trading decisions. The author is not responsible for any financial losses incurred while using this indicator. Indicator

Strong PDH PDL Zones | ProjectSyndicateStrong PDH PDL Zones
Strong PDH PDL Zones power-ranks the daily levels that price keeps reacting to. For every session it plots the prior day's High, Low, and Golden Pocket (the 50–61.8% retracement of the previous day's range) as clean equal-height zones, then scores each High and Low 0–10 from real, measurable level quality — so you instantly know which previous-day level is likely to hold and which is likely to break. It also projects Sweep Trap and Price Breakout lines above PDH and below PDL to frame liquidity grabs and genuine breakouts.
🎯 Power-Ranking System (0–10) — every PDH and PDL earns a live grade from five sign-stable, data-validated factors: prior-day volume vs its baseline, range significance vs ADR, the rejection candle (how far price closed off the extreme), distance from round numbers (levels sitting on round numbers get swept more, so they score lower), and isolation (levels clustered with recent days' extremes break more). The model was prototyped and validated across FX and metals datasets — low-scored levels reacted far less often than high-scored ones, so the number reflects genuine edge, not decoration.
🏷️ In-Zone Strength Labels — each level carries its grade inside the band: stars, the X.X/10 score, and a tier (FORMING → WEAK → MODERATE → STRONG → ELITE). Quality reads instantly without a separate panel.
📐 Previous Day Golden Pocket — the prior session's 50–61.8% fib zone, plotted automatically as the high-probability mean-reversion pocket where intraday pullbacks so often stall.
🚧 Sweep Trap & Price Breakout Lines — two dashed levels above the PDH and two below the PDL. The amber Sweep Trap sits just beyond the level to mark the stop-hunt / liquidity-grab zone; the red Price Breakout sits further out to mark where a move becomes a real breakout rather than a wick. Both are fully offset-adjustable in ATR terms.
⚙️ Uniform ATR Zone Height — every zone (High, Low, Golden Pocket) is normalized to one identical ATR-based thickness, centered on its level, for a clean and consistent look on any instrument or timeframe.
🎨 Strength-Shaded Fill — stronger levels render sharper and more opaque while weak ones stay faint, so the chart shows which levels carry weight before you even read the score.
🧹 Score Filter — hide every level below a score threshold so the chart only carries the levels that earned their place.
🔒 Non-Repainting — each day's levels and scores lock in from the completed prior session and never change intraday. Zones span exactly one session and close cleanly at the day boundary — no bleed into the next session.
🔔 Native Alerts — touch alerts for the PDH zone, PDL zone, and Golden Pocket, plus dedicated alerts for touches of STRONG (≥7/10) PDH and PDL levels, so you never miss a high-quality interaction.
🔧 Fully Customizable — scoring weights and normalizers, zone height, golden-pocket fib bounds, sweep/breakout offsets, colors, transparency, label text and size, and round-number step — all adjustable.
🎯 Why this is different — most "previous day high/low" tools draw three equal-weight lines and leave you to guess which one matters. This one quantifies each level from real prior-day behavior and tells you the probability-weighted answer: a STRONG/ELITE level is one to fade, a WEAK level is one that's likely to give way. The validation work behind the score even informs how you trade each level (see below).
🚀 Apply to Gold (XAUUSD), Silver, Forex, Crypto, and Indices on any intraday timeframe.
🎯 How To Trade It — Two Approaches
The score is the filter that decides which approach fits. In validation, high-scored levels rejected far more often and low-scored levels broke more often — so play them differently.
1) Break → Sweep Trap → Reversal (fade the trap) — use on STRONG / ELITE levels (≥7)
Best when the PDH or PDL is rated STRONG or ELITE — statistically these are the levels most likely to hold.
Wait for price to push through the previous-day level and tag the amber Sweep Trap line beyond it (the liquidity grab that takes stops).
Look for failure to reach or hold the red Price Breakout line — i.e. the move stalls inside the trap band and prints rejection back through the level.
Entry: on the reversal back inside the level (a close back below PDH / above PDL).
Stop: just beyond the Price Breakout line — if price reaches it, the trap thesis is wrong and it's a real breakout.
Targets: the Golden Pocket first, then the opposite previous-day level.
Use the Touch STRONG PDH/PDL alert to get notified the moment a high-grade level is being tested.
2) High-Volume Breakout → Trade With the Move — use on WEAK / MODERATE levels
Best when the level is rated WEAK or MODERATE (or formed on low prior-day volume) — these are the levels most likely to break.
Wait for a decisive break of the PDH or PDL that closes beyond the red Price Breakout line on expanding volume (not a single wick).
The Sweep Trap line being cleared and held is your confirmation that it's a genuine breakout, not a stop-hunt.
Entry: in the direction of the breakout on the close beyond the Price Breakout line (or on a retest of the broken level).
Stop: back inside the level, beyond the Golden Pocket.
Targets: measured-move / next session's range, trailing as the move extends.
A broken PDH flips to support, a broken PDL flips to resistance — the old level often becomes the retest entry.
Rule of thumb: ⭐ STRONG/ELITE → expect a reaction, trade the trap reversal. ⭐ WEAK/MODERATE on volume → expect follow-through, trade the breakout.
⚠️ IMPORTANT NOTICE: This indicator identifies high-probability previous-day levels and frames trap vs breakout scenarios. It should NOT be used as a standalone signal for entering trades. Always combine it with your own strategy, price-action analysis, and risk management to confirm setups. Past statistical behavior does not guarantee future results. Indicator

Strong Geometric Patterns Engine | ProjectSyndicateStrong Geometric Patterns Engine automatically detects, validates, and grades nine classic chart patterns using an objective, non-repainting geometry engine. It confirms every signal on a breakout close, projects adaptive measured-move take-profit and structural stop-loss levels scaled to Average Daily Range (ADR), scores each setup 0–10 for quality, and presents a full statistical breakdown on a non-intrusive dashboard to provide a quantifiable edge.
🧠 9-Pattern Geometric Detection — identifies Head & Shoulders, Inverse Head & Shoulders, Double Top, Double Bottom, Ascending / Descending / Symmetrical Triangles, and Rising / Falling Wedges from a non-repainting confirmed-pivot engine, so signals are stable and never redraawn after the fact.
🔒 Breakout-Confirmed, Non-Repainting — a valid shape only sets a pending setup; the signal fires exclusively when price closes through the pattern's trigger level, eliminating the subjective, repainting behaviour of standard ZigZag and pattern tools.
🎯 ADR-Adaptive Measured-Move TP/SL — TP1, TP2, and SL are derived from the pattern's own projected height (a true measured move), bounded by a percentage of the 10-day ADR, so risk and targets adapt automatically to any asset's volatility instead of using fixed points.
⭐ 0–10 Quality Scoring — every setup is graded on symmetry, convergence, and a volume confirmation bump, displayed as a star rating next to each signal so you can instantly gauge setup strength and filter for the best ones.
🎨 Direction-Matched Visuals — clean upward/downward entry markers, green bullish and red bearish labels, and crisp horizontal SL / TP1 / TP2 levels give instant visual confirmation of trade direction with no chart clutter.
📊 Full Performance Dashboard — a complete statistical overview including the real-time ADR10 value, the active/pending setup with its targets, total signals, TP1/TP2 win rates, a per-pattern breakdown across all nine pattern types, and a log of the most recent trade outcomes.
✅ Advanced Quality-Control Filters — user-configurable Pivot Length, equality/slope/convergence tolerances, min & max pattern span, measured-move bounds, and minimum bars between signals eliminate low-quality or oversized patterns and prevent over-signaling.
🔔 Comprehensive Alerts — get alerted the moment a new pattern is detected (pending), when price is approaching the trigger, when a setup confirms on the breakout, or only on strong high-score patterns. Available as a single rich alert() message (symbol, timeframe, trigger, invalidation, entry, SL, TP1, TP2, quality) for automation, plus six individually selectable named alert conditions.
🔧 Fully Customizable — control everything from pivot length and pattern-quality tolerances to colors, level extension, persistent historic levels & labels, adjustable signal label size, and dashboard text size.
🎯 Why this algo is unique: Standard pattern indicators repaint and offer subjective signals with no statistical backing. This is an objective, fully-gated, non-repainting engine that doesn't just draw a pattern — it recognizes nine of them from raw geometry, confirms them on a breakout, builds a complete adaptive risk framework (measured-move, ADR-bounded zones) around each one, grades its quality, and proves its historical performance on the very chart you're trading.
🚀 Apply to Gold (XAUUSD), Forex, Crypto, and Indices on any M5/M10/M15/M30/H1. The ADR-based, self-scaling geometry and extensive quality filters let it adapt to anything from M5 scalping to H4 swing trading.
🎯 How to use this? Use the dashboard to understand how each pattern type has recently performed on the current asset and timeframe. Favour higher-quality (higher-star) setups and those aligned with the higher-timeframe trend. Tune the pattern tolerances and measured-move multipliers to match your own risk tolerance and the asset's character.
⚠️ IMPORTANT NOTICE: This indicator is designed to identify statistically-backed pattern signals. It should NOT be used as a standalone signal for entering trades. Always use it in conjunction with your own trading strategy, price action analysis, and other technical indicators to confirm setups and manage risk. Indicator

Strong Session SD Zones | ProjectSyndicateStrong Session SD Zones
Strong Session SD Zones automatically maps and power-ranks the session-based supply & demand zones that price keeps reacting to. It tracks each zone through its full life — formation, tests, breakout, and invalidation — scores it 0–10 from real interaction, and retains every session's zones for the last N sessions, so you can see exactly which levels each Asia / London / New York session left behind.
🎯 Power-Ranking System (0–10) — every zone earns a live score from four things: the impulse of the move that created it, the volume traded while it formed, the depth of the rejection wicks off it, and its freshness (how unmitigated it still is). An idle-decay lets ignored zones fade while respected ones stay strong, so the score always reflects current relevance.
🕐 Session-Aware Zones — instead of one undifferentiated cluster of levels, zones are batched by trading session and each one is tagged with where it was born (Asia, London, NY, Late). Pick Daily, Asian, London, New York, or a custom session as the boundary that starts each new batch.
🔁 Hold vs Broken States — each zone is shaded by type (supply = red, demand = green) and re-shaded the moment price invalidates it, with a ✗ marker on broken zones. You see at a glance whether a level is still defending or has flipped.
🎨 Strength-Sharpened Fill — strong zones render sharp and opaque while weak ones stay faint, so the chart visually shows which levels carry weight before you even read the score.
🏷️ In-Zone Strength Labels — every zone carries its grade inside it: stars, the X.X/10 score, a tier (FORMING → WEAK → MODERATE → STRONG → ELITE), the live retest count (R:), and its session — quality reads instantly without a separate panel.
🧹 Overlap Suppression — when a new zone would stack on an existing same-session zone, the two are merged into one clean band instead of cluttering the area, so each price region shows a single level.
⭐ Strong-Only Filter — hide everything below a score threshold; weak zones that never earn the score are discarded rather than kept, so the chart only carries proven levels.
🔔 Comprehensive Native Alerts — proximity alerts for supply and demand zones, a dedicated STRONG-zone proximity alert (configurable, e.g. 7/10+), plus new-supply and new-demand formation events, so you never miss a key level interaction.
⚙️ Uniform Zone Height — normalize every zone to one ATR-based thickness for a clean, consistent look, with a minimum-swing filter that ignores insignificant pivots.
🚦 Performance Guards — a sessions-to-display window and a max-zones-kept cap keep load times fast on long histories; retired zones are fully removed, not just hidden.
🔧 Fully Customizable — color palette, transparency, borders, label size, scoring weights, pivot sensitivity, max zones per session, decay settings, and invalidation method (close vs wick) — all adjustable.
🎯 Why this algo is unique — standard pivot tools flood the chart with equal-weight lines. Strong Session SD Zones filters, merges, and ranks them by session, then keeps only the zones that have proven they matter. It doesn't just show where a level was — it quantifies how strong it is from real interaction (impulse, volume, rejection, freshness), giving you a clear read on which zones are holding and which are likely to break.
🚀 Apply to Gold (XAUUSD), Forex, Crypto, and Indices on any timeframe. Pivot sensitivity, zone height, sessions shown, and the strong threshold adapt it from scalping to swing trading.
🎯 How to use this? Focus on zones rated 7/10 or higher — these have the highest probability of producing a significant reaction. Watch the hold-vs-broken state to judge whether a level is defending or has flipped, and use the proximity and strong-zone alerts to prepare entries or exits.
⚠️ IMPORTANT NOTICE: This indicator identifies high-probability supply & demand zones. It should NOT be used as a standalone signal for entering trades. Always use it alongside your own trading strategy, price action analysis, and other technical indicators to confirm setups and manage risk. Indicator

Strong Retest Zones | ProjectSyndicateStrong Retest Zones automatically maps and power-ranks the swing-based levels that price keeps reacting to. It tracks each level through its full life — formation, tests, breakout, and retest — scores it 0–10 from real interaction, and shows only the zones that earn their place, keeping the chart clean and focused on levels that matter.
🎯 Power-Ranking System (0–10) — every zone earns a live score from three things: how many times it's been tested/retested, the volume traded while it was active, and the depth of the rejection wicks off it. An idle-decay lets ignored levels fade while respected ones stay strong, so the score reflects current relevance.
🔁 Double-Shaded Break & Retest Zones — each level is drawn in two tones: one shade while it holds, a contrasting shade once price breaks through. You see at a glance whether a zone is still defending or has flipped.
🏷️ In-Zone Strength Labels — every zone carries its grade inside it: stars, the X.X/10 score, a tier (FORMING → WEAK → MODERATE → STRONG → ELITE), and the live retest count (R:) — quality reads instantly without a separate panel.
🧹 Overlap Suppression — when a new zone would stack on top of an existing one, it's skipped so each price area shows a single clean level instead of a cluster.
⭐ Strong-Only Filter — hide everything below a score threshold (default 5/10); weak zones that never earn the score are discarded rather than kept, so the chart only carries proven levels.
🔔 Comprehensive Native Alerts — proximity alerts for bullish and bearish zones, dedicated STRONG-zone proximity alerts (configurable, e.g. 7/10+), plus touch/retest and break events, so you never miss a key level interaction.
⚙️ Uniform or Natural Zone Height — normalize every zone to one ATR- or %-based thickness for a clean look, or anchor to the raw swing.
🚦 Performance Guards — a lookback window and a max-zones-kept cap keep load times fast on long histories; retired zones are fully removed, not just hidden.
🔧 Fully Customizable — std-dev color palette, transparency, borders, label size (Large by default), marker mode, scoring weights, pivot sensitivity, and max levels shown — all adjustable.
🎯 Why this algo is unique — standard pivot tools flood the chart with equal-weight lines. Strong Retest Zones filters, dedupes, and ranks them, then keeps only the levels that have proven they matter. It doesn't just show where a level was — it quantifies how strong it is from real interaction (touches, volume, rejection), giving you a clear read on which levels are holding and which are likely to break.
🚀 Apply to Gold (XAUUSD), Forex, Crypto, and Indices on any timeframe. Pivot sensitivity, zone height, lookback, and the strong threshold adapt it from scalping to swing trading.
🎯 How to use this? Focus on zones rated 7/10 or higher — these have the highest probability of producing a significant reaction. Watch the two-tone state to judge whether a level is holding or has flipped, and use the proximity and strong-zone alerts to prepare entries or exits.
⚠️ IMPORTANT NOTICE: This indicator identifies high-probability retest zones. It should NOT be used as a standalone signal for entering trades. Always use it alongside your own trading strategy, price action analysis, and other technical indicators to confirm setups and manage risk. Indicator

Smart Money Sentiment Index [MarkitTick]💡A comprehensive analytical tool designed to bridge the gap between underlying market psychology and structural price action. By synthesizing a multi-dimensional sentiment oscillator with an advanced market structure mapping system, this indicator provides a holistic view of market dynamics. It is engineered to identify periods of psychological exhaustion—where market participants exhibit extreme fear or greed—and cross-reference these anomalies with significant shifts in supply and demand. This confluence allows for a highly disciplined approach to navigating volatile environments, ensuring that structural analysis is always contextualized by prevailing market sentiment.
✨ Originality and Utility
Traditional oscillators typically isolate a single variable, such as momentum or volume, which often leads to diverging signals during complex market phases. Furthermore, structural mapping tools operate strictly on price geometry without considering the behavioral state of the market. This tool is highly original because it resolves this disconnect. It operates as a strategic mashup, justifying the combination of sentiment analysis and structure mapping by positing that structural breaks are significantly more reliable when they align with behavioral extremes. By unifying these two previously disparate analytical frameworks, the indicator filters out structural noise that occurs in neutral psychological zones, delivering a refined perspective on market conditions.
🔬 Methodology and Concepts
The underlying methodology relies on a dual-engine architecture, carefully abstracted to maintain calculation integrity and protect core logic.
• The Sentiment Engine
The sentiment component processes multiple parallel vectors of market data. It continually assesses momentum differentials, volatility compression and expansion, volume participation intensity, and relative positioning. These vectors are mathematically normalized and aggregated into a singular composite score ranging from zero to one hundred. This raw composite is then passed through a dynamic smoothing algorithm to filter out erratic tick-level noise, resulting in a stable primary sentiment value. A secondary signal line is derived from this primary value to calculate momentum convergence and divergence, effectively anticipating shifts in behavioral trends before they fully materialize.
• The Structural Engine
Operating concurrently, the structural engine performs rigorous swing analysis. It continuously scans historical price action to identify confirmed pivot highs and pivot lows based on user-defined parameters. When price action eclipses these pivotal nodes, the engine mathematically categorizes the event as either a continuation of structure or a fundamental shift in character. Upon confirmation of these structural shifts, the engine projects dynamic support and resistance zones, tracking their mitigation status in real-time to visualize areas of untested liquidity.
🎨 Visual Guide
The visual presentation is meticulously designed to present complex data hierarchies without obscuring price action.
• The Oscillator Pane
The primary sentiment line oscillates between 0 and 100, plotted prominently to reflect current market psychology.
A secondary, semi-transparent signal line tracks the primary sentiment, providing a visual cue for momentum crossovers.
Horizontal reference levels establish the baseline neutral zone (50), as well as the thresholds for extreme greed and extreme fear.
The background of the oscillator pane dynamically illuminates with deeply saturated hues when the sentiment breaches the outermost extremes, providing immediate visual notification of exhaustion.
• Chart Elements and Overlays
Price candles feature dynamic color gradients that transition from deep red to vibrant green, providing a bar-by-bar heatmap of the underlying sentiment.
Dashed horizontal lines project across the chart to mark significant structural breaks, accompanied by precise text labels denoting the nature of the break.
Translucent rectangular zones are drawn at the origin points of structural breaks, visually representing active areas of interest.
The color coding of these zones shifts to a muted, darker shade once price successfully retests and mitigates the area, allowing the user to distinguish between fresh and exhausted liquidity.
• The Analytics Dashboard
A highly structured table anchors to the chart, displaying real-time metrics:
FGI Value : The exact numerical sentiment score paired with a visual magnitude bar.
Signal Value : The smoothed momentum score.
Momentum Gap : Calculates the absolute distance between the sentiment and signal lines, indicating whether the psychological momentum is expanding or narrowing.
Bias Regime : Classifies the broader environment as rising or extreme within the context of fear or greed.
Zone Status : Explicitly warns when the market enters extreme threshold boundaries.
Zero Cross Age : A bar-counting mechanism that tracks the duration since the sentiment last crossed the neutral baseline.
Market Structure : Displays the current prevailing structural trend confirmed by the SMC engine.
📖 How to Use
This tool is designed to foster a systematic approach to market analysis, utilizing confluence to filter high-probability environments.
Identify Behavioral Exhaustion : Monitor the sentiment oscillator and the analytics dashboard. When the market enters the extreme greed or extreme fear background zones, recognize that the prevailing trend is highly saturated and susceptible to mean reversion.
Wait for Structural Confirmation : Do not act solely on sentiment extremes. Wait for the structural engine to print a confirmed shift in character on the chart.
Assess the Momentum Gap : Consult the dashboard to ensure the momentum gap is expanding in the direction of the new structural shift, validating that market psychology supports the technical breakout.
Define Invalidation : Utilize the freshly generated, unmitigated order block zones as logical areas to define risk parameters and structural invalidation points.
⚙️ Inputs and Settings
The indicator provides extensive configurability to adapt to various market environments.
• Sentiment Parameters
FGI Period : Dictates the lookback window for the core sentiment vectors. Shorter lengths increase sensitivity, while longer lengths identify macro psychological shifts.
Signal Line Period : Adjusts the smoothing factor for the secondary momentum tracker.
Overbought/Oversold Levels : Allows the user to define the exact numerical thresholds that trigger the extreme background zones and alerts.
• Visual and Dashboard Configurations
Color Price Candles : Toggles the sentiment-based gradient coloring on the main chart candles.
Dashboard Settings : Provides options to customize the background and text colors of the analytics panel for optimal visibility.
• Structural Settings
Swing Length : Determines the number of bars required to confirm a valid structural pivot point.
Enable SMC Overlay : A master toggle for the structural lines and zone boxes.
Track/Hide Mitigation : Configures how the indicator handles zones once they have been retested by price, offering the option to either recolor them or remove them entirely to keep the chart clean.
• Alert Conditions
FGI crosses Zero : Generates a notification when sentiment flips across the neutral 50 baseline.
OB/OS Level Breach : Triggers a warning precisely when the market enters the predefined extreme psychological zones.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The theoretical foundation of this indicator is deeply rooted in the principles of behavioral finance and auction market theory. Traditional quantitative finance assumes rational actors operating in an efficient market; however, empirical evidence demonstrates that markets are frequently driven by cognitive biases, leading to periods of irrational exuberance (greed) and unwarranted panic (fear).
The sentiment engine models this behavioral distribution by capturing standard deviations in volatility and momentum, mapping the data onto a normalized sigmoid-like curve. This quantifies the exact degree of psychological saturation. When a market reaches the tail ends of this distribution, the probability of mean reversion increases exponentially due to the exhaustion of marginal buyers or sellers.
Simultaneously, the structural engine maps these psychological states onto the physical mechanics of order flow. Breakouts and structural shifts that occur during neutral sentiment phases are often the result of standard liquidity provision and algorithmic execution. However, structural breaks that trigger concurrently with extreme sentiment readings mathematically validate a macro shift in participant behavior. By tracking the origin points of these shifts (order blocks), the indicator highlights the exact price vectors where institutional and large-scale participants initiated the phase transition, offering a rigorous, data-driven framework for anticipating future supply and demand imbalances.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Iridescent Helix [JOAT]Iridescent Helix
Iridescent Helix is a composite momentum oscillator that lives in a sub-pane and projects cross-pane visuals onto the price chart. The composite blends three orthogonal momentum legs into a single normalized score in the range -100 to +100. Above the math, it adds a layered iridescent ribbon, a breath-opacity histogram, gradient overbought / oversold zones, cross-pane iridescent candle recoloring, and an in-pane pivot divergence engine.
What makes it different
The composite blends three independent momentum lenses: a volume-weighted-median price distance, a Connors-style triple RSI, and a clamped volume Z-score. Smoothed with a Hull Moving Average to reduce phase lag while preserving sensitivity.
The visual stack uses seven plot layers per direction, hue-rotated through the bull or bear accent gradient, each layer at a different transparency and linewidth, producing a depth effect that single-color ribbons cannot match.
A breath-opacity histogram fades columns when momentum is decelerating and brightens them when momentum is accelerating, giving an at-a-glance read of momentum derivative.
An in-pane pivot divergence engine detects regular and hidden divergences and projects both as in-pane markers and as price-to-price connector lines on the price chart.
How it works
Volume-weighted median over a rolling window. Sort close prices ascending, accumulate volumes in that order. The price at which cumulative volume crosses half of total volume is the weighted median.
Composite equals 0.50 times the normalized distance from the volume-weighted median, plus 0.35 times the normalized Connors RSI, plus 0.15 times the clamped volume Z.
Hull-smoothed and scaled to centi-percent, clamped to the range -100 to +100. EMA(21) signal line drawn alongside.
Pivot divergence detection compares price pivots against composite pivots, gated to a 5-to-60-bar window between successive pivots.
Right-edge labels in the pane (composite, signal, volume Z) and on the price chart (cross-pane regime status).
Reading the chart
In-pane : seven-layer iridescent ribbon, breath-opacity histogram, volume-modulated zero line, overbought / oversold guide lines with gradient fills when the composite breaches them, composite-to-signal ribbon fill.
Cross-pane : iridescent candle recolor on price, divergence connector lines between price pivots, subtle reversal dots at extreme reversal closes, soft regime tint background when the composite is clearly above or below zero.
Right-edge label cluster : the pane shows current composite (with percentile rank), signal line, and volume Z. The price chart shows a single IRH summary label with composite value, percentile, and regime tag.
A right-edge state block lists current regime, zone (overbought, oversold, neutral), and bars since the last zero cross.
Signals
Bull / bear zero cross (composite re-crosses zero)
Overbought / oversold reversal (composite crosses back from an extreme)
Volume surge (volume Z above two)
Momentum acceleration / deceleration above a user-tunable threshold
Regular and hidden divergence detection (bull / bear pairs)
All gated on barstate.isconfirmed or barstate.ishistory. No future references. No lookahead_on.
Inputs
Composite : VW median length, volume Z length, overbought / oversold levels, divergence lookback, percentile envelope length.
Visual : bullish / bearish / accent / magenta colors, toggles for ribbon, histogram, iridescent candles, cross-pane reversal dots, divergence dots, percentile envelope, cross-pane regime tint.
Labels : pane right-edge cluster, pane state block, cross-pane IRH label, divergence lines, divergence labels, OB/OS event labels, zero-cross events, acceleration events.
Dashboard : position, size.
Alerts : acceleration magnitude threshold.
How traders use this
Trend continuation : open positions in the direction of the composite when it crosses zero from the appropriate side and the volume Z confirms.
Reversion plays : take fades when the composite reaches an extreme zone and momentum begins decelerating (histogram fades), particularly when supported by a regular divergence connector on the price chart.
Hidden divergence : in a clear trend, a hidden divergence is a continuation signal and can be used to add to existing positions on a pullback.
Cross-system confirmation : feed the composite into other JOAT scripts (for example Position Architect) as a signal source by connecting plots in the chart UI.
Limitations
The composite is a normalized smoothed reading, not a leading indicator. It quantifies present momentum strength and direction rather than predicting future direction.
Connors RSI and volume Z need warm-up bars before they stabilize.
Pivot divergence detection inherits the right-bar delay of pivot identification (the pivot is only confirmed several bars after the actual extreme).
HMA smoothing introduces a few bars of warm-up where the composite is unavailable.
Compatibility
Pine Script v6 open-source indicator (pane). Any symbol, any timeframe. Cross-pane elements use force_overlay=true. No request.security calls. Non-repainting (divergence pivots are confirmed-bar gated).
Defaults
Mint and red defaults, plus cyan (bull accent) and magenta (bear accent) hue-rotation targets. Top-right medium dashboard. All visualizations on. For fast intraday work, shorten the VW median length and the divergence lookback.
Indicator

Indicator

[MAD] SMC1. OVERVIEW
SMC Event Markers is a complete Smart-Money-Concepts toolkit that draws every major institutional footprint on the chart — and then ranks every zone by relevance so you instantly see which ones actually matter.
Most SMC indicators have the same problem: they paint dozens of FVGs, order blocks, and liquidity lines, and leave you to decide what to trade. After ten zones the chart looks like a dropped Lego set. This indicator solves that. Every active zone is scored 0–100 against five independent factors. Low-scoring zones fade or disappear automatically. A compact dashboard pins the top-ranked setups to a chart corner so you always know where the high-probability opportunities are.
The indicator detects 14+ SMC event types — FVG, IFVG, Order Blocks, Breaker Blocks, BSL/SSL, BPR, EQH/EQL, BOS/CHoCH, Sweep, IDM, Reversal Confirmed, Premium/Discount/Equilibrium, OTE, Volume Imbalance, SMT Divergence, PDH/PDL/PWH/PWL/PMH/PML, and ICT killzones. Every zone is ranked 0–100 by a relevance score built from five factors; opacity scales with that score so the eye is drawn to the bright zones while weak ones recede, and a threshold filter deletes the weakest zones entirely to free chart drawing budget. A top-N dashboard ranks the strongest setups by price, direction, age, and score. Three colour schemas — Default (customizable), Dark, and Light — are switchable globally, with all 22 default colours exposed as individual inputs. Per-type drawing caps and an FVG merge engine keep performance steady on busy timeframes.
2. HOW IT WORKS
SMC Event Detection
The script identifies institutional footprints in real time. Every event has its own creation logic and mitigation logic — once price returns and fills the inefficiency, the zone is removed from the chart.
Fair Value Gaps are 3-bar imbalances where the wicks don't touch, rendered as semi-transparent boxes with a centre-line at the consequent encroachment (CE). Order Blocks are the last opposite-coloured candle before a structure break, gated by minimum displacement (× ATR). Breaker Blocks are Order Blocks that flip side after price violates them, indicating role reversal. Liquidity (BSL / SSL) lines mark confirmed swing highs and lows where retail stops cluster, while BPR (Balanced Price Range) zones are detected as overlaps between opposing FVGs — high-probability institutional pivots.
EQH / EQL marks equal highs and lows within an ATR tolerance, identifying magnet liquidity. BOS / CHoCH distinguishes Break of Structure (continuation) from Change of Character (reversal); when a CHoCH prints shortly after a liquidity sweep, it is auto-tagged as Reversal Confirmed . The script also detects Sweep , IDM (Inducement) , and SMT divergence against a configurable reference symbol, and shades Killzones for the Asia, London, NY-AM, and NY-PM sessions in the timezone of your choice.
Confluence Scoring
For every active zone, the script counts how many other zones overlap its price range within an ATR-based tolerance. Confluence between an Order Block, a Fair Value Gap, and a previous-day high is the textbook setup smart-money traders look for — this metric quantifies it.
Composite Relevance Score
Each zone is scored 0–100 from five normalised factors with user-editable weights: Confluence (default 30%) measuring how many other zones overlap, Freshness (20%) decaying exponentially with bars since creation, Displacement (20%) capturing the size of the impulse that created the zone divided by ATR, Trend Alignment (15%) rewarding zones that match the current swing-structure direction, and Proximity (15%) favouring zones near current price normalised by ATR reach. Weights don't have to sum to 100 — normalisation happens internally. The score recalculates every bar, so as price moves the proximity factor updates and the ranking shifts in real time.
Visual Hierarchy
Opacity scales with score — a zone at score 90 is vivid; at score 35 it's nearly transparent. Same colours, different volume. The threshold filter takes this further: anything below a configurable score (default 30) is deleted, not just dimmed — this frees drawing slots and prevents drawing-limit overflow on busy charts. Every zone label optionally appends its score, e.g. "Bull OB 82".
Dashboard Panel
On the last bar, a compact table renders in the chart corner showing the top N zones ranked by score. Each row displays rank, type, price, direction, age in bars, and score with star rating and tier colour (≥80 green, ≥60 teal, ≥40 amber, <40 grey). The table updates with every new bar.
3. HOW TO USE
The Dashboard Workflow
Glance at the dashboard. The top 2–3 zones are your high-probability watchlist for this chart — combine the price level shown with the type and direction to plan your entries. If nothing has a score above 60, the market isn't offering quality setups; wait.
Trading Reversals
Look for this sequence on the chart. First, price sweeps a BSL or SSL line and a sweep label appears. Within a few bars, CHoCH prints — a close back through the opposing swing — and a Reversal Confirmed label fires at that CHoCH point. From there, look for a fresh Order Block or FVG in the direction of the new bias, ideally inside the Discount or Premium zone or the OTE. Enter on retracement to that zone, place your stop beyond the swept extreme, and target the opposite liquidity pool (the BSL or SSL on the other side).
Trading Continuations
After a BOS in the direction of the current trend, the OB or FVG that produced the break becomes a high-probability retracement entry. The dashboard will surface it automatically if its score is in the top tier.
Decluttering for Clarity
The Threshold input is your declutter dial. On a busy 1H chart with 50+ historical zones, set it to 60 — only the cream stays visible. On a clean 15m intraday, set it to 30 to keep more context. At 0, every detected zone is drawn (legacy mode).
Combine With Other Confluence
The scoring system already integrates intra-indicator confluence. For external confluence, overlay your higher-timeframe levels, a volume profile, or session VWAPs — anything that aligns with a high-score zone is a stronger setup.
4. SETTINGS
Settings are organised into logical groups in the dialog.
Structure: swing and internal pivot lengths, BOS / CHoCH toggles, HH/HL/LH/LL labels
Liquidity: BSL/SSL/INT_LQ toggles, sweep window, IDM, Reversal Confirmed
Order Blocks: minimum displacement (× ATR), Breaker conversion on violation
EQH / EQL: ATR tolerance for equal levels
Fair Value Gap: small-gap filter, extension bars, mitigation-on-close, BPR detection
FVG Merge: consolidates old overlapping FVGs by age and ATR tolerance
Volume Imbalance: body-to-body gap detection
Premium / Discount: range plot and OTE zone (62–79% retrace)
Previous H/L: PDH/PDL, PWH/PWL, PMH/PML toggles
SMT: divergence reference symbol (default NQ futures)
Killzones: session backgrounds in selectable timezone
Drawing Limits: per-type caps to control total draw count
Scoring: confluence tolerance, freshness decay, proximity reach, five weights, threshold, opacity toggle, score-in-label toggle
Dashboard: show / rows / position / cell size
Colors: schema enum (Default / Dark / Light) plus 22 individual colour inputs
Style: label size, extension bars, all event label text
5. DESIGN DECISIONS
This indicator was built around three principles.
Decluttering is more valuable than detection. Anyone can detect an FVG — the hard part is knowing which of the twelve currently on screen is the one you should care about. The scoring system exists because the trader's biggest enemy is signal-to-noise, not missing signals.
Every zone should justify its space. Opacity scaling and the threshold-delete behaviour mean that low-conviction zones don't merely fade — they're erased from the drawing pool, so the chart stays performant even on minute-tick instruments with thousands of bars of history. The drawing-limit caps (configurable per event type) reinforce this.
Customisation should be opt-in. The Default schema is the production-ready palette. Most traders won't touch the 22 colour inputs. But for designers who care, every base colour is individually editable. Dark and Light schemas exist as one-click presets for OLED users and light-theme users respectively.
6. CREDITS AND ATTRIBUTION
The Smart Money Concepts framework is a community-developed body of knowledge built on the work of Richard Wyckoff (1930s — accumulation / distribution cycles, composite-man theory), Charles Dow (higher-highs / higher-lows market structure), Michael J. Huddleston / ICT (modern SMC terminology — BOS, CHoCH, Liquidity, Breaker, FVG, OTE, Killzones), and the wider SMC trading community that refined, tested, and disseminated these ideas.
7. DISCLAIMER
For educational and informational purposes only — not financial advice. Past performance does not guarantee future results, and all trading decisions are made at your own risk. The author accepts no liability for any loss arising from use of or reliance on this script. Indicator

Twiggs Liquidity & Order Block Engine [MarkitTick]💡 Hybrid technical indicator designed to synthesize volume-weighted momentum with structural price action analysis. By harmonizing a modernized Twiggs Money Flow (TMF) algorithm with an automated Smart Money Concepts (SMC) overlay, this script provides a multi-dimensional perspective on market dynamics. Traders can monitor underlying accumulation and distribution cycles while simultaneously visualizing critical market structure shifts and historically significant supply and demand zones, offering a comprehensive, all-in-one chart analysis environment.
✨ Originality and Utility
● A Unique Analytical Mashup
Most technical analysis tools isolate either volume momentum or price action structure. This script introduces a vital mashup by blending the quantitative rigor of the Twiggs Money Flow with the visual geometry of Smart Money Concepts (SMC).
The utility lies in cross-verification: an Order Block (structural support/resistance) becomes exponentially more actionable when validated by a corresponding surge or exhaustion in the TMF volume oscillator.
This synthesis actively filters out false breakouts. A break of structure occurring on weak or divergent money flow can be flagged as a potential liquidity sweep rather than a genuine trend continuation.
Additionally, the integration of a dynamic, real-time dashboard centralizes complex data, removing the need to manually cross-reference multiple traditional indicators, thereby saving screen space and enhancing cognitive focus during active chart analysis.
🔬 Methodology and Concepts
● The Twiggs Money Flow (TMF) Engine
The oscillator component of this script is rooted in the Twiggs Money Flow, which serves as an evolution of traditional money flow calculations.
True Range Implementation: Rather than relying strictly on the high and low of the current candle, the engine calculates the True High (maximum of current high or previous close) and True Low (minimum of current low or previous close). This inherently factors in market gaps, preventing skewed volume data during highly volatile opens.
Volume Multiplier: A proprietary multiplier determines the placement of the close relative to the True Range. The multiplier forces a value between -1.0 and +1.0, dictating the proportion of trading volume classified as buying pressure (accumulation) versus selling pressure (distribution).
Exponential Smoothing: The raw money flow volume and the raw price volume are independently smoothed using an exponential moving average (EMA) system. The final TMF value is derived by dividing the smoothed money flow volume by the smoothed absolute volume.
Signal Line Construction: A secondary exponential moving average is applied directly to the finalized TMF output, creating a responsive signal line to identify momentum crossovers and track the expansion or contraction of volume momentum.
● Smart Money Concepts (SMC) Architecture
The structural overlay maps the fractal nature of market trends using strict geometric logic.
Swing Detection: The script scans historical data across a user-defined lookback period to pinpoint distinct Swing Highs and Swing Lows, creating the foundation of the market structure.
BOS and CHoCH Logic: When the closing price breaches an active Swing High or Swing Low, the engine dynamically labels the event as a Break of Structure (BOS) if it aligns with the prevailing trend, or a Change of Character (CHoCH) if it signifies a potential trend reversal.
Order Block Generation: Upon a confirmed structural break, the engine projects Order Blocks based on the origin of the impulse move. The depth and visual boundary of these blocks are calibrated using a localized Average True Range (ATR) calculation.
Mitigation Tracking: The script features a state-tracking algorithm that monitors price interaction with active Order Blocks. Once price re-enters and "mitigates" a block, the zone is visually dimmed or entirely hidden, keeping the chart completely focused on unmitigated liquidity zones.
🎨 Visual Guide
● Oscillator Pane Elements
TMF Histogram & Line: The primary TMF value is plotted as both a solid line and a supporting histogram. Values above the zero line utilize a Neon Violet color to indicate bullish money flow, while values below the zero line shift to a Neon Orange/Red to denote bearish flow.
Signal Line: Displayed as a dotted Gold/Yellow line tracking alongside the TMF.
Overbought/Oversold Zones: Dashed horizontal thresholds exist at user-defined overbought (+0.20) and oversold (-0.20) levels. When the TMF breaches these extremes, the background of the oscillator pane fills with a semi-transparent red or green glow.
Alert Shapes: Small geometric shapes (triangles and circles) populate the oscillator pane to mark exact moments where the TMF crosses the zero line or breaches the outer extreme zones.
● Price Chart Overlay
Candle Coloring: If enabled, standard price candles are re-colored based on the relationship between the TMF and its Signal Line. Bright Violet implies expanding bullish momentum, while dimmed Violet indicates narrowing bullish momentum. Conversely, Bright Orange implies expanding bearish momentum, with dimmed Orange signifying fading bearish pressure.
Structure Labels: Dashed lines paired with small text labels (BOS / CHoCH) appear precisely where structural breaks are confirmed.
Order Blocks: Solid rectangular boxes project forward in time. Unmitigated bullish blocks are filled with semi-transparent Violet, while unmitigated bearish blocks are filled with semi-transparent Orange. Once price touches these zones, they transition to a muted Slate/Grey color to signify mitigation.
● Real-Time Dashboard
Positioned in the top-right corner, this dark-themed data table provides a high-level summary of the current market state. It displays the numeric TMF and Signal values accompanied by 10-segment visual power bars. It also explicitly spells out the current Momentum Gap status, Overbought/Oversold Regime, Zero Cross Age (in bars), and the overarching Market Structure trend.
📖 How to Use
● Analyzing Momentum Crossovers
Primary trend confirmation is achieved by observing the TMF relative to the Zero Line. A sustained period above zero indicates healthy accumulation, whereas resting below zero signifies persistent distribution.
Short-term entry triggers can be identified by the TMF crossing its dotted Gold Signal Line. An upward cross while below zero can signal an early mean-reversion opportunity, whereas an upward cross above zero confirms strong trend continuation.
● Exploiting the Mashup Confluence
The most robust trading setups occur when both the oscillator and the price action overlay align perfectly.
Bullish Setup: Wait for the SMC engine to print a bullish Change of Character (CHoCH) followed by the generation of a fresh, Violet Order Block. As price retraces downward into this Order Block, look at the oscillator. If the TMF is rising, crossing its Signal Line, or rejecting the oversold threshold, the probability of a successful bounce increases significantly.
Bearish Setup: Observe price rallying into a pre-existing Orange bearish Order Block. If the dashboard simultaneously indicates that the TMF is in an "Overbought Regime" and the histogram begins crossing downward below the Signal Line, this provides confluence for a potential short entry or long exit.
⚙️ Inputs and Settings
● Calculation Parameters
TMF Period: Determines the lookback length for the underlying money flow moving averages. Increasing this smooths the oscillator but introduces lag.
Signal Line Period: Adjusts the sensitivity of the dotted signal line tracking the TMF.
Overbought/Oversold Levels: Custom thresholds for extreme zones (default +/- 0.20), allowing traders to adapt the script to highly volatile or highly ranging assets.
● Neon Colors
Total control over the aesthetic theme, including individual hex color overrides for Bullish/Rising states, Bearish/Falling states, Histogram fills, and Candle coloring.
● SMC & Market Structure
Enable SMC Overlay: A master toggle to display or hide structural lines and Order Blocks.
Swing Length: Dictates the strictness of pivot high/low detection. A lower number reacts to micro-trends, while a higher number identifies macro-structural shifts.
Track / Hide Mitigated OBs: Toggles the visual state of Order Blocks after price interacts with them. Users can choose to leave them on the chart as dimmed boxes or delete them entirely for maximum chart cleanliness.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Volumetric Price Analysis Theory
The framework of this indicator is deeply anchored in auction market theory and the foundational work of Marc Chaikin, subsequently refined by Colin Twiggs. Traditional money flow indices often fail to capture the reality of market gaps, leading to incomplete volumetric profiles. By integrating the True Range calculation, the mathematics ensure that the proportional distance between the close and the absolute extreme of the session accurately reflects the terminal buying or selling pressure.
● Exponential Smoothing Mechanics
The internal architecture relies on parallel exponential moving averages (EMA). Unlike simple averages, the EMA assigns mathematically weighted significance to the most recent data points via an alpha constant (1/N). By smoothing the price-volume product and the raw volume independently before division, the indicator mitigates the erratic noise inherent in isolated volume spikes, producing a normalized quotient that tracks the authentic underlying liquidity flow.
● Fractal Market Structure & Geometric Support
The secondary framework relies on the premise that financial markets move in fractals, creating self-similar structures across all timeframes. By programmatically defining a "Swing" as a local extremum untouched over a specified sample size, the script mathematically formalizes the identification of supply and demand origin points. The dynamic projection of Order Blocks utilizes the Average True Range (ATR) as a standard deviation metric, recognizing that liquidity zones are not precise, one-dimensional price points, but rather two-dimensional areas defined by the asset's current historical volatility.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

SMC Liquidity Sweep & Fibonacci Extension [MarkitTick]💡 A highly advanced, multi-faceted chart overlay engineered to synchronize market structure analysis, dynamic liquidity tracking, and harmonic Fibonacci projections. By continuously parsing raw price action through a confluence-based scoring system, this indicator provides technical analysts with a unified framework for identifying localized structural shifts, mapping premium and discount pricing zones, and projecting precise forward targets using automated ABC ZigZag structures. It functions as a complete technical environment designed to remove the need for multiple disparate chart overlays.
✨ Originality and Utility
Standard indicators often focus on a single mathematical concept, leaving the analyst to manually stitch together multiple tools to form a cohesive thesis.
This script completely breaks that mold by merging a rigorous market structure shift (MSS) engine with an adaptive, volatility-adjusted Fibonacci structure mapper.
It introduces a highly original dynamic confluence scoring system that grades current setups in real-time based on higher timeframe (HTF) alignment, session timing, and liquidity events.
The inclusion of ATR-adaptive stop losses, order block mitigation tracking, and full webhook alert integration makes it an exceptionally utilitarian system for both discretionary chart analysis and automated alert routing.
Rather than cluttering the screen with infinite historical data, the indicator utilizes a smart-pruning engine that actively hides or greys out mitigated order blocks, filled gaps, and invalidated Fibonacci setups.
🔬 Methodology and Concepts
● Market Structure & Liquidity Engine
The script utilizes a localized loop lookback to identify significant pivot highs and lows, forming the absolute mathematical foundation of its trend analysis.
A liquidity sweep is mathematically confirmed when price pierces a previous structural pivot's extreme but fails to maintain momentum, thus confirming a reversal of localized volume.
Changes of Character (CHoCH) and Breaks of Structure (BOS) are dynamically generated and labeled when price confidently closes beyond confirmed pivot boundaries, establishing a directional bias.
● Fair Value Gaps (FVG) & Order Blocks
Fair Value Gaps are detected by comparing the extreme of the first candle to the extreme of the third candle in a three-bar sequence. If they do not overlap, a pure price imbalance zone is mathematically plotted.
Order Blocks are automatically mapped around the exact origin of a structural break, utilizing an Average True Range (ATR) offset to define the true boundary of the support or resistance zone.
The engine continuously tracks forward price interaction with these zones, automatically removing them from the visual field once mitigated by future price action to maintain chart clarity.
● Automated Fibonacci & ABC Structures
An internal ZigZag algorithm utilizes ATR to filter out baseline market noise, mapping only statistically significant price swings.
Once a valid three-point ABC structure is confirmed (where point C retraces but does not invalidate point A), the script automatically calculates forward projections.
Target extensions are generated using either linear geometric scaling or logarithmic interpolation, providing dynamic profit objectives that adapt to the underlying asset's volatility.
🎨 Visual Guide
● On-Chart Elements
Dashed Lines: Represent significant market structure breaks. Cyan dashed lines indicate a bullish structural shift, while magenta dashed lines indicate a bearish shift.
Text Labels: "CHoCH" or "BOS" text marks structural confirmations directly on the break line. Small yellow "IDM" labels highlight captured inducement levels within the trend.
Shaded Boxes: Cyan and magenta background boxes denote active Bullish and Bearish Fair Value Gaps. Mitigated order blocks turn deep grey if the user chooses not to hide them entirely.
Session Kill Zones: Golden transparent boxes highlight the London session volatility, bright green identifies the New York open, and deep orange maps the Asian range consolidation.
Fibonacci Projections: Dotted and solid lines extend dynamically to the right from valid ABC structures, detailing exact price targets and their associated harmonic or Elliott Wave ratios.
● Comprehensive Confluence Dashboard
Located firmly at the top right of the chart window, this panel continuously updates with the current state of the market environment.
It displays the active trend direction, an aggregate Confluence Score out of 5 (color-coded from a neutral grey to a highly confident vibrant green), and the Higher Timeframe Bias.
Additionally, it provides immediate readouts on the current Premium/Discount pricing equilibrium, the active global trading session, liquidity sweep states, and real-time ATR values.
📖 How to Use
● Trade Qualification and Scoring
Monitor the Confluence Dashboard diligently. A score of 4 or 5 strongly indicates a high-probability alignment across multiple, independent market factors.
Wait for a confirmed liquidity sweep on the chart, followed immediately by a structural break (CHoCH or BOS) that aligns in the direction of the Higher Timeframe (HTF) trend bias.
● Entry Execution and Targeting
Utilize the automatically plotted Order Blocks and Premium/Discount zone quartiles to refine entry locations. Ideal long entries statistically occur within the discount quartile of the defined range.
Set realistic profit targets using the automated Fibonacci extensions. The 1.618 level (often labeled as Wave 3) serves as a primary extended objective for momentum-based moves.
Risk management should be tied directly to the ATR-adaptive stop-loss values calculated internally by the script, ensuring your stops are placed outside the immediate noise floor of the asset.
⚙️ Inputs and Settings
● Market Structure Configuration
Swing Length: Adjusts the raw sensitivity of pivot detection. Higher numeric values create a macro structural view; lower values capture micro intraday structures.
Risk/Reward Ratio: Modifies the theoretical profit targets generated specifically for the internal webhook alert payload system.
● Filters and Environmental Zones
HTF Timeframe: Allows the selection of the specific resolution for the background trend bias filter (e.g., 240 for a 4-hour bias on a 15-minute chart).
Premium / Discount Zone: Toggles the background display of mathematical range quartiles (Premium, Equilibrium, Discount).
Session Kill Zones: Activates time-based highlighting for major global trading hours, strictly aligned to UTC.
● Fibonacci Parameters
Use Logarithmic Scale: Switches all forward projection math to logarithmic scaling, an essential setting for high-volatility assets or deep historical charts.
Structure Invalidation: Deletes or greys out active ABC structures the moment current price completely breaks below the origin point (Point A).
● Webhook Action Routing
Open Long / Short Actions: Allows the user to define exact, customized JSON payload strings to route automated signals seamlessly to third-party execution platforms.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Pivot Extrema and Range Equilibrium Theory
The identification of market structure inherently relies on local extrema calculation. A given point is mathematically considered a pivot high if its peak value is strictly greater than all adjacent values within a defined window.
By mapping these rolling extrema over continuous time series data, the script establishes an active topological trading range.
This range is subsequently divided into exact quartiles to define Premium and Discount pricing equilibriums, rooted in mean-reversion statistical theories.
● Volatility-Adjusted Noise Filtration
The internal ZigZag algorithm utilizes the Average True Range (ATR) to establish a dynamic, mathematically sound noise floor.
ATR evaluates the moving average of absolute price differentials over time, capturing true gap volatility.
A structural swing is only validated by the algorithm if the absolute price differential exceeds a defined, user-adjustable multiple of the ATR, ensuring mathematical robustness against ranging, low-volatility environments that cause false signals in standard pivot models.
● Harmonic Projection Mechanics
Forward Fibonacci extensions are calculated using either a standard linear geometric model or a complex logarithmic scale.
In linear application, a forward target for a given expansion ratio is derived directly from an ABC configuration by extrapolating the absolute distance of the primary impulse leg.
When logarithmic scaling is applied, the mathematical relationship transforms to exponentiate the natural log of the price coordinates.
This aligns the future projections with percentage-based compounding growth models, effectively addressing price scale distortions inherently found in exponential secular trends.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Vector Candle 50% Real Body LevelsVector Candle 50% Real Body Levels
Overview
This indicator identifies institutional volume anomalies (known as Vector Candles) and automatically plots a dynamic horizontal level at the exact 50% of their Real Body (the midpoint between open and close, completely ignoring the wicks).
In modern trading frameworks like Smart Money Concepts (SMC) or Order Blocks, the 50% threshold of a high-volume candle represents a premium point of control where heavy institutional orders were matched. This script visualizes these areas as high-probability support or resistance zones.
To keep your charts clean and noise-free, the script features a dynamic mitigation system: the moment any future candle touch or cross the line (even just with a wick), the level is considered "claimed" and immediately vanishes from your screen.
Key Features
Real Body Midpoint Calculation: Unlike standard tools that calculate the 50% level using the absolute High and Low, this indicator targets the core of the market commitment by averaging only the open and close prices.
Volume Threshold Filters: Dynamically benchmarks current volume against a Simple Moving Average (SMA) lookback period, filtering out normal market noise and highlighting only genuine capital injections.
Auto-Clean Mitigation Logic: Levels instantly self-destruct once price mitigates or tests the exact coordinate, ensuring every single line visible on your chart is 100% active and pending.
Engineered for v6 Performance: Built using Pine Script v6 User-Defined Types (UDTs) and efficient array memory management to prevent any charting lag, even during high-volatility sessions or lower timeframes.
Inputs & Customization
Average Volume Lookback: The period used to establish the baseline volume average (Default: 10).
Volume Multiplier 1 (VF) / Multiplier 2 (VA): Sensitivity thresholds to define what qualifies as an extraordinary volume vector (e.g., 2.0x or 1.5x above average).
Level Style Options: Easily adjust the horizontal line color and thickness to blend seamlessly with your personal chart layout.
How to Trade with It
Bullish Vector Mitigation (Support): When a high-volume bullish candle forms, look for the price to retrace downward to test the green horizontal line. This 50% body zone often acts as a strong bullish pivot.
Bearish Vector Mitigation (Resistance): When a high-volume bearish candle drops, look for short-term relief rallies to cap out exactly at the 50% body line, offering high R:R (Risk-to-Reward) short entries.
Breakout Tracking: If a level is pierced through aggressively rather than holding as pivot support/resistance, it indicates a structural shift in market direction. Indicator

SwingRegress Volatility Analytics [MarkitTick]💡 A comprehensive, multi-dimensional charting tool designed to fuse structural market analysis, statistically derived linear regression pathways, and volatility compression mechanics into a single, cohesive interface. By dynamically adapting its calculations to the latest shifts in market structure—specifically Change of Character (CHoCH) events—this script offers an adaptive mapping of price action, trend trajectory, and potential breakout zones directly on the primary chart.
● ✨ Originality and Utility
Traditional linear regression tools often require manual anchoring or rely on fixed lookback periods that fail to adapt to rapidly unfolding price dynamics. The distinct utility of this script lies in its self-adjusting structural anchoring mechanism. By automatically locking the regression baseline to the most recent significant pivot high or pivot low immediately following a structural break, the channel remains mathematically and contextually relevant to the current market regime.
Furthermore, this tool eliminates the need for separate sub-chart oscillators by integrating a sophisticated Smart Volatility Squeeze engine. This engine compares price variance against true range to identify periods of extreme price compression, overlaying these signals directly within the active regression pathway. The result is a unified, chart-centric view of both directional trend geometry and kinetic energy build-up, allowing for a more focused and uncluttered analytical process.
● 🔬 Methodology and Concepts
The underlying logic of this script is driven by three core mathematical engines operating in tandem:
• Pivot Discovery and Market Structure
The script continuously scans incoming price data to identify localized extremes, defined as Pivot Highs and Pivot Lows. A candidate bar is confirmed as a pivot only if it remains unbroken for a user-defined number of bars both prior to and following its occurrence. Once confirmed, these pivots establish the market structure. If the closing price breaks beyond the most recent opposing pivot, a Change of Character (CHoCH) is triggered, officially shifting the trend state.
• Anchored Linear Regression
Upon the confirmation of a new CHoCH, the script calculates a fresh Linear Regression Channel (LRC). The anchoring point is the origin pivot of the newly established trend. The script uses the Ordinary Least Squares (OLS) method to compute the slope and intercept of the best-fit line through the closing prices of the current regime. It then calculates the standard error of the estimate (standard deviation of the residuals) to project upper and lower variance bands parallel to the mid-line.
• Volatility Squeeze Mechanics
To identify volatility compression, the script employs a comparative analysis between standard deviation and Average True Range (ATR). It calculates a Bollinger Band (representing standard deviation) and a Keltner Channel (representing ATR) around a moving average baseline. A "squeeze" is structurally confirmed when the outer limits of the Bollinger Bands contract entirely within the boundaries of the Keltner Channels. This signifies that historical variance has dropped substantially below the average true range, often preceding a dynamic expansion in price movement.
● 🎨 Visual Guide
The visual interface is highly detailed and structurally color-coded to provide immediate contextual awareness without cluttering the chart.
• Current Anchored LRC
Mid Line: A solid Neon Cyan line representing the true mean of the current trend regime.
Band 1: A dashed Soft Cyan line mapping the first standard deviation threshold.
Band 2: A dotted Deep Azure line mapping the secondary, outer standard deviation extreme.
• Previous Anchored LRC
Mid Line: A solid Magenta line representing the historical mean of the preceding trend.
Band 1: A dashed Soft Magenta line for the historical inner variance.
Band 2: A dotted Blue-Violet line for the historical outer variance.
• Swing Point Zones
Swing High Boxes: Translucent red zones originating from a confirmed pivot high, drawing forward to act as dynamic resistance until broken by price action.
Swing Low Boxes: Translucent green zones originating from a confirmed pivot low, acting as dynamic support until structurally invalidated.
• Volatility Squeeze Candles
Cyber Gold Candles: When the market enters a state of extreme volatility compression (Bollinger Bands inside Keltner Channels) and is actively trading within the current or previous LRC pathway, the candles are painted a vibrant gold to highlight imminent kinetic release.
• Heads-Up Dashboard Display
Located in the top right corner, this self-updating data matrix provides critical real-time telemetry:
Structure Regime: Displays the active directional bias (Bullish, Bearish, or Neutral).
Last CHoCH: Indicates the direction and age (in bars) of the most recent structural shift.
Squeeze Intensity: A visual block-bar measuring the depth of the volatility compression.
ATR (14): The current absolute value of the Average True Range.
Dist to Swings: The percentage distance between the current price and the nearest Swing High/Low.
Risk/Reward Quality: A dynamic measurement of potential risk versus structural reward.
LRC Window Age: The duration of the current regression channel in bars.
LRC Position: Indicates whether price is currently trading inside the active regression channel, the previous channel, or is entirely unanchored.
● 📖 How to Use
The primary application of this tool is identifying high-probability continuation or mean-reversion setups following structural confirmation.
When a CHoCH event occurs, wait for the new Linear Regression Channel to populate. This channel defines your trading parameters. A high-probability setup manifests when price pulls back to the inner or mid-line of the active LRC, accompanied by the appearance of Cyber Gold squeeze candles. This visual confluence suggests that price is compressing directly at the statistical mean of the new trend, building energy for a move in the direction of the underlying structural regime.
Conversely, if price approaches the outer standard deviation bands (Deep Azure) without structural confirmation of a breakout, it suggests the market is statistically overextended, offering a potential mean-reversion opportunity back toward the Neon Cyan mid-line.
Note on Mechanics: Because the pivot discovery process requires a defined number of bars to confirm a swing high or low, there is an inherent lookback period. The swing zones will only appear after the pivot has been structurally verified. Furthermore, the linear regression channel recalculates its slope dynamically as new price data is added to the active regime, meaning the exact angle of the channel adapts in real-time until a new CHoCH locks it into history as the "Previous LRC."
● ⚙️ Inputs and Settings
The configuration panel is logically divided into primary analytical modules to allow for precise user calibration.
• Current Anchored CHoCH LRC
Adjust the sensitivity of the pivot discovery engine by modifying the Left and Right Pivot Bars. You can also customize the multipliers for the primary and secondary standard deviation bands, as well as toggle their visibility and modify line weights.
• Previous Anchored CHoCH LRC
Allows for the toggling of the historical channel, providing context on how the previous trend failed. Color and visibility settings are fully adjustable here.
• Swing Points & Zones Settings
Toggle the structural resistance and support boxes on or off, and customize their respective color opacities for a cleaner chart overlay.
• Smart Volatility Squeeze (BB vs KC)
Tune the underlying volatility engine. You can adjust the lookback length for the variance baseline, as well as the specific deviation multipliers for both the Bollinger Band boundaries and the Keltner Channel limits.
• Webhook Execution Configuration
Input exact JSON payload action names for algorithmic execution routing (Long, Short, Close Long, Close Short).
• Dashboard Settings
Customize the background and text colors of the heads-up data matrix to match your specific chart theme.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The mathematical foundation of this script is anchored heavily in econometrics and statistical probability theory.
At its core, the linear regression calculation utilizes the Ordinary Least Squares (OLS) estimator. This formula determines the line of best fit through a sequence of time-series data points by minimizing the sum of the squared differences (residuals) between the observed closing prices and the values predicted by the linear model. The slope of this line represents the average rate of change per unit of time, mathematically quantifying the drift of the active regime.
The parallel bands wrapping the regression line are derived by calculating the standard error of the estimate. Assuming the residuals are normally distributed (Gaussian distribution), one standard deviation captures approximately 68 percent of the price variance, while two standard deviations capture roughly 95 percent. When price moves beyond these outer bands, it represents a statistically significant deviation from the mean, inherently increasing the probabilistic likelihood of mean reversion.
The volatility squeeze mechanic operates on the principle of variance compression. Bollinger Bands are a derivative of standard deviation, making them highly reactive to short-term variance. Keltner Channels utilize the Average True Range (ATR), which measures absolute periodic volatility independent of a central mean. When the standard deviation of price contracts to such a degree that the Bollinger Bands fall entirely within the ATR-based Keltner Channels, it statistically confirms a state of anomalous energy compression. In financial academia, periods of artificially suppressed variance are overwhelmingly followed by periods of geometric expansion, providing the theoretical basis for breakout execution.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Ranked Order Block Zones (Zeiierman)█ Overview
Ranked Order Block Zones (Zeiierman) is an advanced Order Block engine that transforms traditional OB detection into a dynamic ranking and prioritization system.
Instead of displaying every detected Order Block equally, the script stores each zone as a structured data object, evaluates its quality in real time using multiple market factors, and continuously ranks all active zones based on their relative strength.
The result is a cleaner, more intelligent Order Block framework that focuses attention on the highest-quality institutional zones currently influencing price action.
█ How It Works
⚪ Structured Order Block Engine
Each detected Order Block is stored as a structured UDT object containing its price range, direction, size, mitigation state, volume behavior, trend alignment, internal strength, and overall quality score. This allows every zone to behave like an active market structure rather than a static drawing.
The script detects Order Blocks using candle-flip structures combined with ATR-normalized body validation, allowing the system to automatically adapt across different assets, volatility conditions, and timeframes.
⚪ Dynamic Quality Ranking
Every Order Block receives a continuously updated quality score based on:
• Zone size relative to ATR
• Volume expansion
• EMA trend alignment
• Candle displacement strength
• Mitigation progress
• Zone age decay
All Order Block objects are stored inside an array and ranked using Pine Script’s native UDT collection sorting:
obs.sort(order.descending, sort_field = "qualityScore")
This allows the script to dynamically reorder all active zones in real time, prioritizing the strongest institutional areas while weaker zones gradually lose ranking.
⚪ Smart Zone Management
After sorting, only the highest-ranked Order Blocks are displayed on the chart while lower-quality zones remain internally tracked but hidden from view. The script can also merge overlapping zones of the same direction to reduce clutter and create a cleaner institutional structure.
Each zone continuously tracks mitigation progress. As price trades deeper into an Order Block, its quality score weakens until fully mitigated zones are automatically removed.
⚪ Internal Strength Distribution
Every Order Block contains bullish and bearish internal pressure components displayed as live strength bars inside the zone.
These help visualize:
• Directional dominance
• Continuation potential
• Structural weakness
• Opposing pressure developing inside the zone
█ How to Use
⚪ Focus on Top-Ranked Zones
Only the strongest Order Blocks are displayed based on current market conditions and quality ranking.
⚪ Read Internal Strength Bars
• Strong directional dominance → higher continuation probability
• Balanced pressure → weaker structure
• Opposing pressure growth → increasing failure risk
⚪ Watch for Retests
Order Blocks become most useful when price revisits the zone after the initial displacement move.
Strong retests often show:
• Immediate reaction from the zone
• Strong directional continuation
• Respect of internal strength alignment
Deeper or repeated retests can weaken the zone over time as mitigation increases and quality decays.
█ Related Scripts
Ranked FVG Imbalance Zones (Zeiierman)
█ Settings
Show Top Zones: Controls how many of the highest-ranked Order Blocks are displayed.
Max Stored OBs: Controls how many Order Blocks are tracked internally.
Volume MA Length: Defines the baseline used for volume expansion scoring.
Trend EMA Length: Defines the EMA used for trend alignment scoring.
Min Flip Body ATR: Defines the minimum candle body size required for valid Order Block creation.
Merge Overlapping OBs: Enables automatic merging of overlapping zones.
Max Merge Size ATR: Prevents merged zones from becoming excessively large.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator

Order Block Matrix Trade Engine [Alpha Extract]A sophisticated institutional-grade order block ecosystem combining advanced liquidity mapping, dynamic volume-distribution visualization, and fully integrated automated trade-engine logic into a unified execution framework. The system identifies high-probability bullish and bearish order blocks through adaptive breadth analysis, overlays volumetric mountain profiling to visualize liquidity concentration inside each block, and automatically converts qualified reactions into fully managed trade setups with real-time performance analytics. By integrating smart mitigation handling, ATR-adaptive risk management, rejection-based confirmations, and live statistical tracking, the indicator delivers a complete order flow trading environment designed for precision execution across trending and ranging markets.
🔶 Advanced Institutional Order Block Detection Engine
Implements a sophisticated order block discovery framework using multi-candle structure analysis combined with ATR-adjusted breadth logic to isolate high-quality institutional accumulation and distribution zones. The system scans for bullish and bearish displacement structures, validates directional intent through sequential candle confirmation, and dynamically defines order block boundaries using either Full Candle mode or Breadth mode for adaptive precision.
= checkObCondition(obLookback)
if is_bullish
topValue = high
botValue = low
if is_bearish
topValue = high
botValue = low
🔶 Liquidity Mountain Volume Profiling System
Features a unique volumetric “mountain” rendering engine that visualizes liquidity density inside each order block through dynamically generated layered volume structures. Instead of traditional flat rectangles, the system creates evolving liquidity formations representing volume concentration and order flow intensity across the zone. Each mountain adapts in real-time based on relative block strength versus average market participation.
The engine applies multiple gaussian distribution curves combined with sinusoidal ridge modulation to simulate realistic institutional liquidity concentration, creating an intuitive representation of where absorption and participation occurred inside the order block.
🔶 Smart Order Block Strength Classification
Calculates dynamic order block strength using relative volume normalization against rolling market participation averages. Each block receives a live strength multiplier representing institutional conviction.
strength = ta.sma(volume, 20) > 0 ? block.totalVolume / ta.sma(volume, 20) : na
Higher strength blocks represent stronger participation and receive enhanced trade priority within the trade engine. This allows traders to isolate high-conviction zones instead of treating all order blocks equally.
🔶 Adaptive Mitigation & Invalidity Framework
Implements intelligent mitigation handling to continuously maintain chart cleanliness and signal quality. The system automatically removes invalidated order blocks once price fully breaches the defined risk boundary using configurable Close or Wick mitigation logic.
Close-based mitigation waits for candle body confirmation beyond the zone, while Wick-based mitigation aggressively removes invalidated structures immediately upon liquidity sweep. This flexibility allows adaptation between conservative and aggressive execution styles.
🔶 Automated Order Block Trade Engine
Transforms passive order block analysis into a complete semi-automated execution framework. Once price interacts with a qualified order block, the system automatically generates trade entries, calculates stop-loss placement, projects take-profit targets, and tracks the trade lifecycle in real time.
The engine supports both:
• Touch Entries — executes immediately when price enters the order block.
• Rejection Entries — waits for confirmation rejection before triggering.
triggered = trade_triggerMode == "Touch" ? inside : rejected
This allows traders to adapt between aggressive front-running entries and more conservative confirmation-based execution.
🔶 Dynamic Risk-to-Reward Projection System
Features fully automated risk management architecture calculating stop-loss and take-profit placement immediately upon entry. The system supports both:
• Block Edge Stops — uses structural order block invalidation.
• ATR Stops — volatility-adjusted dynamic stop placement.
Take-profit targets are generated through configurable risk-to-reward multipliers.
risk = math.abs(obEntry - obSL)
obTP := obEntry + risk * trade_rr
This creates standardized trade management across all setups while maintaining volatility awareness.
🔶 Real-Time Trade Lifecycle Tracking
Provides comprehensive active trade monitoring with live entry, stop-loss, take-profit, floating R-multiple, timer tracking, and duration analytics directly on the chart.
The system continuously tracks:
• Live R performance
• Bars held
• Time in trade
• Strength of originating order block
• Trade direction
• Open trade status
All statistics update in real time without repainting.
🔶 Institutional Performance Analytics Dashboard
Features a fully integrated professional trade statistics panel providing institutional-level strategy analytics directly inside PulseWire.
The framework tracks:
• Total trades
• Win rate
• Net R
• Average R
• Profit factor
• Buy vs sell performance
• Best and worst trades
• Average holding duration
• Winning and losing streaks
profitFactor = obSumLossR > 0 ? obSumWinR / obSumLossR : na
avgR = obTotalTrades > 0 ? obNetR / obTotalTrades : na
This transforms the indicator into a fully self-monitoring execution environment rather than a simple visual overlay.
🔶 Advanced Visual Architecture
Creates an institutional-quality visual experience through layered transparency systems, dynamic border rendering, volumetric liquidity structures, and adaptive color gradients.
Bullish order blocks use deep liquidity teal structures while bearish blocks utilize aggressive distribution crimson tones. Volume badges dynamically update with:
• Total order block volume
• Relative strength multiplier
• Block direction
The system maintains full visual clarity even during high-density market conditions.
🔶 Smart Block Overlap Resolution
Implements automatic overlapping order block resolution preventing redundant liquidity zones from cluttering the chart. When new blocks intersect existing structures, the framework intelligently prioritizes the latest active institutional zone and removes obsolete overlapping regions.
This creates significantly cleaner market structure visualization compared to traditional order block indicators.
🔶 Window-Based Performance Optimization
Features advanced processing optimization using configurable historical windowing to reduce unnecessary rendering overhead while maintaining full historical integrity.
This allows smooth performance even on lower timeframes with dense historical data.
🔶 Non-Repainting Confirmation Logic
Built using fully confirmed bar-state logic ensuring all order blocks, entries, exits, and statistical calculations remain stable after candle close. The framework avoids intrabar repainting behaviour commonly found in lower-quality order block systems.
This guarantees consistent backtesting behaviour and reliable live-market execution.
🔶 Comprehensive Alert Ecosystem
Provides a complete professional alert infrastructure supporting both discretionary traders and automated webhook systems.
Alerts include:
• New Bullish Order Block
• New Bearish Order Block
• Bullish Rejection Confirmation
• Bearish Rejection Confirmation
• Buy Entry Trigger
• Sell Entry Trigger
• Take Profit Hit
• Stop Loss Hit
Webhook-ready JSON payloads enable direct integration into external automation systems and execution infrastructure.
🔶 Why Choose Order Block Matrix Trade Engine ?
This indicator goes far beyond traditional order block visualization by combining institutional liquidity mapping, volumetric participation analysis, automated execution logic, and professional-grade statistical tracking into one unified framework. Rather than simply drawing supply and demand zones, the system actively interprets order flow quality, measures participation strength, filters low-conviction setups, and transforms reactions into fully managed trade structures with integrated risk management. Indicator

Indicator

xLevTrading AI SMC Algo v.0.6The xLevTrading AI Smart Money Concept Indicator is a significantly expanded and independently developed institutional trading framework based on LuxAlgo’s Smart Money Concept source code. While the script builds upon established Smart Money Concept principles such as market structure, liquidity analysis, order blocks, and fair value gaps, the internal logic, filtering systems, visual prioritization, and execution tools have been heavily redesigned and extended to create a more adaptive and context-aware analytical environment.
The primary objective of this indicator is not to generate excessive signals, but to help traders better understand how price interacts with liquidity, imbalance, and structural shifts in real market conditions. Instead of treating Smart Money Concepts as isolated visual tools, the indicator combines multiple layers of analysis into a unified framework where each component contributes contextual information to the others. This allows traders to evaluate not only where price currently is, but also why certain areas may become important during future market movement.
At the core of the system is the Adaptive Market Structure Engine, which acts as the foundation for all higher-level calculations. This engine continuously evaluates swing highs, swing lows, internal structure transitions, and external break-of-structure events in order to determine directional context across changing market conditions.
Unlike simplified structure indicators that only label highs and lows, the system distinguishes between internal market behavior and broader external trend development. This distinction allows traders to identify whether price action is currently impulsive, corrective, ranging, or transitioning into a potential reversal phase.
The structure engine also serves as a contextual filter for all other modules. Order blocks, fair value gaps, liquidity sweeps, and entry confirmations are evaluated relative to active structural conditions. This prevents isolated signals from appearing without broader market confirmation and helps traders focus on areas where multiple concepts align simultaneously.
One of the major components of the framework is the enhanced Order Block Engine. Traditional Smart Money Concept implementations often display large amounts of order blocks regardless of quality or contextual relevance, which can quickly overcrowd charts and reduce clarity. In this script, the order block system was redesigned to prioritize quality, structural alignment, and reaction probability instead of quantity.
The engine analyzes several contextual variables before validating a zone, including displacement strength, mitigation behavior, structural positioning, surrounding liquidity conditions, and overall market alignment. Zones that do not meet minimum contextual requirements are filtered out in order to reduce noise and improve readability.
This process creates a cleaner chart environment where institutional-style supply and demand zones become easier to interpret. The goal is not simply to identify historical candles, but to highlight areas where market participants may still have unfilled interest or where future reactions could become more likely.
To further improve usability, the indicator introduces Dynamic Fill Technology across both order blocks and fair value gaps. Instead of displaying every zone with equal visual weight, transparency levels dynamically adapt according to the internal scoring and contextual relevance of each area.
This visual hierarchy helps traders quickly distinguish stronger zones from weaker ones without manually analyzing every individual structure. Higher-confidence zones appear more visually dominant, while weaker areas fade into the background. The intention behind this system is to transform complex structural information into an intuitive visual workflow that supports faster decision-making during live market conditions.
Another major feature is the Dual Fair Value Gap Engine. Fair value gaps represent areas where price moved aggressively, creating temporary inefficiencies in the market. These imbalances often become important reaction zones as price later revisits them in an attempt to rebalance liquidity and restore market efficiency.
The Dual FVG system was specifically developed to identify strong imbalances across both lower timeframes (LTF) and higher timeframes (HTF) simultaneously. This allows traders to observe not only short-term inefficiencies, but also broader institutional imbalances that may influence market behavior over extended periods.
One of the key advantages of this approach is the ability to identify overlapping imbalances between different timeframe structures. When lower-timeframe and higher-timeframe fair value gaps align within similar price regions, these areas can represent stronger institutional interest and potentially more precise market impulses.
This multi-timeframe imbalance framework helps traders better understand where price may accelerate, react, or seek liquidity. By combining local execution zones with broader macro inefficiencies, traders gain additional context for identifying higher-probability entries and continuation opportunities.
The Liquidity Engine represents another central pillar of the framework. Liquidity behavior is one of the most important concepts in institutional trading because price often seeks areas where stop-loss orders, breakout traders, and resting liquidity are concentrated.
Instead of relying solely on static support and resistance levels, the liquidity system actively identifies equal highs, equal lows, liquidity pools, sweep conditions, and engineered liquidity grabs in real time. These events are then evaluated relative to structure and directional context.
This allows traders to better understand potential market intent rather than simply reacting to price movement after it has already occurred. For example, a liquidity sweep occurring against higher-timeframe directional bias may indicate temporary stop-hunting behavior rather than genuine reversal strength.
The interaction between liquidity and structure becomes especially important when combined with order blocks and fair value gaps. Areas where liquidity sweeps occur directly into structurally aligned imbalance zones can often provide significantly stronger contextual setups than isolated technical signals.
To further support directional analysis, the indicator also incorporates a Multi-Timeframe Moving Average Module. This feature provides optional trend filtering and directional confirmation by allowing traders to compare lower-timeframe execution against higher-timeframe trend conditions.
The moving average framework is not intended as a standalone signal generator, but rather as an additional contextual layer that helps traders avoid counter-trend positioning during strongly directional environments. This can be particularly useful when combining liquidity sweeps with continuation structures.
One of the newest additions to the framework is the Entry Finder Module, which is currently in Beta development. The purpose of the Entry Finder is not to replace discretionary trading decisions, but to assist traders in locating areas where multiple forms of confirmation align simultaneously.
The Entry Finder analyzes the relationship between structure direction, liquidity interaction, order block positioning, fair value gap alignment, and market momentum in order to identify potential execution zones. The system attempts to detect moments where price may be transitioning from liquidity collection into directional continuation.
For example, during bullish market conditions, the Entry Finder may identify a scenario where downside liquidity is swept below recent lows before price re-enters a bullish order block or bullish fair value gap that aligns with higher-timeframe structure. In bearish environments, the same logic can apply inversely after upside liquidity has been collected.
The purpose of this process is to help traders avoid emotional momentum entries and instead focus on structurally supported retracement opportunities where institutional participation may become more probable.
The Entry Finder can also assist traders by improving timing during volatile conditions. Many traders correctly identify directional bias but struggle with execution precision. By highlighting areas where liquidity, imbalance, and structure align simultaneously, the system attempts to improve entry location and reduce unnecessary chasing behavior.
Because the Entry Finder remains in Beta, its filtering logic and confirmation models are still being refined. Current versions should be viewed as execution assistance tools rather than fully automated signal systems. Traders are encouraged to combine the Entry Finder with their own risk management and market interpretation.
In addition to its analytical capabilities, the overall design philosophy of the indicator focuses heavily on chart readability and workflow efficiency. One of the common challenges with Smart Money Concept tools is visual overload caused by excessive labels, overlapping zones, and unnecessary calculations appearing simultaneously.
This framework was designed to reduce that issue through selective filtering, contextual prioritization, and dynamic visual weighting. Rather than attempting to display every possible technical event, the indicator focuses on highlighting areas where multiple concepts converge.
The result is a cleaner trading environment that allows users to focus more effectively on liquidity behavior, structural shifts, and execution planning without becoming overwhelmed by chart clutter.
The xLevTrading AI Smart Money Concept Indicator should be viewed as a professional-grade analytical framework designed for discretionary traders who want a deeper understanding of institutional price behavior. By combining enhanced Smart Money Concept principles with proprietary filtering systems, dynamic visualization methods, liquidity analysis, and multi-timeframe contextual alignment, the script aims to transform complex market behavior into a more structured and actionable decision-making process.
This indicator does not guarantee profitable trades and should not be interpreted as financial advice. It is intended as a decision-support and market-structure analysis tool that assists traders in interpreting price action, identifying contextual confluence, and improving overall market awareness across different trading environments.
Chart Visualization & Color Structure
To improve chart readability and help traders quickly distinguish between different market concepts, the indicator uses a structured color hierarchy across all major components. The visual system was intentionally designed to reduce confusion during live analysis and to make the interaction between liquidity, structure, order blocks, and fair value gaps easier to interpret.
Bearish higher-timeframe order blocks are displayed in purple. These zones represent institutional-style supply areas that align with broader bearish market structure and may act as potential reaction or continuation zones during retracements.
Bearish higher-timeframe fair value gaps (HTF FVGs) are displayed in orange. These imbalance zones represent aggressive bearish displacement on higher timeframes and are intended to highlight areas where price inefficiencies may still attract future reactions or rebalancing behavior.
Bearish chart timeframe fair value gaps are displayed in red. These zones reflect local bearish imbalances directly on the active chart timeframe and are primarily used for short-term execution analysis and momentum continuation setups.
Bullish chart timeframe fair value gaps are displayed in green. These indicate local bullish inefficiencies where price moved aggressively to the upside, potentially leaving behind imbalance zones that may later provide support during retracements.
Bullish higher-timeframe fair value gaps are displayed in turquoise. These zones represent larger bullish imbalances from higher timeframe price action and are intended to provide macro directional context and stronger institutional reaction areas.
The interaction between these colors and zones is an important part of the overall framework. Traders can use overlapping higher-timeframe and lower-timeframe imbalances to identify areas where multiple forms of market inefficiency align simultaneously. For example, when a lower-timeframe bullish fair value gap develops inside a higher-timeframe bullish imbalance zone, this may indicate stronger continuation potential and improved structural confluence.
The chart layout shown in the publication intentionally focuses only on the indicator’s own analytical components without unnecessary overlays or unrelated tools. This cleaner presentation is designed to help traders clearly identify how the different modules interact with one another in real market conditions.
Labels such as Break of Structure (BOS), Change of Character (CHoCH), liquidity sweeps, moving averages, order blocks, and fair value gaps are displayed directly within their relevant market context to support visual interpretation and execution planning.
Indicator
