Forex Liquidity Map [invincible3]b]Forex Liquidity Glow Map
The Forex Liquidity Glow Map is a visual currency-rotation dashboard designed to estimate where relative strength and trading activity are moving across the major Forex market.
The indicator analyzes all 28 unique currency pairs formed from:
USD, EUR, GBP, JPY, CHF, CAD, AUD, and NZD
Instead of evaluating one pair in isolation, it combines information from every relationship connected to each currency. This produces an aggregated flow score for all eight currencies and helps identify the strongest and weakest areas of the Forex market.
Calculation Model
Each Forex pair is evaluated using:
• ATR-normalized price momentum
• Relative tick-volume activity
• Fast-versus-slow trend structure
• Volatility expansion
• Directional breadth
• Score smoothing
• Flow acceleration
A positive pair score strengthens the base currency and weakens the quote currency. A negative pair score strengthens the quote currency and weakens the base currency.
Each currency’s final score is calculated from its seven connected pair relationships.
Because spot Forex is decentralized, the indicator uses PulseWire broker-feed tick volume as an activity proxy. It does not represent centralized institutional order flow.
Forex Liquidity Map
The circular map displays the eight major currencies as nodes.
• Node value: Aggregated currency-flow score
• Node size: Average relative activity across connected pairs
• River direction: Weaker currency toward stronger currency
• River width: Estimated strength of liquidity rotation
• River color: Leading currency in that relationship
• Arrow: Direction of relative capital rotation
A positive score indicates relative strength or estimated inflow. A negative score indicates relative weakness or estimated outflow.
Water Flow Matrix
The scatter matrix shows each currency according to:
• Horizontal position: Current flow score
• Vertical position: Flow acceleration
• Bubble size: Relative pair activity
• Bubble color: Currency identity
The four matrix conditions are:
• Accelerating inflow: Positive flow with positive acceleration
• Weakening inflow: Positive flow with negative acceleration
• Accelerating outflow: Negative flow with negative acceleration
• Weakening outflow: Negative flow with positive acceleration
This helps distinguish a currency that is merely strong from one whose strength is actively increasing.
Dashboard and Pair Ranking
The dashboard includes:
• Currency strength ranking
• Current flow score
• Relative tick activity
• Momentum condition
• Inflow, outflow, or balanced status
• Ranked breakdown of all 28 Forex pairs
• Strongest and weakest currencies
• Best relative-strength pair
• Market confirmation percentage
• Current Forex-rotation regime
For example, when GBP is the strongest currency and AUD is the weakest, the dashboard may identify GBPAUD as the primary relative-strength opportunity.
Update Modes
Confirmed bars only uses completed calculation-timeframe candles. The rivers, matrix, rankings, and signals remain fixed while the current candle is forming.
Live uses the active candle and updates as price and tick volume change. This provides faster information but may change before candle close.
Confirmed mode is recommended for stable analysis and alerts. Live mode is intended for intrabar monitoring.
Display Features
• Responsive bar-index geometry
• Stable layout across intraday and higher timeframes
• Dark and Bright theme presets
• Fully opaque dashboard cells
• High-contrast currency colors
• Adjustable map and matrix dimensions
• Adjustable river threshold
• Optional arrows, glow, tooltips, tables, and signals
• Configurable PulseWire Forex-feed prefix
Interpretation
The indicator is most useful for:
• Finding strongest-versus-weakest currency combinations
• Confirming directional pair setups
• Monitoring broad Forex rotation
• Detecting strengthening or weakening flows
• Avoiding pairs where both currencies have similar strength
• Comparing pair-level movement with broader currency-level confirmation
The output should be used as a market-structure and relative-strength tool , not as a standalone entry system.
Execution decisions should also consider price structure, volatility, liquidity conditions, risk management, and scheduled economic events. Indicator

Adaptive SuperTrend AI - Regime-Tuned [Dots3Red]📈 ADAPTIVE SUPERTREND AI — REGIME-TUNED
Classic SuperTrend uses one fixed ATR multiplier forever. That single number is a compromise: tight enough to track trends closely, it whipsaws during ranges; wide enough to survive ranges, it lags badly once a real trend starts. This script replaces the fixed multiplier with one that changes based on what kind of market is actually happening, using the same regime-detection engine shared across the Dots3Red catalog.
🧠 THE REGIME ENGINE
Every bar is classified into one of four states using ADX and the Choppiness Index together:
• 📈 TRENDING — ADX confirms directional strength and Choppiness confirms low chop
• 🔁 RANGING — the opposite: weak directional strength, high chop
• ⚡ VOLATILE — current ATR has expanded well beyond its baseline, regardless of direction or chop
• ❔ UNCERTAIN — none of the above conditions are clearly met
The raw regime reading is smoothed by taking the most frequent classification over a short lookback window, so a single noisy bar can't flip the regime label back and forth.
🤔 WHY RANGING GETS THE WIDEST BAND, NOT TRENDING
This is the part that looks backwards at first glance, so it's worth explaining directly. A ranging market chops back and forth around a mean — if the band were narrow here, ordinary noise would cross it constantly, causing false flips. So RANGING gets the widest multiplier (default 3.5×), letting normal chop stay inside the band. A TRENDING market is moving with genuine conviction, so a moderate multiplier (default 2.5×) tracks the move closely without giving back excessive profit before flipping on an actual reversal. VOLATILE conditions get the widest multiplier of all (default 4.5×) as a purely defensive setting, since sudden expansion is unpredictable by nature.
When the regime changes, the active multiplier doesn't jump to its new value instantly — it glides toward it over a configurable number of bars. This prevents the band from visibly teleporting on a regime transition, which would otherwise look jarring and could itself trigger a false flip right at the transition point.
The underlying band mechanics — the ratcheting upper/lower band logic, and a flip only when price closes beyond the active band — are the same as classic SuperTrend. Only the multiplier driving the band width is dynamic.
✅ THE CONFIDENCE LAYER
A SuperTrend flip is a single binary event: price crossed the band, direction changed. This script adds a secondary read on how convincing that flip actually is, using 8 independent checks against the new direction:
1. Close vs. a trend moving average
2. MACD histogram sign
3. Recent higher-high / lower-low structure
4. Close vs. the SuperTrend's own midline (hl2)
5. RSI side of 50
6. +DI vs. -DI dominance
7. Volume above its moving average on a trend-direction bar
8. Whether the regime is currently TRENDING
Every confirmed flip shows this count directly on its label — "▲ 6/8" means 6 of the 8 checks currently agree with the new uptrend. A flip with 7/8 agreement and one with 3/8 are treated identically by the raw band mechanics, but this layer gives a way to distinguish a well-supported flip from a marginal one at a glance.
🎯 FLIP WIN-RATE TRACKING
Each flip is graded once the following flip occurs: did price actually finish above the flip price (for an up-flip) or below it (for a down-flip) by the time direction changed again? This produces a running win rate — for example "58% (n=34)" — shown in the dashboard. It is a simple, honest measure of how the flips on this specific chart have actually played out, not a backtest or a promise about future flips.
🔒 NON-REPAINTING
Flips, confidence readings, and labels are all evaluated only on confirmed (closed) bars. A flip that appears on the chart will not later disappear or move to a different bar as new price data arrives.
🎨 VISUALS AND CUSTOMIZATION
The SuperTrend line and gradient fill are colored by current direction. Flip labels appear directly on confirmed flip bars with their confidence count. An optional background tint can shade the chart by current regime. All four core colors (bullish, bearish, volatile/warning, and uncertain/neutral) are fully customizable in settings, independent of the script's default palette.
The dashboard (position configurable) shows: current direction, current regime, the active ATR multiplier, the confidence count with a progress bar, the running flip win rate, and the raw ADX, Choppiness, and ATR ratio readings behind the regime classification.
🧭 HOW TO USE
👀 Reading the line and fill — the colored line and gradient fill show current direction at a glance. This is the same information classic SuperTrend gives you; the difference here is in how the band width behind that line was chosen.
🧠 Check the regime before trusting the band width — the dashboard's Regime row tells you why the band is currently as wide (or narrow) as it is. A band that looks unusually wide isn't a bug — it likely means the engine has classified the market as RANGING or VOLATILE and widened defensively. Knowing the current regime helps set expectations for how the band will behave if conditions stay the same.
✅ Use the confidence count to gauge flip quality, not to filter flips — every flip is real and non-repainting regardless of its confidence count. The count is a lens for judging how broadly supported a given flip is, not a gate that decides whether one occurs. A "▲ 7/8" flip and a "▲ 3/8" flip both mean the band was crossed; the number tells you how much independent agreement existed at that moment, which is useful context when deciding how much weight to put on that particular signal versus your own analysis.
🎯 Watch the flip win rate as a running self-check on this chart — because it only starts once flips have accumulated and been graded, treat an early or low-sample win rate as inconclusive rather than a verdict. It becomes more informative the longer the script runs on a given symbol and timeframe.
🔔 Regime changes are themselves informative — the alert for a regime change fires independently of any flip. A shift from RANGING to TRENDING, for example, can be useful context on its own, since it signals the band is about to glide toward a different multiplier even before any flip occurs.
🚫 This script describes band behavior, not entries or exits — it does not tell you when to open or close a position. Use it as one input alongside price action, structure, and whatever other analysis you already rely on.
⚙️ SETTINGS
📈 SuperTrend Core
• ATR Length
• Factor — Trending / Ranging / Volatile / Uncertain — the four regime-driven multipliers
• Factor Transition (bars) — how gradually the multiplier glides between regimes
🧠 Regime Engine
• ADX Length, Choppiness Length, ATR Baseline Period
• Trending / Ranging Thresholds — where the combined ADX+Choppiness score is classified
• Volatile ATR Multiple — how far above baseline ATR counts as volatility expansion
• Regime Smoothing — lookback window for the majority-vote smoothing
✅ Confidence Layer
• Trend MA Length, RSI Length, Structure Lookback — parameters for the 8 confidence checks
🎨 Visualization
• Gradient Fill, Flip Labels, Regime Background Tint — each toggleable independently
• Full color customization for all four regime/direction colors
🖥️ Dashboard
• Show/hide, position
📝 NOTES
The regime engine needs a short warm-up period before its smoothing window is fully populated; early bars on a fresh chart may show less stable regime labels than bars further along. The flip win rate starts empty and only becomes meaningful after several flips have occurred and been graded.
⚠️ DISCLAIMER
This is an analytical and visualization tool. It does not generate trade signals and does not constitute financial advice. Historical flip win rate does not guarantee future performance. Indicator

Indicator

Indicator

Volume Bubble DeltaVolume Bubble Delta
Short description (for the publish box summary)
Volume delta bubbles that anchor to each bar's Point of Control, scale with the size of the imbalance, and automatically thin out as you zoom out. Uses PulseWire's native footprint data when available, with a lower-timeframe fallback for all plans.
Full description
What it does
This indicator answers one question on every bar: who was actually in control, buyers or sellers?
It plots a bubble on the chart whose colour tells you which side won the bar, whose size tells you how one-sided it was compared to recent bars, and whose number tells you the raw delta. Green means aggressive buyers dominated; red means aggressive sellers dominated.
The point of bubbles rather than a separate delta pane is that you read the imbalance in the same place you read price — no eye-travel between panes.
How the delta is calculated
The script runs two engines and picks the best one available:
Engine 1 — Native footprint (Premium / Ultimate plans) Calls request.footprint() to retrieve real order flow for the bar: exact ask-side (buy) volume, bid-side (sell) volume, delta, and the bar's Point of Control. This is true aggressor data, not an approximation.
Engine 2 — Lower-timeframe estimate (all plans) When footprint data isn't available, the script pulls intrabar candles via request.security_lower_tf() and classifies each one: closing up counts as buy volume, closing down as sell volume, and a flat intrabar is resolved against the previous intrabar close. If lower-timeframe data is also unavailable, it falls back to a wick-position proxy.
The control panel always shows which engine is live, so you know whether you're reading real delta or an estimate. This distinction matters — the estimate infers aggression from candle direction and will diverge from true footprint delta in fast or thin conditions.
Bubble placement
By default bubbles anchor to the bar's Point of Control — the price level where the most volume traded inside that bar. This puts the bubble where the activity actually happened rather than floating above or below the candle, so a bubble sitting high in a bar's range tells you something different from one sitting at the low. When footprint data isn't available, bubbles fall back to the body midpoint. Alternative positions (body mid, close, above/below) are available in settings.
Zoom-adaptive density
Most bubble indicators become unreadable when you zoom out — hundreds of overlapping circles. This one reads the visible chart range, works out how many bars are on screen, and raises its threshold accordingly.
Zoomed in, small imbalances appear. Zoomed out, only the heavyweight prints survive, with wider minimum spacing between them. You set a target number of bubbles you want on screen and the script maintains roughly that density at any zoom level.
Because this reads the visible range, the script recalculates when you zoom or pan. If you prefer a fixed threshold, the behaviour can be switched off.
Absorption detection
The setups worth watching are the ones where delta and price disagree:
Green bubble on a red candle — price closed down, but aggressive buyers dominated the bar. Sellers pushed and buyers absorbed it.
Red bubble on a green candle — price closed up on aggressive selling.
These bars get tinted, always print a bubble regardless of the zoom filter, and have dedicated alerts. Divergence between delta and price direction is often read as the underlying pressure weakening relative to the visible move — though like any signal it fails regularly and means nothing in isolation.
Settings
Delta engine — force native footprint, force the estimate, or let it auto-select. Footprint row size and value area % are configurable.
What to show — every bar, significant bars only, or divergences only. Threshold is a multiple of the rolling average absolute delta, so it adapts to the instrument automatically.
Bubble look — three colour schemes, size scaling on/off, opacity, position.
Zoom behaviour — target bubble count and how aggressively to thin.
Extras — absorption tinting, ▲▼ markers, per-bar POC lines, control panel position.
Control panel
Top-right by default: who's in control, bar delta with percentage, buy and sell volume, session cumulative delta, and the active data source. Numbers abbreviate to K/M/B so the panel stays compact.
Alerts
Buyers absorbing a red candle
Sellers absorbing a green candle
Session cumulative delta crossing above or below zero
Notes and limitations
request.footprint() requires a Premium or Ultimate plan. On lower tiers, comment out the block marked NATIVE FOOTPRINT in the source and set the delta source to "Lower TF estimate".
Seconds-based lower timeframes need a paid plan. On free plans use 1 minute, which means the estimate works best on 5m charts and above.
Pine labels have five discrete size steps, so bubbles grow in stages rather than continuously.
The rolling average needs roughly 20 bars to settle before the significance filter behaves sensibly.
Volume delta describes what already happened in a bar. It is not predictive on its own, and this indicator is a visualisation tool rather than a trading system. Nothing here is financial advice.
Suggested starting point
30m chart, "Significant only" mode, target 20 bubbles on screen. Watch what the bubbles do at prior POC, VAH and VAL levels — imbalance at a level you already care about is more informative than imbalance in the middle of nowhere. Indicator

Volume DNA: Heatmap [BigBeluga]🔵 OVERVIEW
The Volume DNA: Heatmap is an advanced technical indicator created by BigBeluga to decode institutional volume and price action dynamics using market microstructure principles. Traditional volume indicators often look at volume in isolation, failing to account for the efficiency or inefficiency of price movement. In order to provide a solution to this problem, this indicator combines rolling volume Z-scores with high-low price spread Z-scores, classifying every single bar into distinct institutional signatures—such as Absorption, Effort, Exhaustion, and Stagnation.
The indicator aims to visualize institutional accumulation, distribution, and exhaustion points directly on the chart. The core element of its calculation involves tracking volume and spread deviations against rolling means defined as:
volZ = (volume - volMean) / volStd
spreadZ = (spread - spreadMean) / spreadStd
where volMean and spreadMean are moving averages over lookback lengths volLengthInput and spreadLengthInput , and volStd and spreadStd represent standard deviations. Higher values of volThreshInput and spreadThreshInput allow the indicator to filter out random market noise and isolate major institutional footprints.
🔵 FEATURES
The system utilizes a multi-layered matrix structure to provide actionable market intelligence:
1 — DNA Engine & Classification Matrix
Absorption ( ABS ): Triggered by high volume and narrow spread via highVol and narrowSpread , signaling institutional limit orders absorbing market flow.
Effort Bullish / Bearish ( EFF+ / EFF- ): Triggered by high volume and wide spread via highVol and wideSpread , signaling aggressive buying or selling pressure driving trend continuation.
Exhaustion ( EXH ) & Stagnation ( STG ): Tracks low volume relative to price spreads to identify thin liquidity moves or equilibrium consolidation phases.
2 — Visual Enhancements & Ghost Glows
Ghost Glow Effect: Renders a semi-transparent wider candle behind classified DNA bars using plotcandle(showGlowBar ? bodymax + glowExpand : na, ...) to visually distinguish key events from normal price action.
Liquidity Clouds: Draws transparent box zones over Absorption bars extending cloudExtendInput bars to the right, marking where institutional limit orders may be resting.
3 — Real-Time Barcode Tape & Statistics Tables
DNA Barcode Tape: Displays a vertical heatmap table on the chart showing the DNA type and volume of the last tapeRowsInput bars as a real-time institutional activity tape.
Stats Panel Table: Summarizes current bar status, Volume Z-Scores via str.tostring(volZ, "#.##") , and Spread Z-Scores for instant quantitative feedback.
🔵 HOW TO USE
Apart from the basic visualization of institutional volume signatures, this tool can also act in alternative ways to support decision-making:
Spot Institutional Absorption: Look for ABS candles and their accompanying Liquidity Cloud zones to identify potential support or resistance levels where large market participants are absorbing flow.
Ride Trend Continuations via Effort: Monitor EFF+ and EFF- signal shapes (where size and color intensity scale with volume Z-scores) to confirm aggressive momentum driving price in the direction of the breakout.
Anticipate Reversals with Exhaustion: Watch for EXH signals where price moves on thin liquidity, signaling that a current trend may be running out of fuel and nearing a pullback or reversal.
🔵 NOTES
Why this implementation is unique:
It merges volume and price spread analytics using statistical Z-scores rather than arbitrary thresholds, offering an objective look at market efficiency.
The multi-table interface provides both historical sequencing (Barcode Tape) and real-time metric tracking without crowding the main price action view.
The script is fully optimized for Pine Script version 6, utilizing high-performance array management (`var array dnaHistory = array.new(tapeRowsInput, 0)`) for smooth execution across extensive historical data.
Note: The indicator relies on rolling standard deviation calculations; initial chart loads require enough bars to populate the lookback window accurately.
Indicator

APEX v14 CLEAN - MNQ/MESNITRO V15 amazing bot just try it out is an advanced AI-powered trading assistant built for precision, discipline, and consistency. Designed around smart money concepts, liquidity analysis, and market structure, it identifies high-probability trading opportunities while filtering out low-quality setups. By combining multiple layers of confluence—including liquidity sweeps, order blocks, fair value gaps (FVGs), optimal trade entries (OTE), trend strength, volatility, and higher-timeframe confirmation—BRABUZ helps traders make confident, data-driven decisions with a strong focus on risk management and capital preservation.
Rather than generating constant signals, BRABUZ is engineered to prioritize quality over quantity, waiting patiently for A+ setups with the highest statistical edge. It continuously adapts to changing market conditions, providing clear trade entries, stop-loss placement, profit targets, and real-time market bias in a clean, easy-to-read interface. Whether you're a prop firm trader, futures trader, or experienced retail trader, BRABUZ is designed to eliminate emotional decision-making, improve consistency, and give you a professional-grade trading edge. is an advanced AI-powered trading assistant built for precision, discipline, and consistency. Designed around smart money concepts, liquidity analysis, and market structure, it identifies high-probability trading opportunities while filtering out low-quality setups. By combining multiple layers of confluence—including liquidity sweeps, order blocks, fair value gaps (FVGs), optimal trade entries (OTE), trend strength, volatility, and higher-timeframe confirmation—BRABUZ helps traders make confident, data-driven decisions with a strong focus on risk management and capital preservation.
Rather than generating constant signals, BRABUZ is engineered to prioritize quality over quantity, waiting patiently for A+ setups with the highest statistical edge. It continuously adapts to changing market conditions, providing clear trade entries, stop-loss placement, profit targets, and real-time market bias in a clean, easy-to-read interface. Whether you're a prop firm trader, futures trader, or experienced retail trader, BRABUZ is designed to eliminate emotional decision-making, improve consistency, and give you a professional-grade trading edge. Indicator

Time-Price Volume Heatmap with Liquidity SweepsWhat it does
Most volume tools compress everything into a single vertical profile, so you can see at which price volume traded, but not when. This script splits the lookback window into a grid of time columns × price rows and paints each cell by how much volume was actually traded inside it — producing a time-and-price heatmap of where activity concentrated as the market moved.
On top of that map it tracks the resting liquidity pools that price left behind, and flags the exact bar where each pool is taken.
How it is calculated
The heatmap
The lookback window (default 300 bars) is divided into Time Resolution columns (default 16) and Price Resolution rows (default 26), built between the highest high and lowest low of the window.
For every bar, its volume is distributed evenly across all price rows its high-low range covers. A bar spanning 5 rows adds one fifth of its volume to each. This approximates where inside the candle the activity sat, rather than assigning it all to the close.
Each cell is normalised against the busiest cell in the grid and coloured on a 3-stop gradient. Transparency scales with intensity, so cold zones stay faint and hot zones glow. Cells below Min Intensity are not drawn at all — this keeps the chart readable and stays inside the 500-object limit.
Point of Control Rows are summed across all columns; the heaviest row is drawn as the POC line. The panel also shows POC Density — that row's share of total mapped volume. A high number means volume is concentrated on one shelf; a low number means it is spread out.
Liquidity pools Confirmed pivot highs and lows (Pivot Strength, default 8) mark levels where stop orders typically rest. Each is drawn as a dotted line extending right, labelled with its price. When price trades through a level it is re-drawn solid grey and marked SWEPT, and the sweep counter increments. Levels older than Level Max Age are removed automatically.
Volume bursts Volume is converted to a z-score over Volume Window bars. Two dot sizes mark bars above the strong (2σ) and extreme (3.5σ) thresholds — useful for spotting which bar actually did the damage at a level.
Volume Pressure Volume of up-closes minus volume of down-closes across the window, expressed as a percentage of total. A rough directional bias for the mapped period.
How to read it
Hot zones = price spent time and volume there. They tend to act as magnets and as friction; moves through them are usually slower.
Cold gaps = thin areas. Price often travels through them quickly.
A sweep followed by an immediate move back inside the previous range is the classic liquidity-grab pattern. The sweep marker plus an extreme volume dot on the same bar is the strongest version of it.
POC as reference: the panel tells you whether price is above or below the heaviest shelf. Indicator

Indicator

Matao Love Mood - Market SessionSMC Session Indicator — Overview
This is a Smart Money Concepts (SMC) session-tracking indicator for PulseWire, built to highlight trading sessions, key time windows, and price-action patterns on the chart.
🕐 Session Boxes
It draws colored boxes that track the high/low price range of five time windows (all based on the timezone you set, default Asia/Bangkok):
Session Time Color
Market 07:00–23:00 Silver
Asia 07:00–13:00 Green
London 14:00–17:00 Yellow
New York 19:00–22:00 Blue
Focus (4 sub-windows) 07:45–08:30 / 09:45–10:30 / 11:45–12:30 / 19:45–20:30 Red
Each box grows in real time to hug the developing high/low of that session, and a small time-stamped label sits above it. Updates only apply on confirmed (closed) bars, so the boxes stay stable instead of jittering as live price ticks.
🔔 Alerts
You can enable/disable alerts for the start and end of each session (Market, Asia, London, NY, Focus) — useful for getting notified when a key session opens or closes.
📊 Fair Value Gap (FVG)
Detects 3-candle imbalance patterns (bullish/bearish gaps) and marks them as small colored boxes positioned exactly on the middle candle of the pattern. You can choose to display:
All FVGs (shows how far price traveled before filling the gap)
Only unmitigated (still-open gaps)
Only mitigated (already filled gaps)
📦 Inside Bar
Colors candles that are fully contained within the previous candle's high/low range (a common SMC consolidation/compression signal).
📋 Dashboard Table
A small table (position and text size configurable) shows the live status of each session — OPEN/CLOSE for Market, colored dots for Asia/London/NY, and a countdown (e.g. 🎯 12m) for the active Focus window.
🎨 Customization
Nearly everything is adjustable in the settings: which sessions/boxes/labels/alerts to show, box colors and transparency, label text size/color, FVG colors and display mode, table position/size, and the timezone. Indicator

Indicator

Random Forest AI - RSI MACD Confluence [Dots3Red]█ RANDOM FOREST AI — RSI MACD CONFLUENCE
This script combines 15 simple, independent decision rules ("trees") into one weighted verdict. Each tree looks at a different combination of RSI, MACD, ATR, volume, DMI, and price-vs-moving-average conditions and casts one vote: bullish, bearish, or neutral. What makes this different from simply averaging several indicators is that every tree's historical accuracy is tracked continuously, and that accuracy becomes the tree's voting weight — a rule that has actually been right more often on this specific chart counts for more than one that hasn't.
█ WHY THIS APPROACH
A single indicator like RSI applies the same fixed rule forever: "below 30 means buy," regardless of whether that rule has been working lately on the instrument you're watching. It has no way to notice that its own signal has become less reliable in a strong trend, or more reliable during a ranging period.
This script addresses that by running many small, simple rules in parallel and grading each one against what actually happened afterward. A rule's influence on the final verdict rises when it's been accurate and falls when it hasn't — without requiring the trader to manually decide which indicator to trust in current conditions.
This is a simplified, Pine-native ensemble. A literal machine-learning Random Forest trains via recursive data-splitting across bootstrap-sampled datasets, which isn't something Pine Script's execution model supports. What's implemented here captures the core idea in a form that runs natively on every bar: multiple diverse, simple voters, weighted by empirical track record rather than by a fixed formula.
█ HOW IT WORKS
1. Base features
Six indicators are computed every bar and feed into the trees:
• RSI (configurable length)
• MACD histogram
• ATR ratio — current ATR relative to a 50-bar baseline (volatility context)
• Volume ratio — current volume relative to its moving average
• DI difference — +DI minus -DI from the DMI system (directional pressure)
• Price vs. moving average — distance from a trend MA, expressed in ATR units
2. The 15 trees
Each tree is a short, explicit rule combining two or three of the base features. They are deliberately varied in character:
• Some are trend-following (DI direction, MACD momentum, full trend confluence combining three features at once)
• Some are contrarian / mean-reversion (an extreme price extension combined with an extreme RSI reading votes for a pullback, not a continuation)
• Some are volatility-filtered (an RSI extreme only counts when the ATR ratio shows calm conditions, on the reasoning that overbought/oversold readings are less reliable during high volatility)
• Some require multi-indicator confluence before voting at all (MACD direction agreeing with volume expansion, or RSI agreeing with MACD)
Any single tree by itself is simplistic. The value comes from having 15 of them looking at the situation from different angles simultaneously.
3. Historical grading and weighting
Every tree's vote from a configurable number of bars ago ("Outcome Window") is compared against what price actually did between then and now. If the tree voted bullish and price rose, that's a correct call; if it voted bullish and price fell, that's incorrect. A running hit/total count is kept per tree.
Each tree's weight is its accuracy rate (hits ÷ total) once it has accumulated a minimum number of graded votes. Before that minimum is reached, a tree counts at a neutral 0.5 weight so early, unproven trees don't disproportionately swing the verdict.
4. The forest verdict
Bullish and bearish contributions are summed across all 15 trees, weighted by each tree's current accuracy, then expressed as a percentage split (e.g. 73% bullish / 27% bearish). The overall verdict — BULLISH, BEARISH, or NEUTRAL — is determined by configurable thresholds (default: 60% for bullish, below 40% bullish-share for bearish).
5. RSI confluence
Separately from its role inside the 15 trees, RSI's classic overbought/oversold state is checked against the forest's overall verdict. If RSI is oversold and the forest is bullish, that's flagged as "AGREE." If RSI is oversold but the forest is bearish, that's flagged as "CONFLICT." This gives a second, independent read using the indicator most traders already know, alongside the ensemble's own conclusion.
█ SIGNAL MARKERS AND SPACING
A marker appears only when three conditions line up at once: the forest's weighted verdict crosses its threshold, RSI's classic overbought/oversold state independently agrees with that direction, and the bar has fully closed. Markers never appear on a still-forming bar — the script waits for bar confirmation so a marker never appears and then vanishes as the live bar changes.
Each marker is drawn in two parts: a small triangle at the bar, and a text block showing three values — the weighted percentage that triggered it, the word AGREE confirming RSI's independent agreement, and how many of the 15 trees were actively voting (non-neutral) at that moment. A reading of "73% / AGREE / 9/15 trees" carries different weight than "61% / AGREE / 4/15 trees," even though both pass the threshold — the first reflects broad participation across the ensemble, the second a thin majority among few active voters.
Two mechanisms prevent marker clutter on intraday timeframes:
• One marker per episode — when the verdict enters a bullish or bearish state, only the first qualifying signal of that run is marked. The verdict flickering around the threshold (61% → 59% → 62%) does not produce repeated markers; the internal latch resets only when the verdict genuinely changes state.
• Signal Cooldown — a configurable minimum number of bars between same-side markers, which absorbs the remaining case where a brief state change resets the latch and the condition re-triggers shortly after. On a 5-minute chart, a cooldown of 30 bars means at least 2.5 hours between same-direction markers.
Both mechanisms apply per direction — a bearish marker shortly after a bullish one is never suppressed, because an ensemble flip is meaningful information rather than clutter.
█ READING THE CHART
Bar coloring tints candles by the current verdict — cyan for bullish, magenta for bearish, slate for neutral.
Dashboard (top-right by default) shows the current verdict, the bull/bear percentage split with a progress bar, how many trees are actively voting, RSI's state and its agreement with the verdict, and a breakdown of five representative trees showing each one's live weight and how many samples that weight is based on.
█ SETTINGS
Feature Settings — lengths for RSI, MACD, ATR baseline, volume MA, DMI, and the trend MA used by the price-vs-MA feature.
Ensemble Settings
• Outcome Window (bars) — how far ahead each vote is checked against actual price movement
• Min Samples Before Weighting — how many graded votes a tree needs before its real accuracy replaces the neutral 0.5 default
• Bullish / Bearish Threshold % — where the weighted percentage split has to cross before the verdict label changes
Visualization
• Color Bars by Verdict — toggle candle tinting
• Show Confluence Markers — toggle the triangle markers
• Signal Cooldown (bars) — minimum bars between same-side markers; raise this on lower timeframes if markers feel too frequent
Dashboard — toggle the table, choose its position, toggle the per-tree accuracy breakdown.
█ EXAMPLE
Suppose the dashboard shows: Verdict BULLISH, 73% / 27%, 9/15 trees active, RSI at 28 (OVERSOLD), Agreement: AGREE. This means the weighted vote across all 15 trees currently favors upside by roughly 3-to-1, nine of the trees have a non-neutral opinion right now, and the classic RSI reading independently supports the same bullish read. If the per-tree breakdown shows "Calm-Market RSI" at 78% (n=45) while "RSI Extremes" sits at 52% (n=45), that's telling you the version of the RSI rule that only fires during low volatility has actually been considerably more reliable on this chart than the raw, unfiltered version — information a plain RSI plot could never surface on its own.
█ NOTES
Weights start neutral and only become meaningful once each tree has accumulated enough graded votes (set by "Min Samples Before Weighting"). On a fresh chart or a newly added timeframe, expect the dashboard's percentages to be less informative until that history builds up. The ensemble adapts continuously — a tree's weight can and will drift as market conditions change and its track record evolves.
On intraday timeframes, tune the Signal Cooldown to the chart's pace. The default suits higher timeframes; 5-minute and 15-minute charts generally benefit from a larger value.
█ DISCLAIMER
This is an analytical and visualization tool. It does not generate trade signals and does not constitute financial advice. Historical accuracy of any individual rule or the ensemble as a whole does not guarantee future performance. Indicator

Indicator

Daily Range Exhaustion - ADR Probability MapAn intraday trader spends the whole session asking one question without ever measuring it: is there still room left in this move, or is the day already finished. Daily Range Exhaustion measures it.
The script records the completed range of every past day on the symbol you have open, and uses that sample to answer four things about the day in progress.
HOW MUCH OF THE DAY IS SPENT
Today's range is compared against the average daily range of the last 5, 10 or 20 days. The panel shows the result as a percentage. At 40 percent the day still has room in either direction. At 110 percent the day has already delivered more than an ordinary day and every further extension is, statistically, an outlier rather than the base case. The chart background tints once 100 percent is passed.
WHERE A FULL DAY COULD STILL REACH
Two levels are drawn:
Upside projection, today's low plus the average daily range. This is the highest point a statistically ordinary day could still print without becoming unusual.
Downside projection, today's high minus the average daily range.
Both compress as the session develops. Early in the day they sit far apart. By the afternoon they have squeezed toward price, and the distance left to each one is exactly the room the day has left. The shaded areas between price and each projection are that remaining room, made visible.
THE ODDS OF EXTENDING ANYWAY
Ranges are not a hard ceiling, so the panel reports how often the ceiling actually broke. Three lines show the share of past days whose range exceeded 100, 125 and 150 percent of the current average. On most liquid instruments roughly a quarter to a third of days exceed 100 percent, but far fewer reach 150 percent. Those numbers are the honest context for the exhaustion reading: they tell you whether a stretched day is rare or routine on this particular symbol.
WEEKDAY BREAKDOWN
A single average across all days hides a real effect. Many instruments have a quiet Monday and a violent Thursday, and judging Monday against a blended average will make it look exhausted when it is behaving normally. The panel breaks the sample down by weekday, shows the average range of each one, and expresses it as a percentage of the overall average. Today's weekday is highlighted.
HOW TO USE IT
As a filter on entries. Taking a fresh breakout when the day has already spent 120 percent of its average range is a different trade from taking the same breakout at 45 percent. The setup may be identical, the room available is not.
As target context. If the upside projection is 12 points away and your target is 30 points, the day would have to become a statistical outlier for that target to fill.
As mean reversion context. A day that hits the projection level and stalls has, by definition, reached the edge of its usual distribution.
As session planning. Check the weekday row before the session opens to know whether to expect a wide day or a narrow one.
NOTES ON THE DATA
The sample is built from the chart itself, so it needs history loaded. The panel shows a Building sample message and stays hidden until the minimum day count is reached, rather than showing statistics based on six observations.
Only intraday timeframes are supported. On a daily chart or higher the concept has no meaning, and the panel says so instead of printing misleading numbers.
Older days are dropped once the sample cap is reached, so the statistics follow the current volatility regime instead of averaging in a market from two years ago.
Days are bounded by the exchange session of the symbol. On instruments that trade nearly around the clock the day boundary is a convention, not a natural break, which slightly inflates the ranges of days that straddle a rollover.
WHAT IT IS NOT
There are no entry or exit signals here, and none are planned. This is context. A completed range is not a reversal signal, and an unfinished range is not a reason to expect continuation. Trends routinely spend two or three average ranges in a session, which is precisely why the extension odds are shown rather than hidden.
This is an analysis tool, not financial advice. Past distributions do not guarantee future ones. Use it alongside your own risk management and position sizing. Indicator

AlgoForex PULSE Momentum & Volatility CompassAlgoForex PULSE is a single-pane trend, momentum and volatility read-out. It replaces the usual stack of three separate indicators — a moving average, an oscillator and a volatility gauge — with one adaptive framework drawn directly on price.
WHY IT EXISTS
A fixed-period moving average has one setting and two problems: it lags in a trend and whipsaws in a range. Most traders answer this by adding an oscillator in a lower pane and a volatility filter somewhere else, then spend the session moving their eyes between three places. PULSE folds those three jobs into one object on the chart.
HOW THE BASELINE WORKS
The baseline is an adaptive average driven by an efficiency ratio. For the chosen lookback it measures:
• net directional travel = |price now − price N bars ago|
• total travel = the sum of every bar-to-bar move over the same N bars
The ratio of the two is the efficiency ratio. Near 1, almost all movement went one way, so the average is allowed to accelerate toward price. Near 0, price covered a lot of distance and ended up nowhere, so the average slows down and flattens. The smoothing constant is squared, which makes the transition between the two states sharper than a linear blend.
The practical effect: the line tracks trends closely, then stops reacting to noise when the market goes sideways.
AURORA BANDS
Three ATR-scaled layers are drawn on each side of the baseline and filled with the live trend colour. They serve two purposes at once:
• the WIDTH shows current volatility — the cloud breathes as ATR expands and contracts
• the POSITION of price inside the cloud shows how stretched the move is
A close hugging the outer band is an extended move. A close oscillating around the baseline is a market with no commitment.
TREND STATE (with hysteresis)
The trend does not flip the moment price touches the baseline. It requires a close beyond baseline ± (Trend Trigger × ATR), default 0.5× ATR. This buffer is the difference between a handful of meaningful flips per session and dozens of meaningless ones. Raise it for fewer, slower signals; lower it for a more reactive read.
Flips are marked with and labels.
MOMENTUM SCORE (0-100)
Rather than a second pane, momentum is reduced to one number:
Momentum = 55 × normalised position inside the bands + 45 × RSI
The position component is clamped to ±1 so a single spike bar cannot dominate the reading. The result drives three things: the gauge in the dashboard, the candle colour gradient, and the surge markers (small dots) fired when the score crosses the bullish or bearish levels.
CONVICTION
The dashboard shows the raw efficiency ratio as a percentage. This is deliberately kept separate from the momentum score because the two answer different questions:
• Momentum = which direction, how strongly
• Conviction = how clean that movement was
A high momentum score with low conviction is a move fighting through chop. High on both is the condition worth acting on.
SQUEEZE RADAR
Current ATR is compared against its own percentile over a lookback window (default: bottom 25% of the last 100 bars). While ATR sits in that bottom band the background is tinted, marking compression. The bar where ATR climbs back out is marked with a the expansion point.
Compression tells you nothing about direction, only that the range is unusually tight. Pair it with the trend state for a directional bias.
HOW TO USE IT
1. Read the trend colour first — it sets your bias for the session.
2. Check Conviction. Below roughly 20% the market is not paying trend-followers.
3. Wait for price to pull back toward the baseline rather than chasing the outer band.
4. Treat a squeeze release in the direction of the trend as a timing cue, not a signal on its own.
5. Momentum surge dots confirm strength — they are not standalone entries.
SETTINGS THAT MATTER MOST
• Adaptive Length — the responsiveness of the whole system. Lower = faster.
• Trend Trigger ( ATR) — signal frequency. The single most useful dial here.
• Squeeze Percentile — how rare a "squeeze" should be. Lower = stricter.
ALERTS
Bullish trend flip Bearish trend flip Bullish momentum surge Bearish momentum surge Squeeze started Squeeze release.
NOTES
Works on any symbol and any timeframe. The dashboard is bilingual (English) and can be switched in the settings.
This indicator is an analysis tool. It does not predict price and it is not financial advice. No indicator has an edge on its own — use it inside a plan that includes risk management and position sizing. Past behaviour of any tool does not guarantee future results. Indicator

Primaegis NSE Breadth DashboardMarket breadth for NSE, measured live across 24 size and sector indices, with a
composite regime score and a plain-language read of what the numbers mean.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY INDICES AND NOT STOCKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Classic breadth counts individual stocks — how many of ~2,000 names are above
their 200-DMA. Pine cannot do that: request.*() is capped at 40 calls per
script, and Pine has no network access, so an external breadth feed can only
arrive through Pine Seeds, which is end-of-day only.
Indices, however, Pine can read live. So this measures participation across 24
NSE indices instead. It is a different measurement, not a substitute: a
cap-weighted index set will not reproduce a stock count, and it responds more
slowly at turns. What it gives you in exchange is a regime read that is current
right now, with no infrastructure behind it.
The size tier deliberately includes SmallCap 250 and MicroCap 250. Breadth
breaks at the small end first, and an index set that omits it will look healthy
while the tail is bleeding.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GAUGES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
R-ratios follow the standard breadth convention: R = above / below x 100, so
100 is parity, 200 means twice as many above as below.
E200 % of indices above their 200-EMA. The trend axis.
20R above vs below the 20-EMA. Short-term participation.
50R above vs below the 50-EMA. Intermediate participation.
A/D indices up today vs down today.
Thrust indices up more than X% vs down more than X% (default 1%). Indices move
far less than single stocks, so a stock-scale 4% threshold would almost
never fire; 1% is the index-scale equivalent.
All values are requested on the daily timeframe and are identical on any chart
resolution.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE PS SCORE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A single 0-100 composite. Every term is in the source; nothing is hidden.
Trend (E200) weight 30 mapped 30% -> 0, 65% -> 1
Participation (20R,50R) weight 25
Thrust weight 20
Momentum (change in R) weight 15 mapped -25 -> 0, +25 -> 1
Advance/Decline weight 10
R-ratios enter on a log scale, because R is a ratio: 200 and 50 are equal and
opposite, not 150 apart. A linear scale would let one strong day dominate.
70+ RISK-ON broad participation
55-69 CONSTRUCTIVE improving but unconfirmed
45-54 NEUTRAL no edge either way
30-44 DEFENSIVE tape is thinning
<30 RISK-OFF participation has left
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE PANELS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT TO DO — a written read of the current state that changes with the numbers,
covering position sizing and whether the tape supports new risk at all.
WHAT WOULD CHANGE IT — the distance to the next threshold, counted in indices:
"E200 41.7% to 47%: 2 more indices over the 200-EMA." A level expressed as a
percentage is abstract; expressed as a count of things that must happen, it is
something you can watch for.
HEATMAP — every index with its change and a 0/3 stack score against the 20, 50
and 200 EMAs. This is what a single breadth number cannot tell you: which
sectors are carrying the market and which are dragging it.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Thrust threshold Index-scale move that counts as thrust. Default 1%.
EMA lengths Fast 20, mid 50, slow 200.
Size / Sector Toggle either group off.
Extra indices Add your own, comma separated. 24 of the 40 available
request.*() calls are used, so there is room for about 14 more.
Display Independent size, position and theme for both tables.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LIMITATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Index breadth is not stock breadth. Cap-weighted indices understate damage in
the small-cap tail even with the size tier included. Treat it as a fast read,
not a precise count.
- The built-in universe is NSE. The Extra field accepts any exchange, but the
defaults are India-specific.
- No alerts, no entries, no exits. It describes the tape; it does not trade it.
- Regime tools are slow by nature. Do not use one to time a single position. Indicator

Multi-Timeframe Break of Structure EngineMulti-Timeframe Break of Structure Engine is a confluence-based structure tool that detects break-of-structure events on an execution timeframe, then filters those events through two higher-timeframe trend layers before signaling.
This script is designed for traders who want structure events in context, rather than isolated break signals.
What this script does
The script has four connected jobs:
1. Detects bullish and bearish break-of-structure events on a chosen structure timeframe.
2. Validates directional context with two higher-timeframe filters.
3. Tracks the active BOS level and monitors first retest behavior.
4. Emits separate event classes for raw structure events and fully aligned confluence signals.
The practical goal is to reduce low-context entries and keep the chart focused on structure levels that still matter.
How the model is built
The logic is based on three directional layers plus state management:
1. Macro Layer 1
This is the highest trend layer (default Daily). It uses a fast/slow moving-average relationship to define broad directional bias.
2. Macro Layer 2
This is an intermediate confirmation layer (default 4H). It combines fast/slow MA direction with close relative to a short MA, so intermediate momentum must also agree with bias.
3. Structure Layer
This is the execution layer (default 15m). BOS events are detected from structure-timeframe closes relative to prior structure swing references.
A BOS event becomes an aligned signal only when all three layers agree with its direction.
Core BOS logic
Bullish BOS logic:
- Structure close breaks above prior structure swing reference.
- Optional strength filter can require the break candle body to be larger than average by a multiplier.
- Macro and structure layers are evaluated for directional agreement.
Bearish BOS logic:
- Structure close breaks below prior structure swing reference.
- Optional strength filter works symmetrically.
- Macro and structure layers are evaluated for directional agreement.
The script evaluates BOS events on structure-bar transitions, which helps avoid repeated triggers from lower-timeframe bar noise during a single structure candle.
Retest logic
After a BOS level is created, the script tracks one active BOS level and evaluates first retest conditions.
Two retest modes are available:
1. Wick Touch
Retest requires direct contact with the BOS level and directional close behavior.
2. ATR Proximity
Retest can qualify within a volatility-adjusted distance from the level using structure-timeframe ATR and a user-defined multiplier.
This dual mode is useful because low-volatility instruments often respect precise touches, while high-volatility instruments may react near a level without exact contact.
Validity window behavior
The optional validity window expires BOS levels that remain unretested for too long.
If enabled, validity duration is measured in structure bars. This keeps the level lifecycle aligned with the same timeframe where BOS is detected, rather than chart bars that may be faster or slower than the structure context.
Why this script can be useful
The script is not a single trigger line. It combines:
- directional context from higher timeframes,
- structure break detection on execution timeframe,
- persistent level tracking,
- retest qualification,
- optional expiration logic.
This interaction is intended to reduce low-quality breakout noise and keep attention on structure events that are still contextually relevant.
What is plotted
1. Optional MA overlays
- Structure fast and slow MA.
- Macro 1 fast and slow MA.
- Macro 2 price/fast/slow MA.
2. Signal markers
- BOS long/short markers for aligned BOS.
- Retest long/short markers for aligned retests.
3. Active BOS level line
- Horizontal level extends until retest or replacement by a new BOS event.
- Optional right-side BOS price label.
4. Optional alignment dashboard
- Macro 1 state.
- Macro 2 state.
- Structure state.
- Final alignment state.
How to use it in a practical workflow
Example workflow:
1. Set structure timeframe for execution rhythm
Scalping-style execution usually uses lower structure values.
Intraday continuation often uses moderate structure values.
Swing continuation uses higher structure values.
2. Keep higher-timeframe context logical
A common approach is Macro 1 above Macro 2 above Structure so each layer has a distinct role.
3. Wait for alignment first
Use alignment as context. Do not treat any single output in isolation.
4. Use BOS as setup creation
A new BOS indicates potential directional continuation under confluence.
5. Use retest as conditional confirmation
Retest can help refine entries after initial break.
6. Manage invalidation separately
The script does not replace personal risk management, stop placement, or position sizing.
Input groups and what they control
Structure Timeframe Settings
- Structure Timeframe: execution structure context.
- Structure MA Type: EMA or SMA for structure trend.
- Structure Fast/Slow Lengths: structure trend sensitivity.
Macro Layer 1 Settings
- Macro 1 Timeframe: broad trend context.
- Macro 1 Fast/Slow Lengths: sensitivity of broad trend filter.
- Macro 1 MA Type: EMA or SMA behavior choice.
Macro Layer 2 Settings
- Macro 2 Timeframe: intermediate filter.
- Macro 2 Fast/Slow Lengths: trend filter sensitivity.
- Macro 2 Price MA Length: participation filter via close relative to short MA.
- Macro 2 MA Type: EMA or SMA behavior choice.
Candle Close Confirmation
- Wait for candle close: event gating behavior on chart bars.
BOS Advanced Filters
- Enable BOS validity window: controls expiration behavior.
- BOS validity (structure bars): expiration duration.
- Enable BOS strength filter: optional quality threshold on break candle body.
- Min body size multiplier: strength threshold.
- Show BOS labels: level label visibility.
- Max stored BOS lines: line object management limit.
Retest Detection Settings
- Retest method: Wick Touch or ATR Proximity.
- ATR Period: volatility measurement period for proximity mode.
- ATR Proximity Factor: allowable near-level distance in ATR terms.
Display Options
- Show structure and macro MA overlays.
- Show dashboard table.
Colors and Labels
- Bullish and bearish display colors.
- BOS label text color.
- Label right offset.
Alert architecture
The script provides alert conditions for:
- aligned BOS long/short,
- aligned retest long/short,
- alignment flips,
- raw BOS creation events,
- raw retest events,
- macro and structure trend flips.
This allows users to build different alert workflows:
- conservative workflow uses aligned BOS/retest alerts only,
- contextual workflow also monitors alignment flips,
- diagnostic workflow includes raw events for observation.
Market and timeframe suitability
This script can be used on:
- crypto,
- forex,
- indices,
- equities,
- commodities.
Execution styles it can support:
1. Scalping-style continuation
- Lower structure timeframe.
- Generally stricter retest conditions.
- Faster context changes and more signal frequency.
2. Intraday trend continuation
- Moderate structure timeframe.
- Typical use of both BOS and retest phases.
- Good balance between responsiveness and filtering.
3. Swing continuation
- Higher structure timeframe.
- Often benefits from ATR Proximity retest mode.
- Lower signal frequency, broader moves.
Style suitability depends on parameter choices and instrument volatility.
Interpretation guidance and limitations
Important limitations:
1. This is a context and structure tool, not a profit guarantee tool.
2. Trend filters may lag near turning points.
3. Strength filters reduce noise but may skip early break phases.
4. ATR Proximity can become loose if multiplier is set too high.
5. BOS logic can still produce false continuation in choppy, mean-reverting conditions.
Because of this, risk management remains mandatory.
How this differs from a basic single-layer BOS script
This script does not only mark local breaks. It manages an interaction chain:
- structure event detection,
- multi-timeframe agreement,
- stateful BOS level tracking,
- retest qualification modes,
- level validity expiration.
The objective is cleaner structure context and better workflow discipline, not maximizing raw signal count.
Responsible usage notes
- Start with default values, then adjust gradually.
- Test one variable at a time.
- Keep notes on which settings are used per market and session.
- Validate behavior in replay before using alerts live.
Disclaimer
This script is an analytical support tool. It is not financial advice and does not guarantee outcomes. Trading involves risk. Users are responsible for trade selection, position sizing, and risk control.
Indicator

Indicator

Nifty TOP 10 Participants Tracker**Nifty 50 Heavyweight Momentum Tracker **
---
### Overview
The **Nifty 50 Heavyweight Momentum Tracker** is a lightweight, low-latency dashboard designed specifically for Nifty index traders and option scalpers.
Rather than overloading your chart with unnecessary technical metrics, this indicator displays a compact overlay table tracking the top 10 heavyweights driving the Nifty 50 index (HDFCBANK, ICICIBANK, RELIANCE, BHARTIARTL, LT, SBIN, and more). It allows you to immediately gauge component alignment, spot institutional participation, and confirm intraday directional momentum at a glance.
---
### Key Features
* **Ultra-Lean Layout:** Stripped of cognitive clutter—only displays **Symbol**, **LTP**, **VWAP**, and **Chg%**.
* **Updated Nifty 50 Weights:** Pre-configured in order of actual index weightage (Top 1 to 10).
* **VWAP Column:** Color-codes dynamically (Green = Above VWAP, Red = Below VWAP) to show immediate intraday bias for each heavyweight.
* **Chg% Column:** Visual green/red background indicating daily directional performance.
* **Customizable View:** Toggle between displaying the Top 5, 6, or up to 10 participants depending on your trading screen real estate.
---
### How to Use for Trading
1. **Breakout Confirmation:** Before buying a Nifty breakout at VWAP, Daily High, or Key Pivot levels, check the table. A genuine breakout requires participation from the top heavyweights (especially HDFC Bank, ICICI Bank, and Reliance).
2. **Sector Drag / Divergence Detection:** If Nifty is making new highs while 3 of the top 5 heavyweights are below VWAP or in the red, the move is likely an exhaustion move or a liquidity trap.
3. **Momentum Alignment:** Look for moments when the top 3–6 constituents flash uniform green/red signals across both VWAP and Daily Change for high-probability, quick-velocity scalp entries.
---
### Settings & Inputs
* **No. of Top Participants to show:** Choose how many rows to display (Default: 6 for optimal sweet spot coverage, configurable up to 10).
* **Table Position:** Move the table to any corner of your chart (Bottom Right, Top Left, etc.).
* **Text Size & Colors:** Fully customizable table aesthetics to match light or dark chart themes.
--- Indicator

Multi-Symbol Volume Anomaly Tape [The_lurker]Multi-Symbol Volume Anomaly Tape شريط شذوذ الحجم متعدّد الرموز
Forty symbols in one live tape, at one-second resolution , It does not show volume. It shows only what is abnormal about it.
⚠ READ FIRST — LIVE MONITOR, NOT A HISTORICAL STUDY
The scan engine runs on the last bar only. Scroll back and you will see nothing, because there is nothing to see: no markers are drawn on price and no history is reconstructed. This is a real-time panel, and backtesting it is not possible by design.
═════════════════════════════════════════════════════════════
▌ THE IDEA
Large volume is not information. Volume that is large for that symbol is.
Common volume tools compare volume to its own average and report "1180% of normal". That is a ratio without a scale. A symbol whose volume routinely swings tenfold produces 1180% on an ordinary day; a stable one produces 300% in a genuinely exceptional moment. The two numbers are not comparable, not across symbols and not even within one symbol across regimes.
MVAT compares against the distribution, not the average:
z = ( ln(value) − mean ) ÷ standard deviation
The logarithm comes first because volume is approximately log-normal; without it the standard deviation is meaningless. z is then computed per symbol against a rolling window of 300 of its own prints.
The result is unit-free, and that is what makes the table possible at all. A print at 3.4σ on Bitcoin is exactly as abnormal as 3.4σ on PEPE, even though one is millions of dollars and the other is thousands. Symbols with completely different size, liquidity and volatility become rankable in a single column.
═════════════════════════════════════════════════════════════
▌ THE PANEL
Cluster row, then one row per abnormal print, newest on top:
▰▰▰▰▰▰▰▰ 9/9 ▲ XRP SOL SUI ETH +5 · 0.05%
23:26:00 · XRP · ▲█ · 1.0600 · $79.6K · ●● 3.3
23:26:00 · SOL · ▲▄ · 73.25 · $178.5K · ● 2.8
23:25:56 · SUI · ▲▂ · 0.6893 · $18.3K · ● 2.8
23:25:53 · BTC · ▲▂ · 63,562.0 · $153.4K · ● 2.3
23:25:44 · AVAX · ◆▂ · 6.5370 · $5.3K · ● 2.4
Ordinary prints never reach the screen. The tape carries anomalies, not the full flow.
TIME — print time to the second, in exchange time (UTC on Binance). Align it to your chart with the clock-offset input.
SYM — ticker, stripped of exchange prefix and quote suffix.
SIDE — two characters: direction and impact. Detailed below.
PRICE — execution price, formatted adaptively so fractional-priced symbols are not rounded to zero.
VALUE — notional in dollars, compact (K · M · B). This is economic materiality; SCORE is statistical rarity. They are deliberately different: a 4σ print worth ten thousand dollars on a thin market is statistically extreme and economically small, and the reverse happens too.
SCORE — anomaly strength in standard deviations.
═════════════════════════════════════════════════════════════
▌ STRENGTH CHANNEL
● between the first and second threshold
●● between the second and third
●●● above the third
The dot count states the strength on its own; the number beside it gives precision.
The fill is a continuous gradient, not two states: a print at 2.1 does not carry the same colour as one at 2.9. Hue carries side — green for buy, red for sell — while intensity carries strength, so the two channels never compete for the same discrimination.
Note on the third threshold: it is the top of the colour ramp, not a third detection level. Prints above it simply take the hottest shade.
═════════════════════════════════════════════════════════════
▌ SIDE CHANNEL
▲ buy · ▼ sell · ◆ neutral
Direction is taken from inside the print's own second, not by comparing it to the one before: close against open first, then the close's position within the bar's range. Whatever neither resolves is shown as neutral.
This deserves a moment. The common tick rule compares close to previous close and leaves exact price ties unresolved — and ties are very common at one-second resolution. When ties are assigned to buy by default, the side balance tilts hard and falsely toward buying.
MVAT does not do that. A second carrying no directional information says so with ◆ and is counted on neither side.
═════════════════════════════════════════════════════════════
▌ IMPACT CHANNEL
█ breakthrough — moved price more than twice the usual
▄ ordinary
▂ absorption — barely moved price at all
This channel answers what volume alone cannot: what did this volume do to price? Two prints at 4σ, one that moved price and one that did not, mean opposite things.
▲█ — heavy buying that cut through the book. The opposing liquidity was consumed.
▲▂ — heavy buying eaten by a resting seller. A defended level, and the seller is still there.
Measured as the print's move in basis points relative to that symbol's own average move, computed from prints that actually moved rather than from all prints. The distinction matters: most one-second bars close where they opened, and letting the zeros into the average would make any tick at all look like a breakthrough.
═════════════════════════════════════════════════════════════
▌ THE CLUSTER ROW
The tape shows individual events. The cluster row answers a different question: is this a symbol's news, or the market's event?
Five scattered anomalies across five symbols within an hour is one thing. Five anomalies across five symbols within fifteen seconds is another entirely.
Fired:
▰▰▰▰▰▰▰▰ 9/9 ▲ XRP SOL SUI ETH +5 · 0.05%
Idle:
▰▰▰▰▰▱▱▱ 6/9 · exp 2.6
GAUGE — proximity to the threshold, read at a glance. Always eight cells regardless of the threshold, so raising it from 4 to 12 never widens the table.
COUNT — distinct symbols inside the window, against the minimum.
SIDE — net direction across the cluster, weighted by strength.
SYMBOLS — the four strongest by peak σ, then +k for the rest. This is the most important part of the row. A cluster of XRP, SOL, SUI and ETH is not a cluster of four microcaps, and a count alone cannot tell them apart. Ranking by strength puts the heaviest first, so you can see what carried the move.
PROBABILITY — the chance of this cluster occurring at random. 0.05% is genuinely rare; 5% means you are reading noise.
EXP — in the idle state, the expected number of symbols under independence, computed live from the current scan rates. Use it to tune your threshold: if exp is close to your minimum you are about to read coincidence; if it is far below, a fired row is a real event.
═════════════════════════════════════════════════════════════
▌ WHY A FIFTEEN-SECOND WINDOW
The cluster is calibrated, not set by taste. A window's ability to discriminate collapses quickly as it widens:
15s window · 4 symbols → 24.8× the chance rate
30s window · 4 symbols → 5.7×
60s window · 3 symbols → 1.0× — pure coincidence
A wide window does not capture the event's width; it dissolves it in noise.
The chance probability is computed inside the indicator from each symbol's rate in the current scan, not from a planted constant, so it stays correct at any symbol count and any level of market activity without manual recalibration.
Threshold scaling matters: the expectation is proportional to how many symbols are scanned, so a threshold tuned for ten becomes far too loose at forty.
10 symbols → 4
20 symbols → 5
30 symbols → 6
40 symbols → 9
The displayed exp makes this table unnecessary — set the threshold clearly above it.
Finally: symbols inside a cluster are listed, not ordered in time. No lead-and-follow sequence is displayed, because displaying one would be invention rather than measurement. The ordering shown is by strength, which is real information.
═════════════════════════════════════════════════════════════
▌ SETTINGS
1 · Signal — the display filter, the σ threshold ladder, tape length. Tier 3 is the colour ceiling, not a detection level.
2 · Universe — forty slots, each with an enable toggle and a text ticker field. Type the ticker only (BTCUSDT); the exchange prefix is added automatically. An unlisted ticker is skipped silently and never breaks the indicator or its settings dialog.
3 · Cluster — show the row, window in seconds, minimum distinct symbols.
4 · Data — lower timeframe, volume measure, scan depth per symbol. Scan depth governs both the tape's time span and reference precision.
5 · Statistics — reference window size, warmup minimum, and an option to admit events only after the window fills so every σ comes from one sample size.
6 · Appearance — language, location, scale, clock offset from UTC.
7 · Colors — a three-stop ramp per side: weak, mid, hot.
═════════════════════════════════════════════════════════════
▌ CHOOSING A VOLUME MEASURE
Dollar Volume (default) — the only measure comparable across symbols in one table. Use it whenever the universe is mixed.
Volume — base units. Use it when watching a single symbol or a set with similar unit scales.
Price Volume — volume multiplied by typical price, an intermediate form.
σ itself is computed on the selected measure, so switching changes both the Score column and which prints qualify.
═════════════════════════════════════════════════════════════
▌ READING IT
Scan the SCORE column first — the eye catches ●●● and the hot shades immediately. Then SIDE: did it break through or was it absorbed? Then VALUE: does it deserve attention economically, or is it a statistical anomaly on a thin market? Above it, the cluster row gives the context: isolated event or market wave.
Patterns worth tracking:
Repeated ▲▂ at the same price — a resting seller absorbing demand at a defined level.
A ▼ cluster with a low probability — synchronised selling pressure across the market rather than news in one symbol.
═════════════════════════════════════════════════════════════
▌ STATUS FLAGS
The indicator does not fail silently. Three flags appear only when needed.
TIME ⚠ — the data budget clipped the requested scan depth.
SYM ⚠ — a configured symbol returned no data.
TF ⚠ — the chart timeframe is too small to feed the reference window.
═════════════════════════════════════════════════════════════
▌ OPERATIONAL REQUIREMENTS
The reference window is rebuilt from the current chart bar only, so the chart timeframe must be large enough to hold the required number of prints. At a 1S lower timeframe use 15 minutes or higher. Below that, TF ⚠ appears and the indicator tells you itself.
Enabling all forty symbols consumes Pine's request allowance in full. Each symbol's share of the data budget is clipped before any computation, so the indicator cannot exceed the platform limit whatever the settings.
Performance: forty simultaneous lower-timeframe requests is a heavy load. On slower machines, or when switching chart timeframes rapidly, expect a noticeable reload. Reducing the universe to 10–20 symbols both speeds this up and buys a deeper scan per symbol.
The engine is stateless: the reference window and the tape are rebuilt on every execution. As a result σ for a given print never changes no matter how long your session runs, and a closed bar's contents never change.
═════════════════════════════════════════════════════════════
▌ SCOPE
MVAT is a measurement instrument, not an entry-signal generator. It emits no alerts, by design.
What it reports: which prints were abnormal by their own symbol's standard, which side carried them, what they did to price, and whether they coincided with others.
What it does not report: the direction price will take next. Volume abnormality relates far more to the size of the coming move than to its direction, and reading the panel as buy signals reads it wrong.
The impact channel ships tagged : its thresholds rest on a sound statistical basis but have not been calibrated against forward returns.
The panel is fully bilingual, Arabic and English, switchable in settings.
═════════════════════════════════════════════════════════════
⚠️ DISCLAIMER
═════════════════════════════════════════════════════════════
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it alongside your own strategy and risk management. Neither PulseWire nor the developer is responsible for any financial decisions or losses.
═════════════════════════════════════════════════════════════
═════════════════════════════════════════════════════════════
Multi-Symbol Volume Anomaly Tape شريط شذوذ الحجم متعدّد الرموز
أربعون عملة في تدفّق واحد، بدقّة الثانية ، لا يعرض الحجم، بل يعرض ما هو غير عادي منه فقط.
⚠ اقرأ هذا أولًا — لوحة مراقبة حيّة لا أداة تحليل تاريخي
محرّك المسح يعمل على الشمعة الأخيرة وحدها. إن رجعت بالشارت إلى الوراء لن ترى شيئًا، لأنه لا يوجد ما يُرى: لا علامات تُرسم على السعر ولا تاريخ يُعاد بناؤه. هذه لوحة لحظية، والاختبار التاريخي عليها غير ممكن بحكم التصميم.
═════════════════════════════════════════════════════════════
▌ الفكرة
الحجم الكبير ليس معلومة. الحجم الكبير بالنسبة لطبيعة العملة نفسها هو المعلومة.
المقاييس الشائعة تقارن الحجم بمتوسّطه فتقول «١١٨٠٪ من المعدّل». وهذه نسبة بلا مقياس: عملة يتأرجح حجمها عشرة أضعاف يوميًا تعطي هذا الرقم في يوم عادي تمامًا، وعملة مستقرّة الحجم تعطي ثلاثمئة بالمئة في لحظة استثنائية. الرقمان غير قابلين للمقارنة، لا بين عملتين ولا داخل العملة الواحدة عبر أنظمة السوق.
والمؤشّر يقارن بالتوزيع لا بالمتوسط:
z = ( ln(value) − mean ) ÷ standard deviation
اللوغاريتم أولًا لأن توزيع الحجم لوغاريتمي-طبيعي تقريبًا، وبدونه يكون الانحراف المعياري بلا معنى. ثم تُحسب القيمة لكل رمز مقابل نافذة متدحرجة من ثلاثمئة صفقة من تاريخه هو وحده.
النتيجة كمّية بلا وحدة، وهذا ما يجعل الجدول ممكنًا أصلًا. صفقة عند ٣٫٤ انحراف على البيتكوين شاذّة بنفس القدر تمامًا الذي تشذّ به على عملة صغيرة، رغم أن الأولى بملايين الدولارات والثانية بآلاف. عملات مختلفة القيمة والسيولة والتقلّب تصير قابلة للترتيب في عمود واحد.
═════════════════════════════════════════════════════════════
▌ اللوحة
صف العنقود، ثم صف لكل صفقة شاذّة، والأحدث في الأعلى:
▰▰▰▰▰▰▰▰ 9/9 ▲ XRP SOL SUI ETH +5 · 0.05%
23:26:00 · XRP · ▲█ · 1.0600 · $79.6K · ●● 3.3
23:26:00 · SOL · ▲▄ · 73.25 · $178.5K · ● 2.8
23:25:53 · BTC · ▲▂ · 63,562.0 · $153.4K · ● 2.3
23:25:44 · AVAX · ◆▂ · 6.5370 · $5.3K · ● 2.4
الصفقات العادية لا تصل إلى الشاشة إطلاقًا. الشريط يحمل الشذوذ لا كل التدفّق.
TIME
توقيت الصفقة بالثانية، بتوقيت البورصة. يُضبط على توقيت شارتك من مقبض إزاحة الساعة.
SYM
الرمز، مقصوصًا من بادئة المنصّة ولاحقة العملة المقابلة.
SIDE
محرفان: الجانب والأثر، ويُشرحان أدناه.
PRICE
سعر التنفيذ، بتنسيق متكيّف فلا تُقرّب الأسعار الكسرية إلى صفر.
VALUE
القيمة الاسمية بالدولار. هذه المادّية الاقتصادية، والشذوذ الإحصائي في العمود التالي. العمودان يقولان شيئين مختلفين عمدًا: صفقة عند أربعة انحرافات بعشرة آلاف دولار على سوق رقيق شاذّة إحصائيًا وضئيلة اقتصاديًا، والعكس يحدث كذلك.
SCORE
شدّة الشذوذ بوحدة الانحراف المعياري.
═════════════════════════════════════════════════════════════
▌ قناة الشدّة
● بين العتبة الأولى والثانية
●● بين الثانية والثالثة
●●● فوق الثالثة
عدد النقاط يقول القوة بنفسه، والرقم بجانبه يعطي الدقّة.
والخلفية تدرّج لوني متّصل لا حالتين: صفقة عند ٢٫١ لا تُطبع بلون صفقة عند ٢٫٩. الصبغة تحمل الجانب، أخضر للشراء وأحمر للبيع، والشدّة تحمل القوة، فالقناتان لا تتنافسان على التمييز نفسه.
والعتبة الثالثة سقف التدرّج اللوني لا مستوى كشف ثالث. ما فوقها يأخذ أشدّ درجة لونية فقط.
═════════════════════════════════════════════════════════════
▌ قناة الجانب
▲ شراء · ▼ بيع · ◆ محايد
الجانب مأخوذ من داخل الثانية نفسها لا من مقارنتها بما قبلها: الإغلاق مقابل الافتتاح أولًا، ثم موضع الإغلاق داخل مدى الشمعة. وما لا يُحسم بأيّ منهما يُعرض محايدًا.
وهذه النقطة تستحق الوقوف. القاعدة الشائعة تقارن الإغلاق بالإغلاق السابق ولا تحسم حالة التعادل السعري، وهي شائعة جدًّا على إطار الثانية. وحين تُسند التعادلات افتراضيًا إلى الشراء يميل ميزان الجانب ميلًا حادًّا وكاذبًا نحو الشراء.
المؤشّر لا يفعل ذلك. الثانية التي لا تحمل معلومة اتجاه تُعلن ذلك بنفسها ولا تُحسب على أي جانب.
═════════════════════════════════════════════════════════════
▌ قناة الأثر
█ اختراق — حرّك السعر أكثر من ضعف المعتاد
▄ عادي
▂ امتصاص — لم يحرّك السعر تقريبًا
هذه القناة تجيب سؤالًا لا يجيبه الحجم وحده: ماذا فعل هذا الحجم بالسعر؟ صفقتان عند أربعة انحرافات، إحداهما حرّكت السعر والأخرى لم تحرّكه، معناهما التداولي متعاكس تمامًا.
▲█
حجم شراء ضخم اخترق دفتر الأوامر، فالسيولة المقابلة استُهلكت.
▲▂
حجم شراء ضخم ابتلعه بائع قائم. مستوى مُدافَع عنه، والبائع ما زال هناك.
والقياس بحركة الصفقة بنقاط الأساس منسوبة إلى متوسط حركة ذلك الرمز نفسه، محسوبًا من الصفقات التي تحرّكت فعلًا لا من كل الصفقات. وهذا التمييز جوهري: أغلب شموع الثانية تُغلق حيث فتحت، ولو دخلت الأصفار في المتوسط لصار أي تحرّك مهما صغر اختراقًا.
═════════════════════════════════════════════════════════════
▌ صف العنقود
الشريط يعرض أحداثًا فردية، وصف العنقود يجيب سؤالًا مختلفًا: هل ما تراه خبر عملة أم حدث سوق؟
خمس صفقات شاذّة متفرّقة على خمس عملات خلال ساعة شيء. وخمس صفقات شاذّة على خمس عملات خلال خمس عشرة ثانية شيء آخر تمامًا.
مشتعلًا:
▰▰▰▰▰▰▰▰ 9/9 ▲ XRP SOL SUI ETH +5 · 0.05%
ساكنًا:
▰▰▰▰▰▱▱▱ 6/9 · exp 2.6
المقياس
قربك من العتبة، يُقرأ بلمحة بلا حساب. ثماني خانات دائمًا مهما كانت العتبة، فلا يتمدّد الجدول حين ترفعها.
العدد
الرموز المتمايزة داخل النافذة، مقابل الحدّ المطلوب.
الجانب
صافي الاتجاه المرجّح بالشدّة عبر العنقود كله.
الرموز
أقوى أربعة مرتّبة بذروة الانحراف تنازليًا، ثم عدد الباقي. وهذا أهم ما في الصف: عنقود يضم أربع عملات كبرى ليس عنقودًا يضم أربع عملات صغيرة، والعدد وحده لا يفرّق بينهما. والترتيب بالشدّة يضع الأثقل أولًا فتعرف ما الذي حمل الحركة.
الاحتمال
فرصة وقوع هذا العنقود صدفةً محضة. خمسة من مئة ألف حدث نادر فعلًا، وخمسة بالمئة تعني أنك تقرأ ضجيجًا.
exp
في الحالة الساكنة: العدد المتوقّع من الرموز تحت فرضية الاستقلال، محسوبًا حيًّا من معدّلات المسح الجارية. استعمله لضبط عتبتك، فإن قاربت عتبتَك فأنت على وشك قراءة الصدفة، وإن ابتعدت عنها كثيرًا فاشتعال الصف حدث حقيقي.
═════════════════════════════════════════════════════════════
▌ لماذا نافذة خمس عشرة ثانية
العنقود مُعاير لا مضبوط بالذوق، وقدرة النافذة على التمييز تنهار سريعًا مع اتّساعها:
15s window · 4 symbols → 24.8×
30s window · 4 symbols → 5.7×
60s window · 3 symbols → 1.0×
الأخير يعني صدفة محضة. النافذة الواسعة لا تلتقط عرض الحدث بل تُذيبه في الضجيج.
واحتمال الصدفة يُحسب داخل المؤشّر من معدّلات كل رمز في المسح الجاري لا من ثابت مزروع، فيبقى صحيحًا مع أي عدد رموز وأي مستوى نشاط سوقي بلا إعادة معايرة يدوية.
وضبط العتبة مهم: التوقّع يتناسب طرديًا مع عدد الرموز الممسوحة، فعتبة تناسب عشرة رموز تصير رخوة جدًّا عند أربعين.
10 symbols → 4
20 symbols → 5
30 symbols → 6
40 symbols → 9
وقيمة exp المعروضة تغنيك عن هذا الجدول: اضبط العتبة فوقها بوضوح.
وأخيرًا: الرموز داخل العنقود تُسرَد ولا تُرتَّب زمنيًا. لا يوجد تسلسل قيادة وتبعية يُعرض، وعرضه سيكون اختراعًا لا قياسًا. الترتيب المعروض بالشدّة، وهو معلومة حقيقية.
═════════════════════════════════════════════════════════════
▌ الإعدادات
1 · Signal
المُرشّح وسلّم العتبات وعدد الصفوف. العتبة الثالثة سقف لوني لا مستوى كشف.
2 · Universe
أربعون خانة، لكل منها مفتاح تفعيل وحقل رمز نصّي. اكتب الرمز فقط وتُضاف بادئة المنصّة تلقائيًا. والرمز غير المدرج يُتجاهل بصمت ولا يُعطّل المؤشّر ولا نافذة إعداداته.
3 · Cluster
إظهار الصف، والنافذة بالثواني، والحدّ الأدنى من الرموز المتمايزة.
4 · Data
الإطار الأدنى، ومقياس الحجم، وعمق المسح لكل رمز. وعمق المسح يحكم امتداد الشريط الزمني ودقّة المرجع معًا.
5 · Statistics
حجم النافذة المرجعية، وأدنى عيّنة قبل الحساب، وخيار قبول الأحداث بعد امتلاء النافذة فقط فتتوحّد دقّة القياس عبر كل الصفوف.
6 · Appearance
اللغة والموقع والحجم وإزاحة الساعة.
7 · Colors
سلّم ثلاثي المحطات لكل جانب: ضعيف ومتوسط وحادّ.
═════════════════════════════════════════════════════════════
▌ اختيار مقياس الحجم
Dollar Volume
الافتراضي، وهو الوحيد القابل للمقارنة بين رموز مختلفة في جدول واحد. استخدمه كلما كانت السلة مختلطة.
Volume
الوحدات الأساسية. لرمز واحد أو سلة متقاربة المقياس.
Price Volume
الحجم مضروبًا في السعر النموذجي، صيغة وسطى.
والقياس الإحصائي يُحسب على المقياس المختار، فتغييره يغيّر عمود الدرجة ويغيّر أي الصفقات تتأهّل أصلًا.
═════════════════════════════════════════════════════════════
▌ كيف تقرأه عمليًّا
امسح عمود الدرجة أولًا، فالعين تلتقط النقاط الثلاث والألوان الحادّة فورًا. ثم انظر الجانب: اخترق أم امتُصّ؟ ثم القيمة: هل يستحق الالتفات اقتصاديًا أم أنه شذوذ إحصائي على سوق رقيق؟ وفي الأعلى صف العنقود يعطيك السياق: حدث فردي أم موجة سوق.
نمطان يستحقّان التتبّع:
علامة الامتصاص متكرّرة على السعر نفسه، وتعني بائعًا قائمًا يمتصّ الطلب عند مستوى محدّد.
عنقود بيع باحتمال منخفض، ويعني ضغط بيع متزامنًا عبر السوق لا خبرًا في عملة بعينها.
═════════════════════════════════════════════════════════════
▌ علامات الحالة
المؤشّر لا يفشل بصمت، وثلاث علامات تظهر عند الحاجة فقط.
TIME ⚠
الميزانية قصّت عمق المسح المطلوب.
SYM ⚠
رمز مُعدّ لم تصل بياناته.
TF ⚠
إطار الشارت أصغر من أن يغذّي النافذة المرجعية.
═════════════════════════════════════════════════════════════
▌ متطلّبات تشغيلية
النافذة المرجعية تُبنى من الشمعة الجارية وحدها، فيجب أن يتّسع إطار الشارت لعدد الصفقات المطلوب. وعند إطار أدنى بالثانية استخدم خمس عشرة دقيقة فأعلى، وما دون ذلك تظهر علامة الإطار ويُبلغك المؤشّر بنفسه.
وتفعيل الأربعين رمزًا يستهلك سقف الطلبات المسموح في المنصّة بالكامل. وحصّة كل رمز من ميزانية البيانات مقصوصة قبل أي حساب، فلا يتجاوز المؤشّر الحد مهما كانت الإعدادات.
الأداء: أربعون طلبًا متزامنًا حمل ثقيل. وعلى الأجهزة الأبطأ أو عند تغيير إطار الشارت بتكرار توقّع إعادة تحميل ملحوظة. وتقليل السلة إلى عشرة أو عشرين رمزًا يسرّع التحميل ويشتري عمق مسح أكبر لكل رمز.
والمحرّك عديم الحالة: النافذة المرجعية والشريط يُعاد بناؤهما في كل تنفيذ. والنتيجة أن قياس أي صفقة لا يتغيّر مهما طالت جلستك، وأن الشمعة المغلقة لا يتغيّر محتواها أبدًا.
═════════════════════════════════════════════════════════════
▌ نطاق الأداة
هذا مؤشّر قياس لا مولّد إشارات دخول، ولا يصدر تنبيهات عمدًا.
ما يبلّغه: أي الصفقات كانت شاذّة بمقياس رمزها، وأي جانب حملها، وماذا فعلت بالسعر، وهل تزامنت مع غيرها.
وما لا يبلّغه: اتجاه السعر القادم. فشذوذ الحجم يرتبط بحجم الحركة القادمة أكثر بكثير مما يرتبط باتجاهها، ومن يقرأ اللوحة كإشارات شراء يقرأها خطأ.
وقناة الأثر تُشحن موسومة بأنها غير مُعايَرة على عوائد أمامية: عتبتاها مضبوطتان على أساس إحصائي سليم، لكنهما لم تُختبَرا مقابل ما يحدث بعدها.
واللوحة كاملة بالعربية والإنجليزية، تُبدَّل من الإعدادات.
═════════════════════════════════════════════════════════════
⚠️ إخلاء المسؤولية
═════════════════════════════════════════════════════════════
هذا المؤشر لأغراض تعليمية وتحليلية فقط. لا يُمثل نصيحة مالية أو استثمارية أو تداولية. استخدمه بالتزامن مع استراتيجيتك الخاصة وإدارة المخاطر. لا يتحمل PulseWire ولا المطور مسؤولية أي قرارات مالية أو خسائر. Indicator

Equity Risk Indicator - BCA-Style ProxyEquity Risk Indicator – Multi-Factor Composite (ERI Proxy)
Overview
The Equity Risk Indicator (ERI) is a standardized, equally-weighted composite that measures how stretched the US equity market is across four independent dimensions: price momentum, investor sentiment, speculative futures positioning, and deviation from the long-term trend. The concept is inspired by institutional risk aggregation frameworks: instead of relying on a single overbought/oversold metric, several uncorrelated risk factors are normalized via z-scores and combined into one oscillator.
Readings above +1 standard deviation have historically clustered near major market tops (2000, 2007, 2018, 2021), while readings below −1 have coincided with washed-out, contrarian buying zones. The indicator is designed as a regime and risk-management tool, not as a standalone entry signal.
Methodology
Each component is transformed into a rolling z-score (default lookback: 500 bars), then all active components are equally weighted, and the resulting composite is re-standardized and smoothed with an EMA. This double standardization keeps the output stable around a zero mean with interpretable ±1 / ±2 SD bands.
1. Composite Momentum Equally-weighted z-scores of the 3-month, 6-month, and 12-month rate of change. Captures how extended price momentum is relative to its own history across multiple horizons.
2. Sentiment (inverted) Z-scores of the volatility index (default: TVC:VIX) and the put/call ratio (default: USI:PCA), both inverted. Low implied volatility combined with low put demand signals complacency — historically a late-cycle risk condition.
3. Futures Positioning (COT) Noncommercial net long positions (Legacy report, Long minus Short) for E-mini S&P 500 futures, retrieved via the official PulseWire/LibraryCOT. Elevated speculative net-long positioning indicates crowding. CFTC contract code is configurable (default: 13874A). Note: COT data is weekly, so this component updates in steps on daily charts.
4. Trend Deviation (earnings-expectations proxy) Deviation of the log price from its long-term linear regression (default: ~3 years). When price trades far above its structural trend, aggressive growth expectations are priced in — serving as a proxy for forward earnings optimism, which is not directly available as a data feed.
Each component can be toggled on/off individually. When a data source fails to load, the composite automatically re-weights across the remaining components.
How to Read It
Above +1 SD (red zone): Elevated risk. Momentum, sentiment, positioning, and/or trend extension are stretched simultaneously. Historically associated with topping conditions — consider tightening risk, reducing leverage, or hedging.
Rollover below +1 SD (circle markers): The indicator crossing back under +1 after an overheated reading has historically appeared near cycle peaks. This is the pattern highlighted by the circle markers at the top of the pane.
Around 0 (mean): Neutral regime.
Below −1 SD (green zone): Depressed risk conditions — panic sentiment, washed-out momentum, light positioning. Historically a contrarian accumulation zone.
The data window additionally displays all four component z-scores separately, so you can see at any bar which factor is driving the composite.
Settings
Components: Toggle Momentum, Sentiment, COT Positioning, and Trend Deviation independently
Symbols: Volatility index, put/call ratio, and CFTC contract code are fully configurable
Z-Score Lookback: Standardization window (default 500 bars ≈ 2 years; increase to 750–1000 for a smoother, slower profile)
Trend Lookback: Regression window for the trend-deviation component (default 756 bars ≈ 3 years)
Smoothing: EMA applied to the final composite (default 10)
Alerts
ERI crosses above +1 SD (higher-risk regime)
ERI rolls over below +1 SD (potential peak signal)
ERI crosses below −1 SD (lower-risk / contrarian zone)
Recommended Use
Designed for the daily timeframe on broad US equity indices (SPX, ES1!, SPY). It works best as a macro overlay: as a filter for trend-following systems, as a position-sizing input, or as a hedging trigger. Because all components are standardized, the framework also transfers to other liquid indices — adjust the CFTC code and sentiment symbols accordingly.
Limitations
Earnings revisions and forward EPS growth are not available as PulseWire data feeds; the trend-deviation component serves as a structural proxy for these inputs. COT data is published weekly with a lag. As with any standardized oscillator, extreme readings can persist longer than expected — this tool measures risk conditions, it does not time reversals on its own.
This indicator is for informational and educational purposes only and does not constitute financial advice. Indicator

Module 3 Market Structure Engine - Spectre Trades v4 Spectre Trades v4 — Market Structure Engine is a comprehensive and editable market structure and confluence tool designed to help traders quickly evaluate trend direction, structural shifts, liquidity behavior, order blocks, premium and discount zones, intermarket confirmation, and market internals. The indicator tracks internal and swing BOS, CHoCH, MSS, equal highs and lows, strong and weak pivots, SPX/MES alignment, MES/MNQ SMT divergence, and VIX, TICK, and VOLD confirmation through a customizable dashboard. It is intended to help traders filter low-quality conditions, confirm directional bias, and improve execution by combining price structure with broader market participation.
Disclaimer: This indicator is for educational and informational purposes only and does not constitute financial advice, investment advice, or a recommendation to buy or sell any security or financial instrument. It does not guarantee profitable results and should not be used as a standalone trading system. All trading involves risk, and users are solely responsible for their own analysis, risk management, and trading decisions. Indicator

Bear Logic Systems: Sector Heatmap V1This Pine Script v6 code is a custom PulseWire indicator titled "Bear Logic Systems: Sector Heatmap V1". It renders a dynamic dashboard/table directly on your chart that tracks tech sector health, market volatility, and key metrics for the currently viewed stock.
Key Features & Functionality
Market & Sector Breadth Tracking:
Fetches data for 23 top tech stocks to calculate percentage-based market breadth for three major sector ETFs: XLK (Tech), IGV (Software), and SOXX (Semiconductors).
Tracks the VIX Index and its daily percentage change to monitor overall market volatility/fear.
VWAP & Open Tracking:
Displays whether XLK, IGV, SOXX, and the active ticker are trading above or below their Volume Weighted Average Price (VWAP), including slope direction arrows (↗, ↘) and percentage distances.
Shows performance relative to the daily opening price.
Gap Analysis & All-Time High (ATH) Status:
Calculates daily gap status (Gap UP, Gap DOWN, or Flat) along with dollar and percentage changes.
Measures drawdown distance (%) from the All-Time High (ATH) for each sector and the active ticker.
Pre-Market High (PMH):
Detects and displays the exact Pre-Market High price for the active symbol during extended session trading.
Customizable Dashboard Layout:
Options to adjust table position on the screen (e.g., Bottom Left, Top Right).
Toggles to show/hide specific rows (Headers, Breadth %, VWAP & Open, Gap Status, ATH Drop, Pre-Market High).
Adjustable background transparency and dynamic text coloring based on bullish/bearish conditions. Indicator
