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

Smart Market Dashboard PRO Gap Trader EditionA comprehensive intraday dashboard designed specifically for Borsa Istanbul (BIST) equity traders. This indicator focuses on opening gap analysis, combining volume, delta, and price action to help traders make informed decisions at market open.
Key Features:
Gap Detection & Classification – Automatically identifies and labels opening gaps (Full Gap Up/Down, Partial Gap Up/Down) with configurable minimum gap % threshold
Volume & Delta Analysis – Displays real-time cumulative delta, buy/sell volume ratio, and VWAP deviation
Multi-Timeframe Data – Fetches previous day’s OHLCV data to calculate gap reference levels accurately
Visual Dashboard – A clean on-chart table showing key metrics: gap size, volume trend, delta direction, and gap fill probability
Smart Alerts – Configurable alerts for gap setups, gap fill events, and volume anomalies
How It Works:
Gap levels are calculated using End-of-Day (previous session close) as the reference price
All calculations are based on confirmed bar data (barmerge.lookahead_off) to prevent repainting on historical bars
Recommended Usage:
Timeframe: 1–15 minute charts
Market: BIST stocks (optimized for Turkish market open at 10:00 AM)
Works best during the first 30–60 minutes of the trading session
Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial advice. Always manage your risk accordingly.
Note: As with all intraday indicators, values may update within the current live bar until it closes Indicator

Indicator

Volume Delta ProfileVolume Delta Profile
The Volume Delta Profile is an overlay indicator that builds a horizontal volume delta distribution directly on the price chart, similar to a Market Profile or Volume Profile but using net delta (buying pressure minus selling pressure) as the core metric instead of raw traded volume.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IS VOLUME DELTA?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Volume delta measures the difference between aggressive buying volume (market buy orders hitting the ask) and aggressive selling volume (market sell orders hitting the bid) within a given candle. A positive delta means buyers were more aggressive during that candle. A negative delta means sellers were more aggressive.
This indicator uses PulseWire's native ta.requestVolumeDelta() function, which reconstructs delta by scanning a lower timeframe (automatically selected or manually configured) to approximate the split between up-volume and down-volume for each candle.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator scans a configurable number of historical bars (default: 500) and for each bar assigns its volume delta to a price level based on the closing price of that bar. Price levels are divided into equally spaced buckets across the high-to-low range of the lookback period.
Positive delta (net buying) accumulates in the bullish bucket of that price level.
Negative delta (net selling) accumulates in the bearish bucket of that price level.
The result is a horizontal bar chart displayed to the right of the last candle, where each row represents a price level and the width of the bar represents the total delta activity at that level. The color of each bar reflects which side dominated:
• Teal bars → net buying pressure dominated at that price level
• Pink/red bars → net selling pressure dominated at that price level
The Point of Control (POC) is marked as a solid horizontal line extending 50 bars to the left, highlighting the price level where the highest total delta activity occurred across the entire lookback period.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPONENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Delta Profile (horizontal bars)
A visual distribution of accumulated volume delta across price levels. Each bar's width is proportional to the total delta activity at that level relative to the most active level. Bars are color-coded by dominant side (buyers vs sellers).
2. Point of Control (POC)
The price level with the highest total delta activity in the lookback window. Displayed as a solid horizontal line extending 50 bars to the left of the current bar. This is the price where the most aggressive order flow occurred — institutional interest tends to concentrate here.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Lookback bars (default 500): Number of historical candles to include in the profile. More bars give a broader context; fewer bars focus on recent activity.
• Bar width (default 20): Visual width in pixels of the widest bar in the profile. Adjust for chart readability.
• Price levels (default 50): Number of horizontal buckets the price range is divided into. More levels give finer granularity; fewer levels give a smoother, broader view.
• Positive delta color (default teal): Color for price levels where buying pressure dominated.
• Negative delta color (default pink): Color for price levels where selling pressure dominated.
• POC color (default black): Color of the Point of Control line.
• Profile offset (default 10): Horizontal distance in bars between the last candle and the left edge of the profile. Increase to avoid overlap with live price action.
• Custom timeframe: Override the automatic lower timeframe used for delta reconstruction. Higher timeframes load more history but reduce precision.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO INTERPRET IT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DOMINANT COLOR ZONES
Large teal zones indicate price areas where institutional buyers were consistently aggressive. These levels tend to act as support — if price returns to them, buyers are likely to defend the level. Large pink zones indicate areas of consistent selling aggression, which tend to act as resistance or liquidity targets for short-side participants.
PROFILE SHAPE
A profile with a clear peak (narrow, tall distribution) suggests price spent most of its time and order flow at a specific level — strong agreement on value. A wide, flat profile suggests price moved across a broad range without clear absorption at any single level.
POINT OF CONTROL (POC)
The POC is the single most important level in the profile. It represents where the maximum institutional order flow occurred. Price has a strong tendency to gravitate back toward the POC after extended moves away from it, making it a high-probability mean-reversion target. It also acts as a decisive level: a clean break and hold above a teal POC confirms bullish institutional commitment; a rejection at a pink POC confirms continued distribution.
DIVERGENCE BETWEEN COLOR AND PRICE MOVEMENT
If price fell sharply through a level but the profile shows teal (net buying) at that level, it suggests absorption — institutions were buying the selling pressure. This is often a precursor to a reversal. Conversely, if price rose through a level but the profile shows pink, distribution was occurring into the rally.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE IT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. IDENTIFY THE VALUE AREA
Look for the widest bars in the profile — these are the price levels with the most delta activity. The market considers these levels "fair value." Price tends to spend more time here and frequently returns to these zones after deviation.
2. USE THE POC AS A MAGNET
If price is trading significantly above or below the POC, there is a structural tendency to return to it. The POC acts as a mean-reversion target, especially in range-bound or post-impulse conditions.
3. READ THE COLOR FOR BIAS
Before entering a trade, check the delta color at the relevant support or resistance level. A teal zone below current price strengthens a long bias — institutions were buying there. A pink zone above current price strengthens a short bias — institutions were selling there.
4. SPOT ABSORPTION
Large teal bars at price lows or large pink bars at price highs are signs of institutional absorption. These are the exact footprints of Wyckoff accumulation and distribution phases — smart money absorbing retail order flow before the next directional move.
5. COMBINE WITH STRUCTURE
Use this indicator alongside your market structure analysis. A key structural level (support, resistance, order block) that coincides with a high-delta POC or dominant color zone has significantly higher probability of holding or acting as a reversal point.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Delta data requires a data provider that supplies volume. The indicator will throw a runtime error if volume data is unavailable for the selected symbol.
• The profile updates on bar close and on the last real-time bar to keep the display current without excessive recalculation.
• Works on any timeframe and any instrument with volume data: forex, indices, crypto, commodities, equities.
• For best results on higher timeframes (daily, weekly), enable the custom timeframe option and select a higher sub-timeframe (e.g., "60") to ensure sufficient historical delta data is available.
Indicator

Indicator

Order Book Ultimate# order book ultimate — synthetic depth, flow pressure and wall map
order book ultimate is a synthetic order book and market pressure tool for traders who want a visual way to study possible bid walls, ask walls, liquidity pressure, absorption, sweeps, imbalance and short-term directional bias.
this script does not read real exchange level 2 data, broker depth of market, or live limit order book data. it builds a synthetic depth model from chart price action, volume, volatility, round-number behavior, intrabar flow when available, and recent reactions around price levels. the goal is to help traders visualize where pressure may be building, where price may react, and when a setup has enough agreement between multiple conditions to deserve attention.
the script is designed as a decision-support tool, not as an automatic trading system. it should be used with market structure, risk management, and personal validation.
---
## what this script does
order book ultimate combines several components into one workflow:
* synthetic bid and ask depth levels around current price
* estimated bid/ask pressure using volume and candle position
* optional lower-timeframe intrabar flow analysis
* wall detection and wall stability tracking
* historical liquidity memory zones
* absorption detection near bid or ask walls
* bullish and bearish sweep detection
* pro score and confidence score
* market regime filter
* visual long and short setup markers
* visual stats for signal follow-up
* compact, full and debug dashboard modes
* alerts for stable walls, imbalance, setups, absorption, sweeps and invalidation
the main idea is to avoid reading one signal alone. the script looks for agreement between pressure, depth imbalance, wall strength, trend, obv flow, absorption, sweeps and market regime.
---
## important note about the order book model
this is a synthetic order book model.
it does not show the real resting orders from an exchange. instead, it estimates possible liquidity concentration by using:
* atr-based spacing
* recent volume
* candle rejection behavior
* round-number magnetism
* intrabar buy/sell pressure when available
* historical reactions around price
* volatility and market regime adjustments
because of this, the script should be treated as a market pressure map, not as real dom or level 2 data.
---
# engine modes
## engine mode
this setting controls how the script measures market pressure.
### classic synthetic
uses the current chart candles only. it estimates buy and sell pressure from candle position, volume, delta approximation and recent flow.
best for:
* higher timeframes
* symbols where lower-timeframe data is not needed
* cleaner and lighter calculations
### intrabar flow
uses lower-timeframe candles inside the current candle to estimate pressure more closely.
best for:
* scalping
* intraday trading
* checking whether the current candle has strong internal buying or selling pressure
### hybrid pro
combines classic synthetic pressure with lower-timeframe intrabar flow. this is the default balanced mode.
best for:
* most traders
* 5m, 15m, 30m and 1h charts
* users who want both stable context and intrabar sensitivity
---
## lower timeframe
this is the lower timeframe used by the intrabar flow engine.
example:
* if your chart is 15m and lower timeframe is 1m, the script studies the 1m candles inside each 15m candle.
* if your chart is 5m and lower timeframe is 1m, it studies the 1m movement inside each 5m candle.
beginner tip:
use 1m for scalping and 3m or 5m for smoother intraday reading.
---
## intrabar weight in hybrid
this controls how much the hybrid engine trusts lower-timeframe flow.
* 0.00 means almost no intrabar influence.
* 0.55 gives a balanced mix.
* 1.00 gives maximum intrabar influence.
beginner tip:
keep it near 0.50 to 0.60 for a balanced setup. raise it only if you want more reactive signals.
---
## use confirmed bars for signals
when enabled, signals only confirm after the candle closes.
this helps reduce noisy live-bar signals. when disabled, signals can appear during the current candle, but they may change before the candle closes.
beginner tip:
keep this enabled if you want cleaner signals.
---
# synthetic depth engine
## levels per side
this controls how many synthetic bid levels and ask levels are calculated around price.
* lower values make the display simpler.
* higher values create a wider synthetic depth map.
beginner tip:
15 is a good balanced setting.
---
## level spacing x atr
this controls the spacing between synthetic levels using atr.
* lower values place levels closer to current price.
* higher values spread them farther away.
beginner tip:
use lower values for scalping and higher values for swing trading.
---
## volume lookback
this sets how many candles are used to build the average volume baseline.
* shorter lookback reacts faster.
* longer lookback is smoother.
beginner tip:
100 is a balanced value for most intraday charts.
---
## refresh rate
this controls how often the synthetic depth levels refresh.
* 1 refreshes every bar.
* higher values refresh less often.
beginner tip:
keep it at 1 for active trading.
---
## depth multiplier
this increases or decreases the strength of the synthetic depth zones.
* higher values create stronger wall readings.
* lower values make the script more conservative.
beginner tip:
2.0 is a balanced default.
---
## depth decay sigma
this controls how quickly synthetic liquidity fades as price levels move farther from current price.
* lower values focus more on nearby levels.
* higher values include farther levels.
beginner tip:
use lower values for scalping and higher values for wider market context.
---
## liquidity memory bars
this tells the script how far back it should remember recent reactions around price levels.
* lower values focus on recent reactions.
* higher values keep more market memory.
beginner tip:
40 is a good starting point.
---
# round number engine
## round number magnetism
this increases the importance of round prices.
markets often react near round numbers because many traders place orders around them. this setting makes the synthetic depth engine give more weight to those areas.
beginner tip:
use higher values on indices and crypto, and lower values on forex if the levels feel too wide.
---
## auto round step
when enabled, the script automatically chooses a round-number step based on the symbol price.
beginner tip:
keep this enabled unless you know exactly which round levels you want to use.
---
## manual round step
this is used only when auto round step is disabled.
example:
* 100 for major crypto round zones
* 10 for some indices
* 1 or 0.5 for stocks depending on price
beginner tip:
leave it at 0.0 when auto round step is enabled.
---
## round zone width %
this controls how close price must be to a round level before the round-number magnet effect becomes important.
* lower values are stricter.
* higher values allow wider round-number zones.
beginner tip:
1.5 is a balanced default.
---
# flow / pressure engine
## delta length
this controls how many candles are used to estimate delta pressure.
* shorter length reacts faster.
* longer length is smoother.
beginner tip:
20 works well for general intraday use.
---
## obv ma length
this is the moving average length used for obv flow.
if obv is above its moving average, the script reads flow as more bullish. if it is below, flow is more bearish.
beginner tip:
20 is a good default.
---
## pressure smoothing
this smooths the pressure reading.
* low values react faster.
* high values reduce noise.
beginner tip:
5 is a balanced value.
---
# wall stability / memory
## wall stable bars
this controls how many bars a wall must remain active before it is considered stable.
* lower values confirm faster.
* higher values require more persistence.
beginner tip:
3 is a good starting point.
---
## same wall zone x tick
this controls how close a new wall must be to the previous wall to be treated as the same wall.
* lower values separate walls more strictly.
* higher values merge nearby walls more easily.
beginner tip:
3.0 is balanced.
---
## max historical zones
this controls how many historical wall zones are kept in memory.
beginner tip:
12 keeps the chart useful without too much clutter.
---
## historical merge x tick
this controls how close historical zones must be to merge together.
* lower values create more separate zones.
* higher values combine nearby levels.
beginner tip:
6.0 is a balanced default.
---
## historical strength decay
this controls how slowly old historical zones lose strength.
* 1.0 means they do not decay.
* lower values make old zones fade faster.
beginner tip:
0.985 keeps useful memory while still allowing old zones to fade.
---
# absorption / sweep / filters
## anti-noise confirmation
when enabled, the script requires extra filters before confirming long or short setups.
it checks for enough volume, pressure agreement, stable walls, absorption or sweep context, and avoids low-liquidity conditions.
beginner tip:
keep this enabled for cleaner signals.
---
## min volume x avg
this is the minimum volume required compared to average volume.
example:
0.90 means current volume should be at least 90% of average volume.
beginner tip:
raise it if you want fewer but stronger signals.
---
## absorption volume x avg
this controls how much volume is required to detect absorption.
absorption means price touches or pushes into a wall area, but the candle shows rejection instead of clean continuation.
beginner tip:
1.20 is balanced. raise it for stricter absorption signals.
---
## absorption zone x atr
this controls how close price must be to a wall for absorption detection.
* lower values require price to be very close to the wall.
* higher values allow a wider absorption area.
beginner tip:
0.18 works well for many intraday charts.
---
## sweep zone x atr
this controls how far price must move beyond a wall before a sweep can be detected.
a bullish sweep happens when price moves below a bid wall or historical bid zone and then closes back above it.
a bearish sweep happens when price moves above an ask wall or historical ask zone and then closes back below it.
beginner tip:
0.10 is a good starting value.
---
## exhaustion rsi high
this level is used to warn when a long setup may be overextended.
if a long setup appears while rsi is very high and the candle shows rejection, the setup can be marked as exhausted.
beginner tip:
72 is a balanced default.
---
## exhaustion rsi low
this level is used to warn when a short setup may be overextended.
if a short setup appears while rsi is very low and the candle shows rejection, the setup can be marked as exhausted.
beginner tip:
28 is a balanced default.
---
# regime / asset calibration
## asset profile
this adjusts the behavior of the script for different markets.
available profiles:
* auto
* crypto
* forex
* index
* stock
* futures
* generic
auto reads the symbol type and applies a matching profile.
beginner tip:
use auto first. switch manually only if the script feels too sensitive or too slow on your market.
---
## auto-calibrate thresholds
when enabled, the script adjusts wall strength, round-number behavior and memory based on the selected asset profile.
beginner tip:
keep this enabled.
---
## adx length
this controls the adx calculation used to identify trending or ranging conditions.
beginner tip:
14 is a standard value.
---
## volatility baseline
this controls the baseline used to compare current volatility with normal volatility.
* lower values react faster.
* higher values are smoother.
beginner tip:
100 is a balanced setting.
---
# spread / range proxy
## spread display
this chooses how the script estimates spread or micro-range conditions.
### adaptive proxy
uses an adaptive estimate based on recent range.
### bar range
uses the full current candle range.
### atr micro
uses a small atr-based estimate.
beginner tip:
use adaptive proxy for most markets.
---
## adaptive spread factor
this controls the size of the adaptive spread proxy.
beginner tip:
0.05 is a balanced default. raise it if the spread reading looks too small.
---
# visual / panel
## show panel
shows or hides the dashboard.
the panel displays score, confidence, regime, bid/ask depth, pressure, wall state, absorption, sweeps, visual stats and more depending on the selected panel mode.
---
## panel mode
### compact
shows only the most important information.
best for:
* small screens
* clean charting
* quick decision making
### full
shows the complete dashboard.
best for:
* normal trading use
* studying pressure, walls, volume and flow
### debug
shows additional internal values.
best for:
* testing settings
* understanding how the engine is reacting
* advanced users
---
## panel position
chooses where the dashboard appears on the chart.
options:
* top right
* top left
* bottom right
* bottom left
---
## show best wall zones
when enabled, the script draws the strongest stable bid and ask wall zones on the chart.
bid wall zones appear below price and can act as possible support areas.
ask wall zones appear above price and can act as possible resistance areas.
---
## show signal markers
when enabled, the script plots markers for:
* long setup
* short setup
* bid absorption
* ask absorption
* bullish sweep
* bearish sweep
* invalidation
---
## wall zone forward bars
this controls how far the wall zone boxes extend into the future.
beginner tip:
30 is a good value for intraday charts.
---
## panel bg
sets the dashboard background color.
---
## bid color
sets the color used for bullish or bid-side elements.
---
## ask color
sets the color used for bearish or ask-side elements.
---
## neutral color
sets the color used for neutral readings.
---
## accent color
sets the color used for highlights and active dashboard elements.
---
## warning color
sets the color used for warnings, exhaustion and invalidation.
---
# alerts / scoring
## wall threshold x avg
this controls how strong a wall must be compared to the average depth before it is considered important.
* lower values create more wall signals.
* higher values require stronger walls.
beginner tip:
2.0 is a balanced default.
---
## imbalance threshold
this controls how strong the bid/ask imbalance must be before the script labels the market as bid heavy or ask heavy.
beginner tip:
1.6 is a good starting point.
---
## long bias score
this is the score level required for a long bias.
example:
70 means the pro score must reach 70 or higher before a long setup can be confirmed.
---
## short bias score
this is the score level required for a short bias.
example:
30 means the pro score must fall to 30 or lower before a short setup can be confirmed.
---
## min confidence
this is the minimum agreement score needed before the script confirms a setup.
confidence is based on agreement between pressure, imbalance, wall direction, trend, obv, intrabar quality, absorption, sweeps and regime.
beginner tip:
55 is a balanced default. raise it for stricter signals.
---
# visual backtest stats
## enable visual stats
when enabled, the script tracks basic visual follow-up stats after confirmed signals.
this is not a full strategy backtest. it is a visual stats module that checks whether a signal reaches an atr-based target or invalidation level within a chosen number of bars.
---
## target x atr
this controls the target distance used by visual stats.
example:
0.75 means the target is 0.75 atr from the signal price.
---
## invalidation x atr
this controls the invalidation distance used by visual stats.
example:
0.55 means the invalidation level is 0.55 atr from the signal price.
---
## max bars in signal
this controls how long the visual stats module gives a signal to reach target or invalidation.
if neither target nor invalidation is reached before this number of bars, the signal is closed by time.
---
# dashboard guide
## score
the score ranges from 0 to 100.
* above the long bias score: long bias
* below the short bias score: short bias
* between both levels: neutral
the score is built from pressure, imbalance, wall strength, trend, obv, rsi, absorption, sweep and regime.
---
## confidence
confidence measures how much agreement exists between the engine components.
a high score with low confidence should be treated carefully. a high score with strong confidence is cleaner.
---
## regime
the regime label describes the current market environment.
possible states include:
* high vol
* low liq
* breakout
* trending
* ranging
* balanced
beginner tip:
avoid forcing trades in low-liquidity conditions.
---
## bid / ask
this shows the estimated synthetic bid depth and ask depth.
if bid depth is much stronger than ask depth, the market may be bid heavy.
if ask depth is much stronger than bid depth, the market may be ask heavy.
---
## pressure
this shows whether buying or selling pressure is dominant.
pressure is not a signal by itself. it should agree with walls, imbalance and confidence.
---
## walls
this shows whether bid and ask walls are:
* none
* weak
* building
* holding
a holding wall is more important than a fresh or weak wall.
---
## abs / sweep
this shows whether absorption or a sweep is currently detected.
absorption can show rejection at a wall.
a sweep can show liquidity being taken before price returns.
---
## bt stats
this shows the visual stats result of recent confirmed signals.
it should be used for observation, not as proof of future performance.
---
# chart markers
## l marker
a long setup marker appears when the script confirms long bias conditions, confidence is high enough, and the noise filter allows the signal.
---
## s marker
a short setup marker appears when the script confirms short bias conditions, confidence is high enough, and the noise filter allows the signal.
---
## abs marker
an absorption marker appears when price interacts with a wall area with strong volume and rejection.
bid absorption appears below price.
ask absorption appears above price.
---
## sw marker
a sweep marker appears when price raids a wall or historical liquidity zone and then closes back through it.
bullish sweep appears below price.
bearish sweep appears above price.
---
## x marker
an invalidation marker appears when a setup is invalidated by price moving beyond the relevant wall area.
---
# available alerts
the script includes alerts for:
* stable synthetic bid wall
* stable synthetic ask wall
* bid heavy imbalance
* ask heavy imbalance
* long setup confirmed
* short setup confirmed
* bid absorption
* ask absorption
* bullish sweep
* bearish sweep
* setup invalidated
beginner tip:
start with only a few alerts. for example:
* stable bid wall
* stable ask wall
* long setup confirmed
* short setup confirmed
* bullish sweep
* bearish sweep
too many alerts can make the workflow noisy.
---
# beginner tutorial
## step 1 — choose the correct engine mode
start with hybrid pro.
hybrid pro is the most balanced mode because it combines classic chart pressure with lower-timeframe flow.
use classic synthetic if you want a smoother reading.
use intrabar flow if you want maximum short-term sensitivity.
---
## step 2 — choose the lower timeframe
for a 15m chart, start with 1m or 3m.
for a 5m chart, start with 1m.
for a 1h chart, try 5m or 15m.
if the script feels too reactive, use a higher lower-timeframe setting or lower the intrabar weight.
---
## step 3 — read the panel first
before looking at markers, read the panel:
1. check the market regime.
2. check the score.
3. check confidence.
4. check bid/ask imbalance.
5. check pressure.
6. check wall state.
7. check absorption or sweep.
do not take a marker if the panel does not make sense.
---
## step 4 — use walls as zones, not exact entries
a stable bid wall can act as a possible support area.
a stable ask wall can act as a possible resistance area.
price may react around the zone, not exactly at one tick.
---
## step 5 — wait for context
a better long idea usually has:
* stable bid wall
* bid-heavy or improving depth
* positive pressure
* bullish sweep or bid absorption
* score above the long bias level
* confidence above the minimum
a better short idea usually has:
* stable ask wall
* ask-heavy or weakening bid depth
* negative pressure
* bearish sweep or ask absorption
* score below the short bias level
* confidence above the minimum
---
# example use cases
## example 1 — bullish wall reaction
price moves down into a stable bid wall.
the panel shows:
* bid wall holding
* bid/ask ratio improving
* pressure turning positive
* confidence rising
* bid absorption appears
a trader may wait for price to hold above the wall and then look for a long setup marker.
possible invalidation:
price closes below the bid wall area and an invalidation marker appears.
---
## example 2 — bearish wall rejection
price moves up into a stable ask wall.
the panel shows:
* ask wall holding
* ask-heavy imbalance
* pressure turning negative
* ask absorption appears
* confidence is above the minimum
a trader may wait for rejection from the ask wall and a short setup marker.
possible invalidation:
price closes above the ask wall area.
---
## example 3 — bullish sweep
price moves below a bid wall or historical bid zone and then closes back above it.
the script marks a bullish sweep.
this can mean sellers pushed price below liquidity, but buyers absorbed the move and price returned above the zone.
a trader may then check:
* is pressure improving?
* is confidence strong enough?
* is the score moving toward long bias?
* is the market not in low-liquidity mode?
---
## example 4 — bearish sweep
price moves above an ask wall or historical ask zone and then closes back below it.
the script marks a bearish sweep.
this can mean buyers pushed price above liquidity, but sellers absorbed the move and price returned below the zone.
a trader may then check:
* is pressure weakening?
* is ask absorption present?
* is confidence strong enough?
* is the score moving toward short bias?
---
## example 5 — avoiding a weak signal
a long marker appears, but the panel shows:
* low liquidity regime
* weak confidence
* no stable bid wall
* no absorption
* no sweep
this is a low-quality context.
the better choice is to wait for stronger agreement.
---
## example 6 — using visual stats
enable visual stats and keep default atr target and invalidation settings.
after each confirmed setup, the panel tracks whether price reached the target, invalidation or timed out.
this is useful for studying the behavior of the signals on your market, but it is not a complete strategy backtest.
---
# suggested starting settings
## scalping
chart:
1m to 5m
settings:
* engine mode: hybrid pro
* lower timeframe: 1m
* intrabar weight: 0.55 to 0.70
* use confirmed bars: enabled
* wall threshold: 2.0 to 2.5
* min confidence: 60 to 70
* panel mode: compact or full
best use:
watch for stable walls, sweeps and absorption during active sessions.
---
## intraday
chart:
5m to 30m
settings:
* engine mode: hybrid pro
* lower timeframe: 1m to 5m
* intrabar weight: 0.45 to 0.60
* use confirmed bars: enabled
* wall stable bars: 3 to 5
* min confidence: 55 to 65
* panel mode: full
best use:
use stable walls as reaction zones and wait for score plus confidence agreement.
---
## swing or higher timeframe
chart:
1h to 4h
settings:
* engine mode: classic synthetic or hybrid pro
* lower timeframe: 5m to 15m
* intrabar weight: 0.25 to 0.45
* volume lookback: 100 to 200
* liquidity memory bars: 60 to 120
* panel mode: full
best use:
focus on larger wall zones, market regime and historical liquidity memory.
---
# practical workflow
1. open the chart and choose the market.
2. set engine mode to hybrid pro.
3. choose a lower timeframe smaller than the chart timeframe.
4. keep confirmed bars enabled.
5. check the panel regime.
6. wait for a stable wall.
7. watch bid/ask imbalance and pressure.
8. wait for absorption, sweep or a confirmed setup marker.
9. define invalidation around the wall zone.
10. use visual stats to observe signal behavior over time.
---
# limitations
this script uses synthetic calculations. it does not access real order book liquidity, real level 2 data, broker depth, or exchange resting orders.
signals may perform differently depending on symbol, timeframe, session, liquidity and volatility.
visual stats are only a simple chart-based follow-up tool. they are not a full trading strategy backtest.
the script should be combined with risk management, market structure, session context and personal testing.
---
# risk notice
this indicator is for technical analysis and education. it does not provide financial advice and does not guarantee future results. every trader is responsible for their own decisions, risk management and testing.
Indicator

Session Volume Moving Average [LuxAlgo]The Session Volume Moving Average indicator is a comprehensive volume analysis tool that plots volume bars directly on a moving average, providing a unique perspective on volume activity in relation to price trends.
It features session-specific volume profiling, streak detection, and a dynamic volume delta system to visualize market participation and institutional activity.
🔶 USAGE
The script serves as a multi-dimensional volume dashboard, allowing users to see not just the amount of volume, but also where it occurs within a price trend and who (buyers or sellers) is currently in control.
🔹 Moving Average Volume Bars
Traditional volume bars at the bottom of the chart can be difficult to relate to price action. This indicator plots volume bars anchored to a customizable moving average. Each bar's height is normalized using the 95th percentile of volume over a lookback period, ensuring that extreme outliers do not squash the rest of the data, providing a clearer view of relative volume changes.
🔹 Session Delta Bar & Candle Coloring
At the top of the active session, a gradient bar displays the cumulative volume delta (Bullish vs. Bearish volume percentage).
A pointer moves across the gradient to show the current balance.
The colors transition from your Bearish color to a Neutral color (at 50%), then to your Bullish color.
Users can enable the "Color Candles By Delta" setting to apply this same gradient to the chart candles, providing an immediate visual cue of session dominance.
🔹 Volume Profile & Streaks
The indicator automatically tracks trading sessions (New York, London, Tokyo, Sydney) and provides additional context:
A Volume Profile is drawn at the end of each session to highlight high-activity price levels.
Volume Streaks are highlighted with dashed boxes when volume increases or decreases for a consecutive number of bars, signaling building momentum or exhaustion.
🔶 DETAILS
🔹 Normalization Logic
To keep the volume bars visually consistent, the script scales their height relative to the Average True Range (ATR). By using the 95th percentile for normalization, the script ignores the top 5% of extreme spikes, which typically cause standard volume indicators to look flat and unreadable.
🔹 Delta Calculation
The delta is calculated by comparing bullish volume (volume on green candles) against total volume within the specific session. The gradient sensitivity is tuned to show significant color shifts between 35% and 65% delta, making it easier to spot shifts in control before they reach extremes.
🔶 SETTINGS
🔹 Moving Average Settings
Length: The lookback period for the moving average calculation.
Type: The type of MA to use (SMA, EMA, WMA, HMA, etc.).
Source: The price source for the MA calculation.
🔹 Session Settings
Past Sessions to Show: Controls how many historical session boxes and profiles remain on the chart.
Session 1-4: Toggles for specific global trading sessions with customizable times and time zones.
🔹 Volume Bar Settings
Height Multiplier: Adjusts the vertical scale of the volume bars on the MA.
Normalization Lookback: The period used to determine the 95th percentile volume.
Consecutive Trend Bars: The number of bars required to trigger a volume streak highlight.
Significant Vol Multiplier: Filters streaks so only high-volume sequences are highlighted.
🔹 Style & Volume Profile
Color Candles By Delta: Enables/disables the gradient candle coloring based on session volume.
Show Volume Profile: Toggles the session-end volume distribution histogram.
VP Bins: Controls the granularity of the Volume Profile.
Show Session Delta Bar: Toggles the gradient meter at the top of the session.
Indicator

HTF Profile Projection | Rainbow MatrixGENERAL OVERVIEW
HTF Profile Projection is a live higher-timeframe X-ray. It takes the current, still-forming candle of a higher timeframe (for example the 4H or Daily candle) and projects it to the right of live price, then fills it with a horizontal profile that shows what is happening INSIDE that candle: where volume is concentrating, where buyers or sellers are dominating each price zone, and where price moved through empty space.
The goal is to let a trader read the internal structure of the higher-timeframe candle without leaving the current chart. Instead of seeing the 4H candle as a single block, you see its anatomy — the price levels that hold the most activity, the zones controlled by buyers versus sellers, and the thin gaps the candle ran through quickly. Every bar in the profile is built from real chart-bar data accumulated since the higher-timeframe candle opened, not drawn manually.
WHAT IS THE THEORY BEHIND THIS INDICATOR?
A higher-timeframe candle is a summary. A single 4H or Daily candle compresses hours of two-sided auction into one open, high, low, and close — and in doing so it hides where the volume actually traded and which side was in control at each price. Two candles with an identical body and identical range can have completely different internal structures: one built on heavy buying absorbed near the lows, the other on distribution near the highs. The standard candle cannot show that difference.
Most tools that try to surface this are built around the wrong constraint. Single-timeframe volume profiles describe the visible range, not the live higher-timeframe candle. Intrabar dissection tools that read true sub-candle data depend on functions that require additional data subscriptions and will not load on standard plans.
HTF Profile Projection takes a different route: it accumulates the chart's own bars since the higher-timeframe candle opened, and distributes each bar's activity across the price range it actually traversed. This reconstructs the internal volume and directional balance of the forming higher-timeframe candle using only standard data feeds — and projects it forward as a single, readable object.
The practical value: when price returns to a higher-timeframe candle later, the levels that mattered inside it — the high-volume node, the buyer- or seller-dominated zones, the empty imbalance gaps — are common revisit and reaction areas. Seeing them while the candle is still forming gives structural context that the candle body alone cannot.
HTF PROFILE PROJECTION FEATURES
The indicator includes these main components: a projected higher-timeframe candle, a range-spread movement profile, automatic resolution, a buy/sell dominance read, imbalance zones, a Point of Control marker, and a live info panel. Multilingual interface and full visual customization.
PROJECTED HTF CANDLE
🔹 What It Does
Reads the live, still-forming higher-timeframe candle and draws it (body + wicks) to the right of live price, color-coded by its direction. The horizontal profile attaches inside its price range.
🔹 Method
The higher-timeframe OHLCV is read via request.security() with lookahead=barmerge.lookahead_off, so no future information is used. The candle and its profile update in real time as the higher-timeframe bar forms — the intended live behavior — and reset cleanly when a new higher-timeframe period opens. If the chart timeframe is at or above the selected higher timeframe, the profile is hidden and a guard note is shown, because one chart bar covering the whole period cannot produce a meaningful internal read.
RANGE-SPREAD MOVEMENT PROFILE
🔹 What It Does
Splits the higher-timeframe candle's range into horizontal price buckets and fills each with the activity that occurred there.
🔹 Method
Since the higher-timeframe candle opened, each chart bar's volume and signed direction are accumulated, then distributed across every bucket the bar's low–high range spans — not dumped at a single midpoint. This range-spread approach makes both the per-zone volume and the per-zone buy/sell balance reflect where price actually traded inside the candle, rather than collapsing onto one level.
AUTOMATIC RESOLUTION
🔹 What It Does
The number of price buckets is chosen automatically from volatility. The higher-timeframe range is divided by the average chart-candle size (ATR), so each fraction of the profile corresponds to roughly one typical move of the chart timeframe.
🔹 Why It Matters
Calmer markets produce a finer profile; volatile markets produce a coarser one. The resolution matches the instrument and timeframe automatically, bounded between 4 and 50 buckets to keep the chart readable.
BUY/SELL DOMINANCE (DELTA MODE)
🔹 What It Does
In Delta mode (the default), each zone is colored by which side dominated: green for net buyers, red for net sellers, and gray for balanced zones where heavy two-way trade produced no clear winner. Bar length shows the magnitude of the imbalance.
🔹 Method
Each chart bar is classified by the sign of close versus open and contributes its volume as signed activity (+ for an up bar, − for a down bar). The net per zone is a direction-based proxy for buy/sell pressure, computed locally on standard data feeds — it is not exchange order-flow data, which Pine cannot access without additional subscriptions.
🔹 Volume Mode
Switching Source Metric to Volume colors the profile by a cold-to-hot intensity gradient instead, showing how much traded at each price regardless of direction.
IMBALANCE ZONES
🔹 What It Does
Price zones with little or no activity render distinctly. A contiguous run of empty buckets marks an imbalance — a price range the higher-timeframe candle moved through quickly with little participation.
🔹 Why It Matters
These gaps are not drawn as separate boxes; they emerge from the ABSENCE of activity in the profile. They are common revisit targets, since price often returns to fill ranges it previously skipped.
POINT OF CONTROL MARKER
🔹 What It Does
A horizontal marker tags the dominant bucket — the price level with the most activity (Volume mode) or the strongest net dominance (Delta mode). A label reports that level's share of the period's total.
LIVE INFO PANEL
🔹 What It Shows
A compact corner panel reports the higher timeframe in use, the percentage of the period elapsed, the Point of Control price, the number of imbalance zones, and the total higher-timeframe volume. When the chart-timeframe guard is active, the panel collapses to a single notice so the user always gets feedback.
🔹 Customization
The panel can be placed in any of the four chart corners and rendered in several font sizes. The display language is controlled by the System Language input.
HOW TO USE
This indicator is not a signal generator. It is a structural X-ray: it shows the internal anatomy of the forming higher-timeframe candle.
🔹 Setup
Set the Higher Timeframe input above your current chart timeframe (for example chart 15m, HTF 4H). The forward candle appears to the right of live price. If the chart timeframe is at or above the HTF, the profile hides and the guard note appears.
🔹 Reading Delta Mode (default)
Green zones mark prices where buyers dominated, red where sellers dominated, gray where the auction was balanced. The Point of Control marks the most decisive level inside the candle.
🔹 Reading Volume Mode
The rainbow profile shows where the most volume traded. Long bars are high-activity nodes; gaps are low-volume imbalance zones.
🔹 Tactical Reading
◇ A high-activity node is a price the higher timeframe has accepted — a common reaction level on revisit.
◇ A buyer- or seller-dominated zone shows which side controlled that price during the period.
◇ An imbalance gap is a range price ran through quickly — a frequent magnet for later revisits.
INPUTS EXPLAINED
🔹 System Language
Display language for the panel and labels. Options: English (default), Português, Español, Русский, 中文 (Chinese).
🔹 Higher Timeframe
The higher timeframe to project. Must be above the chart timeframe.
🔹 Show Forward HTF Candle
Toggle for the projected candle body and wicks.
🔹 Auto-Resolution ATR Length
Lookback for the average chart-candle size used to pick the bucket count.
🔹 Source Metric
Volume (intensity gradient) or Delta (buy/sell dominance, default).
🔹 Projection Offset / Profile Width
Position and maximum horizontal length of the profile to the right of price.
🔹 Spike Threshold / Imbalance Threshold
Controls for what counts as a high-activity node and what counts as an empty/imbalance zone.
🔹 Palette Mode
Intensity (cold-to-hot) or Bull-Bear (dominance coloring, default).
🔹 Profile Transparency / Show POC Marker
Visual styling for the profile and the Point of Control line.
🔹 Info Panel / Position / Font Size
Toggle, corner, and size for the live panel.
IMPORTANT NOTES
HTF Profile Projection works on any chart timeframe below the selected higher timeframe. It is built for liquid instruments with reliable volume data: crypto perpetual contracts, large-cap equities, futures, major forex pairs. On low-volume instruments the profile becomes less reliable.
This is a real-time tool. The forming higher-timeframe candle and its profile update intra-period by design; the profile resets when a new higher-timeframe period opens. It uses only request.security() and chart-bar accumulation, so it runs on standard data feeds without footprint() or request.security_lower_tf().
Pine Script v6. Open-source under Mozilla Public License 2.0.
UNIQUENESS
HTF Profile Projection is unique in how it unifies three reads into one object. Most higher-timeframe context tools stack separate features: a candle outline, fair-value-gap rectangles, and volume-spike markers. This indicator merges them — the forward higher-timeframe candle and its volume-by-price profile are a single object. High-activity zones appear as the profile's longest bars; imbalance zones are not drawn at all, they emerge from the absence of activity in the profile. The buy/sell dominance read is reconstructed from chart-bar direction and distributed across each bar's true price range, so it reflects where the auction was actually contested — and it does this on standard data feeds, without the order-flow subscriptions that comparable intrabar tools require. The combination of a live forward-projected candle, automatic volatility-matched resolution, range-spread accumulation, and dominance-versus-balance coloring produces a structural read that behaves differently from single-timeframe volume profiles and from static fair-value-gap tools. Indicator

MTF CVD Synchrony | Rainbow MatrixGENERAL OVERVIEW
MTF CVD Synchrony is a multi-timeframe directional flow oscillator that condenses five independent CVD (Cumulative Volume Delta) readings — one per Fibonacci-spaced timeframe — into a single weighted Master Line on a zero-centered 0-100 scale, surrounded by per-TF "ghost lines" that fade visually as they diverge from the consensus. The defining feature: 50 is true neutral. Above 50 means buyers are dominating; below 50 means sellers are dominating. The further from 50, the stronger the directional pressure. When the five timeframes align, the rainbow becomes a solid band; when they diverge, the disagreement becomes a visible density property of the indicator itself.
A background histogram visualizes the Master score's deviation from the neutral 50 line — green columns extend up when buyers dominate, red columns extend down when sellers dominate. A compact 7×9 MTF Legend Table surfaces every dimension simultaneously: per-TF resolutions, score values, trend direction, divergence flags, raw flow magnitude, and named directional State — with an antenna marker flagging the row whose timeframe matches your chart's native resolution.
Designed as the directional member of a three-indicator family. Apply all three side-by-side for a complete read: MTF RSI Synchrony shows where price sits in its momentum range; MTF Volume Delta Bar Synchrony shows whether the move has volume magnitude behind it; MTF CVD Synchrony shows who is actually winning — buyers or sellers. Same visual signature, same canonical Fibonacci ratios, same Legend Table layout — instant cross-indicator readability.
WHAT IS THE THEORY BEHIND THIS INDICATOR
Cumulative Volume Delta attempts to answer a question that price and volume alone cannot: in any given bar, were buyers or sellers more aggressive? Traditional volume tells you HOW MUCH traded, but not the DIRECTION of the pressure. A high-volume bar that closes flat tells a very different story from a high-volume bar that closes at its highs — yet raw volume scores them identically.
CVD approximates directional pressure by weighting each bar's volume by where price closed within its range. This indicator uses the Close Location Value (CLV) for that weighting:
clv = ((close − low) − (high − close)) / (high − low)
CLV ranges from +1 (close exactly at the high — maximum buying pressure) to −1 (close exactly at the low — maximum selling pressure), with 0 at the midpoint. Multiplying CLV by volume produces a signed directional contribution per bar: delta_raw = clv × volume. This is more nuanced than the binary tick rule (close > open = buy) used by most "delta" indicators — CLV captures HOW DECISIVELY price closed in its range, not just the sign.
The per-bar delta is then smoothed by EMA and normalized into a bounded 0-100 zero-centered score:
cvd_smooth = EMA(delta_raw, smoothing_length)
max_abs = highest(|cvd_smooth|, normalization_window)
score = 50 + (cvd_smooth / max_abs) × 50
The genius of the zero-centered approach: 50 always means balance, regardless of the asset's structural bias. A score of 75 means buyers are exerting 50% of the maximum recent pressure to the upside; a score of 25 means sellers are exerting 50% of maximum recent pressure to the downside. This is fundamentally different from a percentile rank (which would anchor 50 at the historical median, skewing with structural trends).
Five such scores — one per timeframe (default 5 / 15 / 60 / 240 / D) — are fused via canonical Fibonacci weights (0.15 / 0.20 / 0.25 / 0.25 / 0.15, peak weight on the macro TF3/TF4 where institutional positioning consolidates) into the weighted Master Line.
FEATURES
🔹 Multi-Timeframe CVD Fusion Engine (zero-centered directional scale)
🔹 CVD Histogram (deviation from neutral 50 — green buy / red sell)
🔹 Adaptive Fibonacci Channel (Z-Breathing → Z-Alert → Z-Exhaustion → Black Swan)
🔹 Hybrid Black Swan Zones (static or dynamic — default dynamic)
🔹 Classic Price↔CVD Divergence Detection (per-TF + Master)
🔹 MTF Legend Table (7 columns × 9 rows, with Raw Flow + State, multilingual)
🔹 Multilingual Interface (EN / PT / ES / RU / ZH)
🔹 Multi-Timeframe CVD Fusion Engine
What It Does
Runs five independent CVD scores on Fibonacci-spaced timeframes and fuses them into a single weighted Master Line, with each per-TF reading plotted as a ghost line that fades by distance to the consensus.
Method
On each timeframe, f_cvd_full() computes CLV × volume per bar, smooths it via EMA, and normalizes against a rolling-max window to produce the zero-centered score. The five scores fuse via Fibonacci weights (0.15 / 0.20 / 0.25 / 0.25 / 0.15). Both smoothing length and normalization window are independently configurable per timeframe.
Per-TF smoothing defaults (Wilder-anchored on TF3+TF4):
◇ TF1 (5m): 7 — scalping
◇ TF2 (15m): 10 — day-trading
◇ TF3 (60m): 14 — Wilder canonical
◇ TF4 (240m): 14 — Wilder canonical
◇ TF5 (D): 21 — swing/position
Per-TF normalization windows (each TF's natural horizon):
◇ TF1: 30 (≈2.5h on 5m)
◇ TF2: 50 (≈12.5h on 15m)
◇ TF3: 80 (≈3.3 days on 1h)
◇ TF4: 100 (≈16 days on 4h)
◇ TF5: 150 (≈5 months on Daily)
All request.security calls use lookahead=barmerge.lookahead_off for anti-repaint integrity.
Why It Matters
A 5-minute buy surge means little if the 4-hour and daily flows are decisively selling. The fusion engine reveals whether directional pressure is aligned across timescales (high conviction) or contradictory (a counter-trend bounce inside a larger trend). The ghost-line rainbow makes that alignment visible at a glance.
🔹 Adaptive Fibonacci Channel
What It Does
Six color-coded bands around the Master Line that adapt to its own recent volatility, using the brand's canonical Fibonacci ratios.
Method
Highest/lowest of the Master over a configurable lookback (default 50) are smoothed by EMA (default 10) to form the channel envelope. Bands sit at canonical Fibonacci proportions: Z-Breathing (1.50/1.85), Z-Alert (1.85σ anchor), Z-Exhaustion (2.75/1.85), Black Swan (3.85/1.85). All six band values are mathematically clamped to before rendering, keeping the rainbow inside the visible pane.
Why It Matters
Static thresholds can't adapt to regime changes. The Fibonacci channel calibrates the warning zones to the asset's current directional-flow volatility, so a "climax" on a calm pair and a "climax" on a volatile one both trigger at appropriate statistical extremes.
🔹 Hybrid Black Swan Zones
What It Does
Flags directional flow climax extremes — either at static 85/15 thresholds (BUY CLIMAX / SELL CLIMAX boundaries) or at the dynamic Fibonacci 3.85σ band.
Method
Dynamic Black Swan Mode is ON by default (Fibonacci 3.85σ proportion of the Master channel). Toggle OFF for static 85/15. Each zone renders as a glow line that brightens as the Master approaches. The static reference lines (15/50/85) are shown by default to anchor the zero-centered scale: 85 = purple (buy climax boundary), 50 = yellow (neutral), 15 = aqua (sell climax boundary).
Why It Matters
Directional flow climaxes mark exhaustion points — a BUY CLIMAX (score ≥ 85) means buyers have pushed to a recent extreme, often preceding a pause or reversal; a SELL CLIMAX (≤ 15) marks capitulation. The dynamic mode self-calibrates per asset and regime.
🔹 Classic Price↔CVD Divergence Detection
What It Does
Detects regular bear divergences (price higher high while CVD makes lower high — rally on weakening buy pressure) and bull divergences (price lower low while CVD makes higher low — selling exhausting). Runs on each timeframe AND on the Master line.
Method
Per-TF divergence runs inside request.security via pivot detection on the per-TF CVD score. Master divergence runs on the chart-TF directly, rendering a connecting line + label between pivots (red bear / green bull) on the pane. Per-TF results surface in the Legend Table's "Div" column.
Why It Matters
Price↔flow divergence is one of the most powerful applications of CVD. When price makes a new high but directional flow doesn't confirm, the rally is running on fading conviction — a classic distribution warning. Detecting this per-TF AND on the Master gives both early granular warnings and high-conviction confirmations.
🔹 MTF Legend Table
What It Does
A compact 7×9 table surfacing every dimension of the analysis at a glance.
Method
Rendered via table.new(force_overlay=false) on the pane. Layout:
◇ Row 0: title (spans all columns)
◇ Row 1: column headers — Indicator / Timeframe / Value / Trend / Div / Raw / State
◇ Rows 2-6: per-TF data
◇ Row 7: Master row ("🌈 Master (~XhYm)" with effective TF)
◇ Row 8: MTF Divergence status row
Per-TF cells show: ● TF label (+ antenna 📡 if chart-native), TF resolution, zero-centered score (zone-colored), trend arrow (±0.5 deadzone), divergence (🔺/🔻/—), Raw Flow (compact K/M/B signed magnitude, green if positive / red if negative), and State (directional name, zone-colored).
Why It Matters
The Raw Flow column complements the Value column: Value answers "how strong is the directional pressure?" (the normalized score), while Raw answers "how much actual volume is behind it?" (the absolute flow). A score of 75 with a small raw magnitude is weaker conviction than 75 with a huge raw magnitude. Together with State, the table tells a complete directional story per timeframe.
🔹 Multilingual Interface
What It Does
Translates all HUD labels, status messages, alert text, Legend Table headers, and directional State names to 5 languages: English, Português, Español, Русский, 中文.
Method
A single language dropdown selects the active language via Pine v6's ternary-chain pattern. Code, comments, and configuration tooltips remain in English by convention.
Why It Matters
The Rainbow Matrix family is built for traders worldwide. Multilingual UI removes friction for non-English-native users.
HOW TO USE
Reading the Pane
◇ Master near 50 with ghost lines tight: balanced flow, no directional edge (absorption / equilibrium).
◇ Master rising above 50: buyers gaining control. Above 62 = BUY PRESSURE; above 71 = STRONG BUY.
◇ Master falling below 50: sellers gaining control. Below 38 = SELL PRESSURE; below 29 = STRONG SELL.
◇ Master touches Black Swan High (≥85, purple glow): BUY CLIMAX — buyers at a recent extreme, watch for exhaustion.
◇ Master touches Black Swan Low (≤15, aqua glow): SELL CLIMAX — capitulation, watch for reversal.
◇ Histogram green/red columns: immediate bar-by-bar directional read around the 50 centerline.
Reading the Legend Table
The antenna marker (📡) flags your chart's native timeframe — start there, then scan up/down to see whether faster/slower TFs confirm or contradict the directional bias. Compare Value (pressure strength), Raw (actual flow magnitude), and State (named classification) for each row. The status row summarizes MTF alignment between TF1 and TF5.
Reading Divergences
Master bear divergence (price up + CVD down) = rally on fading buy conviction, distribution warning. Master bull divergence (price down + CVD up) = selling exhausting, potential bottom. Per-TF divergences in the Div column give early granular warnings.
Tactical Combinations
◇ Master BUY CLIMAX + bear divergence + multiple TFs diverging = strongest reversal-from-high signal.
◇ Master SELL CLIMAX + bull divergence = strongest reversal-from-low signal.
◇ Master near 50 + all TFs near 50 + tight ghosts = absorption / coiling, often precedes a directional break.
◇ Triple confluence (the full family): RSI overbought + Volume EXTREME magnitude + CVD STRONG SELL = distribution at the top. RSI oversold + Volume EXTREME + CVD STRONG BUY = accumulation at the bottom. These three indicators answering momentum + magnitude + direction simultaneously is the strongest read the Rainbow Matrix family offers.
INPUTS EXPLAINED
GLOBAL SETTINGS — System Language (EN/PT/ES/RU/ZH), table/label font sizes.
MULTI-TIMEFRAME — AI Auto-Sync TFs; TF1-TF5 manual resolutions (default 5/15/60/240/D); per-TF CVD Smoothing Length (7/10/14/14/21); per-TF CVD Normalization Window (30/50/80/100/150).
ENGINE — Dynamic Black Swan Mode (default ON); Dynamic Channel Lookback (50) and Smoothing (10); Divergence Pivot Lookback (5).
VISUALIZATION — TF1-TF5 colors + show toggles (all ghost lines OFF by default — only Master visible on install); Ghost Fade Sensitivity (3.5); Show Master Line / Rainbow Fills / Black Swan / Dynamic Channel; Show CVD Histogram; Show MTF Legend Table; Show Divergence Column; Show Raw Flow Column; Show State Column; Show Master Divergence Chart Line; Legend position; Show Divergence Event Markers; Show Static Reference Lines (15/50/85, ON by default).
ALERTS — Black Swan crossings (high/low); Strong MTF Divergence; Z-Exhaustion zone entries; Master Classic Divergence.
IMPORTANT NOTES
🔸 Pine Script v6 — uses request.security with lookahead=barmerge.lookahead_off. 16 total security calls (5 CVD score + 5 per-TF divergence + supporting channel calculations). Chart load may take a moment longer than a single-TF indicator.
🔸 CLV approximation, not order-flow tick data — Directional pressure is approximated via the Close Location Value (where price closed within each bar's range), NOT real bid/ask order flow. Pine Script v6 has no tick-by-tick data access in indicator scripts. CLV is a more nuanced approximation than the binary tick rule used by most free-tier "delta" indicators, but it remains an approximation. For true order-flow delta, use dedicated footprint/order-flow tools.
🔸 Zero-centered scale — Unlike the percentile-rank siblings (RSI, Volume Delta Bar), this indicator's 50 is a TRUE neutral (zero net directional flow), not a historical median. This is intentional — direction is inherently signed, so a fixed zero-point is more meaningful than a regime-relative median.
🔸 Normalization warmup — During the first normalization_window bars on each TF, the rolling-max anchor (max_abs) is built from a small sample, so early bars may show exaggerated swings until the window fills. Normal warmup behavior for any rolling-window indicator.
🔸 Repaint behavior — Historical bars use confirmed close data; the current real-time bar updates as ticks arrive. Pivot-based divergence requires confirmation bars before triggering (standard pivot divergence behavior).
🔸 Fibonacci ratios are canonical — The channel proportions (1.50/1.85/2.75/3.85) and fusion weights (0.15/0.20/0.25/0.25/0.15) match the Rainbow Matrix brand standard across all sibling indicators, preserving cross-indicator visual consistency.
🔸 License: MPL 2.0 — open source. Free to fork, modify, and republish under the same license terms.
UNIQUENESS
Three pillars differentiate this from other CVD indicators on PulseWire:
1. Multi-timeframe CVD fusion with synchrony as a visual property. Most CVD tools run on a single timeframe. This indicator runs five, fuses them via Fibonacci weights, and expresses directional alignment as a rainbow density — solid when timeframes agree on direction, spread when they disagree. The cross-TF directional consensus becomes immediately readable.
2. True zero-centered scale with CLV weighting. The 50 midpoint is a mathematically meaningful neutral (zero net flow), not a regime-skewed median. And the directional weighting uses Close Location Value — capturing how decisively price closed within each bar's range — rather than the cruder binary tick rule. This combination produces a directional read that stays honest across structural trends.
3. Three complementary readings in one Legend Table, designed as a family. Value (pressure strength), Raw Flow (actual magnitude), and State (named classification) disambiguate a single timeframe's directional picture. And as the directional member of the Rainbow Matrix trio (alongside RSI for momentum and Volume Delta Bar for magnitude), it completes a three-dimensional read of any market: where price is, how big the move is, and who's winning.
Rainbow Matrix AI | Multi-timeframe institutional analysis tools for traders.
🌐 rainbowmatrix.ai
✉️ Contact: [email protected]
Indicator

[ A L P H A X ] ANCHOR Delta Volume Adaptive Entry EngineAlphaX ANCHOR — Liquidity-Anchored Trailing Stop System with Delta Volume Profile, Adaptive Band Scaling, HVN Confluence & 6-Layer Entry Engine
AlphaX ANCHOR is a professional-grade trend-following and entry precision system built around a proprietary four-band liquidity-anchored trailing stop engine that adapts to volatility in real time. Where conventional trailing stops use a fixed ATR distance and flip on any close beyond it, ANCHOR builds a structured four-layer band system that breathes with market conditions — tightening automatically during low-volatility squeeze phases and expanding during expansion phases — while simultaneously computing a delta-weighted volume profile anchored to the current trend segment. The result is a system that does three things simultaneously: tells you the trend direction with structural confidence, shows you exactly where the institutional volume is concentrated within the current move, and fires precision entries only when price returns to the outer anchor band within a qualifying 6-layer confluence environment. Designed for swing traders, position traders, and trend-following scalpers across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚓ The Anchor Trail Engine — How It Works
The core of AlphaX ANCHOR is the four-band liquidity-anchored trailing stop system — a structured set of concentric ATR bands that trail price in the trend direction, each band serving a distinct role in the trade management framework.
Band architecture:
Band 1 (Inner) — the closest band to price. Set at the base multiplier × ATR distance (default: 6.5×). Acts as the tightest stop reference — for aggressive traders who want minimal drawdown and are willing to accept more noise exits
Band 2 (Mid-Inner) — base + 1.0× ATR additional offset. The intermediate reference zone
Band 3 (Mid-Outer) — base + 2.0× ATR additional offset. Structural breathing room for normal pullbacks
Band 4 (Anchor — Outer) — base + 3.0× ATR additional offset. The primary trend invalidation level. A close beyond this band flips the trend. This is the band the confluence engine watches for retest entries
Trailing mechanics:
In a bull trend, all four bands trail price upward — ratcheting higher with every bar that closes higher, never moving down. The trail is one-directional: in a bull trend, bands can only move up; in a bear trend, bands can only move down. This ratchet behavior prevents the bands from widening on pullbacks — once a level is established, price must return all the way to Band 4 before a trend flip is triggered. This single property is what makes ANCHOR bands structurally superior to simple ATR trailing stops: they do not exit on noise, only on genuine structural breakdowns.
Trend flip logic:
A trend flip occurs when the source price closes beyond Band 4 — the outer anchor level. On the flip bar, all four bands immediately reset to the opposite side of price at their respective ATR distances. A ▲ ANCHOR BULL or BEAR ▼ ANCHOR label marks every flip on the chart, giving you clear visual confirmation of every structural trend change.
Heatmap visualization:
When the Trailing Stop Heatmap is enabled, the space between all four bands is filled with gradient color layers — progressively more opaque from Band 1 to Band 4. This creates an immediate visual depth map of the trailing stop structure: the closer price is to Band 4, the deeper into the "danger zone" the pullback has penetrated. At a glance, you can see whether a pullback is shallow (barely in the inner fill) or deep (approaching the outer anchor line) without reading a single number.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌊 Adaptive Band Scaling — Breathing With Volatility
Standard ATR trailing stops maintain a fixed multiplier regardless of whether the market is in a squeeze or an expansion phase. ANCHOR solves this with an adaptive scaling system that continuously adjusts the effective band multiplier based on current volatility context.
How it works:
The current ATR value is percentile-ranked over the last 100 bars using a percentrank function, producing a real-time volatility percentile reading. Additionally, the system monitors whether Bollinger Bands are compressed inside Keltner Channels — the squeeze condition.
Three scaling states:
Squeeze active (BB inside KC) — multiplier scales down to the Adaptive Min Scale (default: 0.85×). Bands tighten. During a squeeze, price movement is compressed and the natural pullback range is narrower — tighter bands correctly reflect this reduced volatility and avoid giving back gains unnecessarily when the market is coiling
High volatility (ATR in top 75th percentile) — multiplier scales up to the Adaptive Max Scale (default: 1.15×). Bands widen. During expansion phases, price swings are larger and a wider band correctly avoids being stopped out by normal volatility noise
Normal conditions — multiplier stays at 1.0× the base setting. No adjustment needed
Dashboard readout:
The current adaptive scale is displayed live on the dashboard as a multiplier value (e.g., 0.85x SQZ or 1.15x) in real time, so you always know whether the system is in tight, normal, or wide band mode.
Why adaptive scaling matters: A fixed 6.5× ATR trailing stop is too wide during a squeeze and too tight during a volatility spike. Adaptive scaling means ANCHOR is always correctly sized for the current market environment — without any manual adjustment from you.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Delta-Weighted Volume Profile — Anchored to the Trend Segment
The volume profile in AlphaX ANCHOR is not a standard fixed-range profile. It is a trend-segment-anchored profile — recomputed from the exact bar where the current trend began (the last Band 4 flip) to the current bar. Every time the trend flips, the profile resets and starts building fresh from the new trend origin.
What this means in practice: The profile always shows you the volume distribution of the current institutional delivery move — not an arbitrary date range, not the last N bars, but specifically the price levels where volume has concentrated since the institutional trend began. This is the most relevant possible volume profile for understanding the current trade's context.
Delta weighting:
When Delta-Weighted Volume is enabled (default: on), each bar's contribution to the volume profile is adjusted by the estimated directional bias of that candle:
In a bull trend — the bull volume estimate (close position within the high-low range × total volume) is used. Bullish candles contribute more weight to their price levels than bearish candles
In a bear trend — the bear volume estimate is used. Bearish candles carry more weight
This delta weighting creates a profile that reflects not just where volume occurred, but where directionally committed volume occurred — the levels where buyers (in a bull trend) or sellers (in a bear trend) were most active. These are the genuine institutional accumulation and distribution zones, not just high-activity noise zones.
Profile structure:
The profile is divided into a configurable number of rows (default: 30), each representing an equal price bin across the trend segment's high-low range. The width of each bar in the rendered profile is proportional to the volume in that bin relative to the maximum bin volume — the widest bar is always the highest-volume level.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 POC, Value Area & HVN Detection
Point of Control (POC):
The single price bin with the highest volume in the current trend segment. This is the price level where the most delta-weighted volume has traded since the trend began — the most liquid price in the current institutional move. Plotted as a solid purple line extending from the trend start to the right edge of the profile. The POC price is displayed live on the dashboard and is available as a take-profit target mode.
Value Area High (VAH) and Value Area Low (VAL):
The price range containing a configurable percentage of total segment volume (default: 70%). The value area represents the zone where the market spent 70% of its time and volume — the institutional fair value range for the current trend segment. VAH is plotted as a dashed yellow-green line; VAL as a dashed red line. These levels act as natural support and resistance within the trend — price frequently respects VAH and VAL on pullbacks before continuing in the trend direction.
High Volume Nodes (HVNs):
Local volume peaks within the profile — bins where volume is higher than both the bin immediately below and the bin immediately above. These are the institutional congregation zones — price levels where significant two-sided activity occurred. HVNs frequently act as magnets: price is attracted to them, and once reached, tends to spend time at them before continuing. Identified algorithmically across all bins, HVN levels are plotted as horizontal lines extending from the trend start, styled and colored by the configured settings. The highest-volume HVN receives a bold line and a price label.
HVN confluence scoring:
The confluence engine awards 1 point when either the current close or the outer Band 4 level is within a tolerance of ±0.35× ATR of any HVN level. An entry that fires at the anchor band while simultaneously sitting at an HVN level means you are buying or selling at a level where the most institutional volume has transacted — a genuinely high-conviction entry location.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚖ Trend Equilibrium — Premium/Discount Positioning
The Trend Equilibrium line is the midpoint between the highest high and the lowest low since the current trend began (the trendHigh and trendLow of the segment). Plotted as a purple dotted line directly on the chart.
This level serves as the dynamic premium/discount divider for the current trend segment:
Below equilibrium = discount — price is in the lower half of the trend segment range. For bull trends, this is the institutional accumulation zone — the preferred entry location for long positions
Above equilibrium = premium — price is in the upper half of the range. For bear trends, this is the institutional distribution zone — the preferred entry location for short positions
The Require PD Zone setting enforces that long signals only fire when price is in discount and short signals only fire when price is in premium. This one filter alone eliminates a substantial class of low-quality entries — those that occur when price has already extended far from the segment midpoint and the risk/reward is structurally poor.
Unlike a fixed-range PD calculation, this equilibrium adapts dynamically to the current trend segment — it is always the midpoint of this trend's range, making it the most contextually accurate premium/discount reference available.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The 6-Layer Confluence Engine
Entry signals fire only when price touches the outer Band 4 anchor level within a qualifying 6-layer confluence environment. Each layer votes independently. The default minimum is 4 of 6.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 1 — Anchor Trend Direction
Awards 1 point when the ANCHOR system's current trend direction agrees with the signal. Bull signals require trend == 1; bear signals require trend == -1. This is also a hard positional requirement — the anchor touch condition itself requires a bull trend for longs (price touching Band 4 from above) and a bear trend for shorts (price touching Band 4 from below). The trend direction is therefore inherently confirmed by the signal trigger condition.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 2 — HTF Bias
Awards 1 point when the higher timeframe EMA structure (default: 60-minute, 21/55 EMAs) agrees with the signal direction. The HTF condition for ANCHOR is stricter than in other AlphaX systems: the HTF fast EMA must be above the slow EMA and the HTF close must be above the HTF fast EMA for a bull vote — requiring both EMA alignment and price confirmation on the higher timeframe simultaneously.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 3 — ADX Trend Strength
Awards 1 point when ADX meets the minimum threshold (default: 18). Confirms the market is in a genuine trending phase where Band 4 retests are likely to produce continuation moves rather than range reversals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 4 — Volume Delta
Awards 1 point when the estimated volume delta (bull volume EMA minus bear volume EMA) agrees with the signal direction. Confirms that the institutional order flow pressure at the anchor touch is directionally consistent with the trend. A Band 4 touch with opposing volume delta is a warning sign — institutions may be distributing at the level, not accumulating.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 5 — Premium/Discount Zone
Awards 1 point when price is in the correct zone relative to the trend equilibrium level — discount for longs, premium for shorts. A Band 4 touch in the discount zone means you are entering at the outer structural boundary of the trend and the lower half of the segment range — the optimal dual positioning that maximizes risk/reward.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 6 — HVN Confluence
Awards 1 point when the current close or the Band 4 level is within ATR tolerance of any detected High Volume Node from the segment profile. This is the layer that bridges the trailing stop system and the volume profile — when a Band 4 retest coincides with an HVN, price is returning to the outer structural boundary precisely where the most institutional volume has traded. The convergence of structural (Band 4) and volumetric (HVN) confluence at the same price level is the highest-quality entry condition ANCHOR can detect.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Signal Firing Logic
An ANCHOR signal fires when all of the following are simultaneously true:
Price has touched Band 4 from the correct side — low within Band 4 tolerance for longs (bull trend), high within Band 4 tolerance for shorts (bear trend)
The close is back on the correct side of Band 4 — close above Band 4 for longs, close below for shorts (confirming the touch was a retest, not a breakdown)
Confluence score meets or exceeds the configured minimum (default: 4 of 6)
Session filter confirms active hours (when enabled)
Signal cooldown has elapsed since the last signal (default: 8 bars)
Show Entry Signals is enabled
Live confluence display:
A small label near the current Band 4 level on the last bar shows the live bull and bear scores in the format B 5/6 · S 2/6 — updating in real time so you can monitor the confluence state without looking at the dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Exit Guidance System
ANCHOR provides two live guidance levels plotted as dotted circles on the chart when a signal fires — not hard mechanical exits, but institutionally informed price targets for use in your own exit planning.
SL Guide:
The stop loss guide is anchored to a configurable band (default: Band 4 — the outer anchor). The SL band can be set to any of the four bands depending on your risk tolerance. Band 4 represents the structural invalidation level — the trend has flipped if price closes beyond it. Band 1 is the tightest option for aggressive stop placement.
TP Guide (three modes):
POC Target (default) — the take-profit guide points to the current segment POC. This is the most structurally meaningful target: in a bull trend, a Band 4 retest entry with a POC target means you are entering at the lowest point of the trend's volume structure and targeting the price where the most institutional activity occurred. The POC frequently acts as a magnet — price is drawn back to it after pullbacks
Opposite Band — the TP guide points to the trendHigh (bull) or trendLow (bear) of the current segment — the opposite extreme of the trend range. Maximum trend extension target
ATR Multiple — a fixed ATR distance from the entry close (default: 2.5×). Simple and consistent across all instruments and timeframes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state across four sections, updated on every bar.
TREND
Anchor Trend — current ANCHOR system trend direction: ▲ BULLISH or ▼ BEARISH. This is the primary trend state — the direction all long entries must align with
Adaptive — current adaptive scale multiplier (e.g., 0.85x SQZ, 1.00x, or 1.15x) with squeeze state flag. Tells you whether bands are currently tighter or wider than the base setting
PD Zone — current premium/discount position relative to the trend equilibrium: ◧ DISCOUNT, ◧ PREMIUM, or — EQ
FILTERS
HTF Bias — higher timeframe EMA alignment: ▲ BULL, ▼ BEAR, or — FLAT
ADX — live ADX value with ✓ or ✗ pass/fail
Vol Delta — current volume delta direction: ▲ BULL, ▼ BEAR, or —
Session — ✓ ACTIVE or ✗ OFF
VOLUME
POC — current Point of Control price level. Updated in real time as the profile builds
VAH / VAL — Value Area High and Value Area Low levels for the current trend segment
HVN Count — number of High Volume Nodes currently detected in the segment profile
CONFLUENCE
Bull Score — live 0–6 score. Background highlights yellow-green when threshold is met
Bear Score — live 0–6 score. Background highlights red when threshold is met
Anchor Band — the current Band 4 price level in real time — the exact price where the next retest entry would occur
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Band 4 (Anchor — thick solid line) — the outer trailing stop and primary structural level. Yellow-green in bull trend, red in bear trend. The most important line on the chart
Band 3 (semi-transparent) — mid-outer reference, 2× ATR inside Band 4
Band 2 (more transparent) — mid-inner reference, 1× ATR inside Band 4
Band 1 (most transparent) — inner reference, base ATR distance from price
Heatmap fills — gradient color fills between all four bands. Deepening opacity toward Band 4 creates a visual depth map of trailing stop risk
Trend Equilibrium Line (purple dots) — the dynamic midpoint of the current trend segment's high-low range
▲ ANCHOR BULL / BEAR ▼ ANCHOR label — appears on every trend flip at the Band 4 flip price, marking each structural direction change
▲ Triangle (below bar) — long entry signal at Band 4 retest with confluence confirmed
▼ Triangle (above bar) — short entry signal at Band 4 retest with confluence confirmed
Live confluence label — B x/6 · S x/6 score label near the current Band 4 level on the last bar, updating in real time
Volume profile bars — delta-weighted horizontal bars rendered to the right of the current price, color-matched to trend direction, proportional to bin volume
POC line (purple solid) — the highest-volume level in the current trend segment
VAH line (yellow-green dashed) — Value Area High boundary
VAL line (red dashed) — Value Area Low boundary
HVN lines — horizontal lines at every local volume peak. The dominant HVN (highest volume) receives a bold line and price label
SL Guide (red dotted circles) — stop loss reference level at the configured anchor band
TP Guide (yellow-green dotted circles) — take-profit reference pointing to POC, opposite band extreme, or ATR target
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX ANCHOR — Step by Step
Step 1 — Establish Trend Context
Check the dashboard: what is the Anchor Trend? This is your trading direction — only take longs in ▲ BULLISH, only take shorts in ▼ BEARISH
Check HTF Bias — does the higher timeframe agree? A bull Anchor Trend with bull HTF Bias is the ideal setup condition
Check the Adaptive row — is the system in squeeze mode (0.85x SQZ)? If so, bands are tighter and a Band 4 touch is more likely. Expansion mode (1.15x) means wider bands and deeper pullbacks to reach Band 4
Note the POC and VAH/VAL levels on the dashboard and the chart. These are your key target and support/resistance levels within the current trend
Step 2 — Watch for Band 4 Approach
Monitor the heatmap — as price pulls back from the trend high, it moves progressively through the Band 1, 2, 3 fills. By the time price is deep in the Band 3 fill and approaching the solid Band 4 line, a retest touch is imminent
Check the live confluence label near Band 4. Is the bull score at or near the threshold? If so, a signal may fire on the next bar
Check the PD Zone row — is price in discount for a long entry? A Band 4 touch in discount zone is the optimal entry scenario
Step 3 — Enter on the ANCHOR Triangle
A ▲ triangle confirms the Band 4 touch with qualifying confluence. Enter on the close or next bar open
Note whether an HVN level is near the entry price — an HVN + Band 4 confluence entry is the highest-quality ANCHOR setup
The SL Guide dotted line shows your stop reference. The TP Guide shows the POC, opposite extreme, or ATR target depending on your mode setting
Step 4 — Manage with the Band Structure
As the trade moves in your favor, watch the bands ratchet upward (bull) with price — your trailing stop is automatically rising
The POC line is your primary profit target in POC Target mode. As price approaches the POC, consider scaling out
The VAH level (bull trend) acts as the next resistance after POC — if price clears VAH with momentum, the trade has potential to reach the trendHigh
If price pulls back into the Band 3 or Band 4 zone again without a trend flip, this is a secondary entry opportunity — the same confluence check applies
Step 5 — Trend Flip Exit
A close beyond Band 4 triggers a trend flip — the BEAR ▼ ANCHOR label appears, the bands invert, and the volume profile resets for the new trend segment
Exit the prior trend position on the flip bar or the following open
Wait for the new trend to establish and a Band 4 retest to develop in the new direction before re-entering
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
Trend flips are occurring rapidly — multiple ▲ / ▼ ANCHOR flip labels in quick succession indicate a choppy, oscillating market where the Band 4 trailing stop is being crossed repeatedly. The volume profile will be very short (few bars since last flip) and the POC will be meaningless. Wait for a trend to establish and sustain for at least 10–15 bars before looking for Band 4 retest entries
HTF Bias opposes the anchor trend — a bull ANCHOR trend with bear HTF Bias means the current timeframe is moving against the higher timeframe flow. Band 4 retest entries in this environment carry significantly reduced success rates
ADX ✗ on the dashboard — the market is not trending. ANCHOR is a trend-following system by design — Band 4 touches in ranging markets frequently result in immediate trend flips rather than continuations
HVN Count shows 0 — the volume profile has not yet built enough data to identify volume nodes. This typically occurs immediately after a fresh trend flip. Wait for the trend to develop more bar history before relying on HVN confluence
Adaptive shows 1.15x (expansion) and price is approaching Band 4 rapidly — high-volatility expansion phases can produce fast, aggressive moves to Band 4 and beyond. Reduce position size in expansion mode entries
Price is in premium for a bull entry or discount for a bear entry — the PD Zone filter will block these automatically when enabled, but if disabled, be aware that entries at the wrong side of equilibrium carry structurally poor risk/reward
The ideal ANCHOR setup condition:
Anchor Trend established for 15+ bars — sufficient history for meaningful volume profile
HTF Bias aligned with trend direction
ADX ✓ confirming a trending market
Adaptive at 1.0x or 0.85x (normal or squeeze — not expansion)
Price in discount (bull) or premium (bear)
Band 4 touch coincides with a visible HVN level
Confluence score at 5/6 or 6/6
When all these conditions align simultaneously, an ANCHOR entry is the closest to a textbook institutional continuation setup the system can produce.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
⚓ Four-band liquidity-anchored trailing stop — Band 1 through Band 4, each ATR offset apart, ratcheting in trend direction with a one-directional lock preventing widening on pullbacks
🌊 Adaptive band scaling — automatically tightens during squeeze phases and widens during high-volatility expansion. Scale multiplier displayed live on dashboard
🔥 Trailing stop heatmap — gradient opacity fills between all four bands creating a real-time visual depth map of pullback risk from shallow to deep
📊 Delta-weighted volume profile — anchored to the current trend segment from the last Band 4 flip, using directional volume weighting for institutional accuracy
📍 POC detection — highest-volume level in the current trend segment plotted live and available as a TP target mode
📐 Value Area High/Low — 70% volume concentration zone for the current trend segment, plotted as dynamic support/resistance levels
🔮 HVN detection — algorithmic local volume peak identification across all profile bins. Lines extend from the trend origin through the profile
⚖ Trend equilibrium — dynamic PD zone midpoint anchored to the current trend segment high and low, updating in real time as the segment expands
📡 HTF bias filter — dual-EMA + price confirmation from a configurable higher timeframe, stricter condition than standard EMA crossover
🧠 6-layer confluence gate — Anchor Trend, HTF Bias, ADX, Volume Delta, PD Zone, and HVN Confluence all scored independently on every bar
📊 Live confluence label on chart — B x/6 · S x/6 displayed near Band 4 in real time without requiring dashboard attention
🎯 Three TP target modes — POC Target (institutional magnet), Opposite Band (maximum trend extension), or ATR Multiple (fixed distance)
⚙ Configurable SL anchor band — choose Band 1 through Band 4 for stop placement based on your risk preference and trading style
🏷 Trend flip labels — ▲ ANCHOR BULL and BEAR ▼ ANCHOR labels mark every structural trend change on the chart
📊 18-row live dashboard — Trend, Filters, Volume, and Confluence sections updated in real time
🔔 6 alert conditions — bull/bear trend flips, long/short entries, and HVN + anchor confluence touches
🎨 Fully cohesive dual-tone color system — yellow-green for all bullish elements, red for all bearish, orange for squeeze, purple for VWAP/equilibrium/POC
⚙ Fully configurable — ATR length, base multiplier, adaptive scaling range, volume profile rows and width, value area percentage, HTF timeframe and EMA periods, ADX threshold, PD zone requirement, TP mode, SL band, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Anchor Trail Engine
ATR Length — lookback for the ATR calculation used in all band offsets (default: 14)
Source — price source for trailing stop calculations (default: close)
Band Offset (Base) — ATR multiplier for Band 1, the innermost band. Bands 2–4 add +1, +2, +3 automatically (default: 6.5)
Adaptive Band Scaling — toggles the volatility-adaptive multiplier adjustment
Adaptive Min Scale — multiplier floor applied during squeeze conditions (default: 0.85)
Adaptive Max Scale — multiplier ceiling applied during high-volatility expansion (default: 1.15)
Volume Profile
Show Volume Profile — toggle the rendered profile bars to the right of price
Profile Rows — number of price bins in the volume profile (default: 30)
Profile Width (Bars) — maximum horizontal width of the profile in bars (default: 40)
Delta-Weighted Volume — when on, weights each bar's contribution by directional candle bias
Show HVN Levels — toggle horizontal High Volume Node lines
HVN Line Style — Dotted / Solid / Dashed
HVN Line Width — thickness of HVN lines (default: 1)
Show Value Area (POC/VAH/VAL) — toggle POC, VAH, and VAL line plots
Value Area % — percentage of total volume used to define the value area boundaries (default: 70%)
Show Trend Equilibrium — toggle the dynamic segment midpoint line
Confluence & Entries
HTF Trend Filter — toggle the higher timeframe EMA bias requirement
HTF Timeframe — the higher timeframe for EMA calculations (default: 60-minute)
HTF Fast / Slow EMA — EMA periods on the higher timeframe (defaults: 21 / 55)
ADX Trend Filter — toggle the ADX minimum requirement
ADX Length — ADX calculation lookback (default: 14)
ADX Minimum — threshold below which signals are suppressed (default: 18)
Volume Delta Filter — toggle the volume delta directional requirement
Volume MA Length — EMA smoothing length for volume delta calculation (default: 14)
Require PD Zone — when on, longs require discount positioning, shorts require premium
Session Filter — toggle active hours restriction (default: off — ANCHOR is designed for all-session use on most instruments)
Active Session — configurable session window
Min Layers (of 6) — minimum confluence score to fire a signal (default: 4)
Signal Cooldown — minimum bars between consecutive signals (default: 8)
Show Entry Signals — toggle signal triangles on or off
Show Confluence Label — toggle the live B/S score label near Band 4
Exit Guidance
Show SL / TP Guides — toggle the guide level dotted circle plots
SL Anchor Band — which of the four bands to use as the stop loss reference (default: Band 4)
TP Target Mode — POC Target / Opposite Band / ATR Multiple
TP ATR Mult — ATR distance for the ATR Multiple TP mode (default: 2.5)
Display
Trailing Stop Heatmap — toggle the gradient opacity fills between bands
Trend Flip Labels — toggle the ▲ ANCHOR BULL / BEAR ▼ ANCHOR labels
Show Dashboard — toggle the full dashboard panel
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for all bullish bands, fills, and labels
Bear / Bear Bright — red family for all bearish elements
Squeeze — orange for squeeze state indicators
Equilibrium — purple for the trend equilibrium line
POC Line — purple for the Point of Control
VAH / VAL Lines — yellow-green and red for value area boundaries
SL Guide / TP Guide — stop and target guide line colors
Bull / Bear Label Text — text color for confluence and flip labels
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (6 total)
Trend Alerts
Anchor Bull Flip — trend has anchored bullish. Band 4 closed above, all bands reset upward. Watch outer band for pullback entry development
Anchor Bear Flip — trend has anchored bearish. Band 4 closed below, all bands reset downward
Entry Alerts
Anchor Long Entry — Band 4 touched from above with confluence confirmed. Long signal fired
Anchor Short Entry — Band 4 touched from below with confluence confirmed. Short signal fired
HVN Confluence Alerts
HVN + Anchor Long Touch — price is touching the anchor band at or near a High Volume Node support zone. Pre-signal awareness alert
HVN + Anchor Short Touch — price is touching the anchor band at or near a High Volume Node resistance zone
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, crypto, and indices on M5–H1 . ANCHOR is uniquely versatile — the volume profile adapts to any trend length and the adaptive scaling handles any volatility regime:
Band Offset at 6.5× — wide enough to avoid noise exits on intraday timeframes while keeping the trail structurally relevant
HTF at 60-minute — provides meaningful context for M5–M15 intraday trading
Delta-Weighted Volume on — directional weighting produces the most institutionally relevant profile on all liquid instruments
Value Area at 70% — the standard institutional value area definition used by professional volume profile traders
Session filter off by default — ANCHOR is designed for continuous multi-session trading on most instruments
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce Band Offset to 4.5–5.5, reduce ATR Length to 10, increase Profile Rows to 20 for faster profile builds
H4 / Daily swing trading — increase Band Offset to 8.0–10.0, set HTF to Weekly, reduce Profile Rows to 15–20 for cleaner node identification, increase TP ATR Mult to 4.0–5.0
Crypto (BTC, ETH) — increase Adaptive Max Scale to 1.25 to accommodate wider expansion swings, increase Band Offset to 7.5–8.5
Low-volatility forex pairs — reduce Band Offset to 5.5–6.0, reduce Adaptive Min Scale to 0.80 for tighter squeeze-phase bands
Tighter signal quality — raise Min Layers to 5/6, enable PD Zone requirement, raise ADX minimum to 22
More frequent signals — lower Min Layers to 3, disable HTF filter, disable PD Zone requirement
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
📈 Trend followers and swing traders — the four-band trailing stop with heatmap visualization is built specifically for riding extended directional moves with structural confidence, not second-guessing every pullback
📊 Volume profile traders — the delta-weighted, trend-anchored profile provides the most contextually relevant volume analysis available for any given trend segment
🥇 Gold (XAUUSD) and forex traders — default settings are tuned for these instruments. The adaptive band scaling handles XAUUSD's distinctive alternation between low-volatility coiling and high-velocity expansion
🎯 Pullback entry traders — ANCHOR is specifically designed to fire at the outer structural boundary of the trend (Band 4) rather than on breakouts or initial moves. Every entry is a pullback-to-structure trade at the institutional trailing stop level
📡 Multi-timeframe traders — the HTF bias filter and trend equilibrium system create a natural multi-timeframe framework within a single indicator
🧠 Traders who want volume context with every entry — the live POC, VAH/VAL, and HVN levels provide immediate institutional volume context for every trade without requiring a separate volume profile tool
🔥 Visual traders — the heatmap, gradient fills, trend flip labels, and volume profile create one of the richest single-indicator chart environments in the AlphaX suite. Everything needed for a complete trend trade is visible on the chart simultaneously
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Band positions and trend state finalize on confirmed bars only
The volume profile is recomputed on every bar using the full trend segment history. On very long trend segments (hundreds of bars), this computation is resource-intensive. The max_bars_back is set to 5000 to accommodate extended trend segments. If you notice performance degradation on very low timeframes with long chart history, reduce Profile Rows or reduce the chart's visible bar count
The volume profile is rendered only on the last bar and redrawn on every real-time update. Historical bars show the band structure but not the profile rendering — the profile always reflects the current trend segment state
When a trend flip occurs, the volume profile resets completely. The first few bars after a flip will show a very short profile with minimal data — meaningful HVN confluence typically requires 15–20+ bars of trend history to develop
The adaptive scale is based on ATR percentrank over 100 bars. On instruments or timeframes with less than 100 bars of history, the percentrank may not be fully calibrated. This is a warm-up effect and resolves naturally as history accumulates
The session filter is off by default because ANCHOR is designed as a multi-session trend system. Unlike scalping systems that are most effective during active hours, ANCHOR band retests can occur at any time during a developing trend. Enable the session filter only if you specifically want to restrict entries to active trading hours on your instrument
The Trade Status section tracks position direction from signal to exit within the chart session — it does not connect to your broker or brokerage account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that the most powerful entries are not at the breakout — they are at the moment price returns to the structural anchor where institutions are waiting. Indicator

Guppy MMA Mean Reversion SignalsThe Guppy MMA Mean Reversion System is a trend-following mean reversion tool designed to identify high-probability pullbacks within established trends. By combining the classic Guppy Multiple Moving Average (GMMA) with volatility, volume, and momentum filters, this script aims to reduce the "noise" often found in standard moving average cross strategies.
The Concept: Why this Works
Standard GMMA indicators are excellent for visualizing trend strength but often lack precise entry triggers or filters to avoid entering during periods of low volume or extreme exhaustion. This script addresses these limitations by integrating four distinct analytical components:
- GMMA Ribbons (Trend & Reversion Zones) : We use two groups of EMAs (Short-term and Long-term). The Long-term group defines the "institutional" trend. Our entry logic looks for price to revert from the short-term trend back into the long-term trend zone—a classic sign of a healthy pullback.
- CVD Confluence (Volume Confirmation) : Using Cumulative Volume Delta (CVD) based on candle-body delta approximations, the script ensures that volume flow supports the entry direction. This prevents entering pullbacks that lack the necessary buying/selling pressure to resume the trend.
- ATR Volatility Filter (Statistical Spacing) : To avoid "choppy" entries, this filter requires the price to be at a statistically significant distance from the EMA based on market volatility (ATR). This ensures you are entering at a true "discount" rather than in a sideways market.
- RSI Exhaustion Filter (Momentum Safety) : We utilize RSI to ensure that a reversion hasn't reached an overextended state. For example, it prevents buying a pullback if the RSI indicates the asset is already in an overbought exhaustion phase.
How to Use
- Long Entries (Green Circles) : Triggers when the Long-term ribbon is bullish, and price pulls back to touch the Long-term EMA group, provided the CVD, ATR, and RSI conditions are met.
- Short Entries (Red Circles) : Triggers when the Long-term ribbon is bearish, and price rallies to touch the Long-term EMA group, filtered by volume and momentum.
- Exits (Labels) : Exit signals appear when price successfully reverts back to the "fast" Short-term group, marking the completion of the mean reversion move.
Key Features & Customization
- Independent Toggles : You can independently turn on/off buy signals, sell signals, and their respective exits to suit your specific trading style (e.g., only trading the long side).
- Signal Cooldown : Includes a customizable "bar count" cooldown to prevent multiple overlapping signals during high-volatility periods.
- Comprehensive Settings : Fully adjustable EMA lengths, ATR multipliers, and RSI thresholds to adapt the system to different timeframes and asset classes (Crypto, Forex, Stocks).
Settings Guide
- Use ATR Filter : Increase the multiplier for more conservative, wider entries.
- Use CVD Filter : Enable to ensure volume delta is trending with your entry.
- Use RSI Filter : Helps avoid "catching falling knives" by filtering out trades during extreme momentum spikes. Indicator

MTF Volume Delta Bar Synchrony | Rainbow MatrixGENERAL OVERVIEW
MTF Volume Delta Bar Synchrony is a multi-timeframe volume percentile fusion oscillator that condenses five independent volume readings — one per Fibonacci-spaced timeframe — into a single weighted Master Line, surrounded by per-TF "ghost lines" that fade visually as they diverge from the consensus. When the five timeframes align, the rainbow becomes a solid band; when they spread apart, the disagreement becomes a visible density property of the indicator itself. A compact 7×9 MTF Legend Table surfaces every dimension simultaneously: per-TF volume percentile values, trend direction, divergence flags, Pulse magnitude ratio, and named State classification — with an antenna marker flagging the row whose timeframe matches your chart's native resolution.
Optional Delta Twin Bars project per-candle directional overlays directly onto the price chart via force_overlay=true, combining the oscillator pane and an order-flow approximation in a single indicator. A hybrid Black Swan zone detects volume climax (surge) and squeeze (drought) extremes — either as static 80/20 thresholds (classic) or as a dynamic Fibonacci-scaled channel that adapts to recent volatility. A classic price↔volume divergence engine detects Wyckoff-style "no demand" rallies and selling-climax bottoms on every timeframe and on the Master line.
Designed as a sibling to the MTF RSI Synchrony indicator. Apply both side-by-side for the complete momentum + volume picture: RSI shows where price sits in its momentum range; Volume Synchrony shows whether the move has institutional backing. Same visual signature, same canonical color zones, same Legend Table layout — instant cross-indicator readability.
WHAT IS THE THEORY BEHIND THIS INDICATOR
Most volume indicators on PulseWire operate on a single timeframe — volume bars, OBV, CVD approximations — and report raw, unbounded volume values that vary wildly across timescales. A 5-minute volume bar of 50,000 contracts is meaningless without context: is that "high" for 5-minute bars on this asset, or "low"? Compared to what window? A trader watching a 5-minute chart cannot intuitively cross-reference whether that surge corresponds to anything notable on the 4-hour view.
This indicator solves the cross-timescale comparison problem by bounding every volume reading to a 0-100 percentile rank: the same scale, regardless of timeframe, regardless of asset. The percentile answers a single question: "where does this bar's volume sit in the distribution of recent volume on this timeframe?" — a number anyone can read at a glance.
Five percentile readings are then fused via canonical Fibonacci weights (0.15 / 0.20 / 0.25 / 0.25 / 0.15 — peak weight on the macro TF3/TF4 where institutional consolidation tends to occur) into a single weighted Master Line. The Master adapts to a self-calibrating Fibonacci channel built from its own highest/lowest values over a configurable lookback, smoothed by EMA. Channel boundaries use the brand's canonical ratios: Z-Breathing (1.50σ), Z-Alert (1.85σ anchor), Z-Exhaustion (2.75σ), Black Swan (3.85σ) — same proportions as the RSI sibling for cross-indicator consistency.
The result is a volume picture that updates in real time, accounts for five timescales simultaneously, encodes "synchrony" itself as a visible rainbow density property, and triggers as an alertable signal when extremes converge.
FEATURES
🔹 Multi-Timeframe Volume Percentile Fusion Engine
🔹 Adaptive Fibonacci Channel (Z-Breathing → Z-Alert → Z-Exhaustion → Black Swan)
🔹 Hybrid Black Swan Zones (static 80/20 or dynamic Fibonacci-scaled)
🔹 Classic Price↔Volume Divergence Detection (per-TF + Master)
🔹 MTF Legend Table (7 columns × 9 rows, multilingual)
🔹 Volume Profile Reading (Pulse magnitude + State classification — 7-tier vocabulary)
🔹 Delta Twin Bars (per-candle chart overlay with 4 display modes + live intra-bar updates)
🔹 Multilingual Interface (EN / PT / ES / RU / ZH)
🔹 Multi-Timeframe Volume Percentile Fusion Engine
What It Does
Aggregates five independent volume percentile readings — one per Fibonacci-spaced timeframe — into a single weighted Master Line. Each per-TF reading is plotted as a "ghost" line that fades by distance to the Master, so the rainbow becomes a visual representation of multi-timeframe consensus.
Method
Default timeframes are 5 / 15 / 60 / 240 / D (Trigger / Intraday / Macro 1 / Macro 2 / Base). On each timeframe, ta.percentrank(volume, length) produces a 0-100 percentile rank with lookahead=barmerge.lookahead_off for anti-repaint integrity. The five percentiles are fused via canonical Fibonacci weights (0.15 / 0.20 / 0.25 / 0.25 / 0.15 — peak weight on TF3 and TF4 where institutional volume tends to consolidate). The Master itself is then clamped to for pane containment.
Per-TF length defaults are tuned to each timeframe's natural look-back window:
◇ TF1 (5m): 30 bars = 2.5 hours
◇ TF2 (15m): 50 bars = 12.5 hours
◇ TF3 (60m): 80 bars = 3.3 days
◇ TF4 (240m): 100 bars = 16 days
◇ TF5 (D): 150 bars = ~5 months
Set any per-TF override to 0 to inherit the global default (50). One-size-fits-all 50 bars across timeframes either lags on TF1 (16 hours of stale 5-minute history) or feels too reactive on TF5; the per-TF defaults match each horizon's natural cadence.
Why It Matters
Volume distribution is regime-dependent and timeframe-dependent. A single timeframe view can miss whether a 5-minute volume surge is the leading edge of a broader institutional move (visible on TF3/TF4) or a one-off scalper spike. The fusion engine surfaces alignment and disagreement instantly.
🔹 Adaptive Fibonacci Channel
What It Does
Renders six color-coded bands around the Master Line that adapt to its own recent volatility, using the brand's canonical Fibonacci ratios.
Method
Highest/lowest of the Master over lookback_dyn bars (default 50) are smoothed by EMA (default 10) to form dyn_up and dyn_dn. Channel bands are placed at canonical Fibonacci proportions:
◇ Z-Breathing: 1.50/1.85 ≈ 0.811 of half-channel
◇ Z-Alert: anchor at 1.85σ (the channel boundary itself)
◇ Z-Exhaustion: 2.75/1.85 ≈ 1.486
◇ Black Swan: 3.85/1.85 ≈ 2.081
All six band values are mathematically clamped to before rendering, so the rainbow stays inside the visible pane in volatile regimes (no auto-scale stretching). The algorithm itself is preserved bit-exact; only the rendered values are bounded.
Why It Matters
Static thresholds (e.g., 80/20) cannot adapt to regime changes. During a low-volatility consolidation, "70" might be a meaningful surge; during a news-driven trend, "70" might be the new baseline. The Fibonacci channel calibrates the warning levels to the asset's current regime, so the alerts stay informative regardless of market state.
🔹 Hybrid Black Swan Zones
What It Does
Flags volume climax (surge) and squeeze (drought) extremes either at static 80/20 thresholds (top 20% / bottom 20% historically) or at the dynamic Fibonacci 3.85σ band, depending on the operator's preference. Each zone is rendered as a glow line that brightens proportionally as the Master approaches.
Method
By default, Dynamic Black Swan Mode is ON for this indicator (matching the volume distribution's wider range vs canonical RSI). The Black Swan high/low values become osc_up4 / osc_dn4 — the Fibonacci 3.85σ proportion of the Master's channel. Toggle the mode OFF to revert to static 80/20 (top/bottom 20% volume thresholds — classic).
The proximity glow uses the canonical f_calc_glow pattern: transparency = 95 - (1 - dist/range) × 75, where range is the half-channel width. At zero distance, transparency = 20 (solid); at full range distance, transparency = 95 (invisible).
Why It Matters
Black Swan events on volume mark institutional climax moments — news breakouts, capitulation, distribution. The dynamic mode lets the indicator self-calibrate per asset and per regime, so a "climax" on a calm Forex pair and a "climax" on a meme stock both trigger at the appropriate statistical extremes rather than at an arbitrary 80% line.
🔹 Classic Price↔Volume Divergence Detection
What It Does
Detects regular bear divergences (price makes higher high while volume percentile pivot makes lower high — Wyckoff "no demand" rally) and regular bull divergences (price makes lower low while volume percentile pivot makes higher low — selling climax / capitulation). Runs on every individual timeframe AND on the Master line directly.
Method
For each TF, f_classic_divergence_vol(length, lookback) runs inside request.security: it detects pivot highs/lows on the per-TF volume percentile via ta.pivothigh / ta.pivotlow, captures pivot values using ta.valuewhen, and compares the current pivot vs the previous pivot. Default pivot lookback is 5 bars (matches the community standard).
Master divergence runs on the chart-TF directly (no request.security), so it always reflects the current chart resolution's pivot structure. When detected, it renders a connecting line + label between the two pivots on the indicator pane (red for bear, green for bull) and triggers the alert_divergence_native alert if enabled.
Per-TF divergence surfaces in the Legend Table's "Div" column: 🔻 for bear, 🔺 for bull, — for none. Multiple timeframes showing the same divergence direction = stronger conviction signal.
Why It Matters
Divergences between price and volume have been a cornerstone of Wyckoff/Volume Spread Analysis for decades. Most PulseWire divergence indicators run on a single timeframe — by detecting per-TF AND Master simultaneously, this indicator surfaces both fast warnings (TF1 divergence) and high-conviction confirmations (Master + multiple TFs aligning).
🔹 MTF Legend Table
What It Does
Compact 7×9 table positioned in a configurable chart corner. Surfaces every dimension of the analysis at a single glance: per-TF resolutions, volume percentile values, trend direction, divergence status, Pulse magnitude, named State classification, plus a Master row and a status row.
Method
The table is rendered via table.new(force_overlay=false) on the indicator pane (kept off the price chart for mobile readability). Per-TF cells use:
◇ Col 0: ● TF label (matches ghost line color) + 📡 antenna marker if this TF == chart's native resolution
◇ Col 1: TF resolution string ("5", "15", "60", "240", "D"...)
◇ Col 2: Volume percentile value (color-coded by zone via the thermal matrix)
◇ Col 3: Trend arrow ▲ rising / ▼ falling / ▬ flat (±0.5 percentile point deadzone to avoid flicker)
◇ Col 4: Div indicator 🔺 bull / 🔻 bear / — none
◇ Col 5: Pulse magnitude ratio (color-coded by intensity tier)
◇ Col 6: State name (multilingual EXTREME / HIGH / ELEVATED / NORMAL / LOW / COMPRESSED / SQUEEZE)
The Master row (row 7) merges cols 0-1 into "🌈 Master (~XhYm)" — the "~XhYm" suffix is the geometric weighted mean of the 5 TF resolutions (same weights as the Master volume fusion), giving you the "effective timeframe" the Master is reading. The status row (row 8) merges cols 0-6 and shows the MTF Divergence summary: Aligned / Strong Top / Strong Bottom / Moderate Top / Moderate Bottom — with background color matching the severity.
All header strings, status messages, and state names support 5 languages via the System Language input (English / Português / Español / Русский / 中文).
Why It Matters
The Legend Table compresses what would otherwise require 5 separate chart panels into a single ~150-pixel-wide compact widget. The antenna marker is especially useful on mobile: it tells you instantly which row is "your" timeframe, so you can scan up/down to see whether faster/slower TFs confirm or contradict.
🔹 Volume Profile Reading — Pulse Magnitude + State Classification
What It Does
Two complementary readings that answer different questions about volume — both surfaced as dedicated columns in the Legend Table.
Method — Pulse Column
Pulse is the ratio volume / SMA(volume, length) per TF. 1.0× = volume at the baseline; below = drought; above = elevated. Color-coded by intensity tier:
◇ < 0.5× → aqua (drought extreme)
◇ 0.5-0.8× → teal (below baseline)
◇ 0.8-1.3× → gray (typical)
◇ 1.3-2.0× → yellow (elevated)
◇ 2.0-3.5× → orange (high activity)
◇ 3.5-6.0× → red (surge)
◇ ≥ 6.0× → purple (climax extreme)
Pulse values cap display at "9.9x+" to avoid overflow in narrow cells.
Method — State Column
State classifies the percentile rank into 7 named tiers using a multilingual dictionary:
◇ ≥ 85 → EXTREME (purple zone — top 15% historically)
◇ 71-85 → HIGH (red — top 30%)
◇ 62-71 → ELEVATED (orange)
◇ 38-62 → NORMAL (yellow / green — middle 24%)
◇ 29-38 → LOW (teal)
◇ 15-29 → COMPRESSED (blue)
◇ ≤ 15 → SQUEEZE (aqua — bottom 15%)
Why It Matters
Pulse and State answer different questions about the same volume reading:
◇ Value (percentile column 2): "Where in the historical distribution?" — a ranking answer.
◇ Pulse (column 5): "How intense vs recent baseline?" — a magnitude answer.
◇ State (column 6): "What's the human-readable label?" — a vocabulary answer.
These three columns together tell a complete story. A bar can be at Percentile 60 (NORMAL state) with Pulse = 3.5x (red surge) — meaning: "this bar's volume isn't historically rare, but it's a massive jump versus what's been happening recently." That's a different signal than Percentile 95 / Pulse = 1.0x (EXTREME state but typical magnitude) — meaning: "this is a rare historical bar, but the magnitude is normal relative to recent activity." The columns disambiguate.
🔹 Delta Twin Bars (Chart Overlay)
What It Does
Renders per-candle directional bars on the price chart (via force_overlay=true) whose dimensions encode the selected volume score and whose color encodes buy/sell pressure approximation. Bridges the gap between this script's oscillator pane and the price action itself.
Method
For each candle, the bar size = candle_range × (score / 100) × user_multiplier. The score source is configurable (Master or any TF1-TF5; default TF1 Trigger for the most responsive read).
Four display modes:
◇ Fixed High: bar always projects above the candle high (regardless of direction)
◇ Fixed Low: bar always projects below the candle low
◇ Dynamic: buy candles get bar above high, sell candles get bar below low (intuitive directional reading)
◇ Dynamic Inverted (default): buy candles get bar BELOW low, sell candles get bar ABOVE high — an order book metaphor where buy pressure builds support and sell pressure presses resistance
Bar color follows the user-configured buy/sell colors (green / red by default — matching the OHLC tick rule: close > open = buy bias, close < open = sell bias). An optional toggle ("Use Master Line Color") overrides this with the Master zone color via the thermal matrix — giving rainbow-colored bars that match the pane oscillator.
Bar width is pixel-controlled (1-8, default 8) via line.new with the user-selected linewidth — visually independent of chart zoom, distinguishable from candle wicks at any chart density.
Two update modes:
◇ Live (default): the current bar's twin bar updates on every tick — score, direction, and color reflect real-time data. When the bar closes, the live line is "frozen" into the confirmed pool. One additional persistent line is used (zero pool overhead).
◇ Confirmed-only: twin bar appears only when the candle closes (useful for backtesting comparisons where intra-bar flicker is unwanted).
The last 500 bars are rendered (Pine v6 line pool limit) with rolling FIFO management — older candles fall out of the pool and lose their twin bar, but the most recent 500 stay live.
🚨 Honest tick-rule disclosure
The buy/sell direction encoding uses the OHLC tick rule — close > open = buy bias, close < open = sell bias. This is NOT order-flow tick-data delta. Pine Script v6 has no tick-by-tick data access in indicator scripts on the free tier. The OHLC approximation is what virtually every "delta" indicator on PulseWire free uses; this script discloses it transparently rather than claiming real order flow.
For most use cases (visual confirmation, trend bias, magnitude readings) the OHLC approximation captures the essential information. Traders who need true bid/ask delta should look at paid Order Flow tools or Sierra Chart / Bookmap.
Why It Matters
The Delta Twin Bars combine two analytical layers in a single indicator: the oscillator pane (Master fusion + ghost lines + Legend Table) and the chart overlay (per-candle directional reference). Most PulseWire indicators force users to choose between oscillator-only or overlay-only paradigms; this script delivers both via force_overlay=true on selectively-rendered lines, preserving full pane functionality while adding a quick visual reference directly on the price candles.
🔹 Multilingual Interface
What It Does
Translates all HUD labels, status messages, alert text, state classifications, and Legend Table headers to 5 languages: English (default), Português, Español, Русский, 中文 (Chinese). 33 multilingual keys are maintained across all 5 languages.
Method
A single language dropdown input (in the GLOBAL SETTINGS group) selects the active language. The script uses Pine v6's _l == "PT" ? ... : _l == "ES" ? ... ternary chain pattern for each translated string, evaluated once at startup. Configuration tooltips, variable names, and code comments remain in English by convention — this script is designed to be readable to developers globally.
Why It Matters
Trading is a global activity. The Rainbow Matrix product family is designed for traders worldwide; multilingual UI removes a friction point for non-English-native users without adding development overhead.
HOW TO USE
Reading the Rainbow (Pane Oscillator)
◇ Master between 30 and 70 with all 5 ghost lines solid: typical volume profile, no anomaly to flag.
◇ Master entering Z-Alert (orange / teal bands): notable volume deviation — watch for follow-through confirmation across timeframes.
◇ Master in Z-Exhaustion (red high / blue low): elevated probability of climax or drought completing.
◇ Master touches Black Swan High (purple glow): volume climax event — statistically rare top-of-distribution moment, often coincides with news catalysts, breakouts, or capitulation.
◇ Master touches Black Swan Low (aqua glow): volume drought / squeeze — extreme compression, often precedes breakouts when paired with price consolidation.
Reading the Legend Table
The antenna marker (📡) flags your chart's native timeframe. Start your read there, then scan up/down the table to see whether faster/slower TFs confirm or contradict the current volume bias. Look at the relationship between Value (where in distribution), Pulse (how intense vs baseline), and State (named tier) for each row — divergences between these three readings within a single TF are early warnings.
The status row at the bottom summarizes MTF divergence: Aligned (TFs in agreement, default), Strong Top (TF1 ≥ 70 vs TF5 ≤ 30 — fast surge with slow drought), Strong Bottom (TF1 ≤ 30 vs TF5 ≥ 70 — fast quiet with slow surge), or Moderate variants of either.
Reading the Delta Twin Bars (Chart Overlay)
Tall bars = high volume score for that candle's TF source. With Dynamic Inverted mode (default), bars projecting BELOW buy candles signal "support building"; bars projecting ABOVE sell candles signal "resistance pressing" — an order book metaphor. Switch to Dynamic mode for a more intuitive directional read (buy bars project up, sell bars hang down). Use Fixed High/Low for cleaner price action when delta-only context is needed.
Reading Divergences
Master divergence (red line + 🔻 label on the pane) = price made a higher high while Master volume percentile made a lower high — Wyckoff "no demand" rally, often precedes reversal. Master bull divergence (green + 🔺) = price made a lower low while Master volume made a higher low — selling climax, often precedes bottom.
Per-TF divergences in the Legend Table's Div column give early granular warning: a TF1 divergence might fire 5-10 candles before the Master confirms. Multiple TFs aligning on the same divergence direction = high-conviction signal.
Tactical Combinations
◇ Master Black Swan High + Strong Top divergence + Bear Master divergence simultaneously = strongest reversal signal from highs.
◇ Master Black Swan Low + Strong Bottom divergence + Bull Master divergence = strongest reversal signal from lows.
◇ Master SQUEEZE state + multiple TFs SQUEEZE state + Pulse < 0.5x = pre-breakout compression — often precedes expansion events.
◇ Pulse spikes (red / purple tier) preceding percentile shifts = often mark turning points before the percentile catches up.
◇ Pair with MTF RSI Synchrony: Aligned RSI + Aligned Volume = high-conviction setup. Bear RSI div + Bear Volume div on Master simultaneously = strongest reversal signal.
INPUTS EXPLAINED
GLOBAL SETTINGS
◇ System Language (EN / PT / ES / RU / ZH) — affects HUD and alerts only; code stays in English.
◇ Table / Labels Font Size — Tiny / Small (default) / Normal / Large.
MULTI-TIMEFRAME
◇ AI Auto-Sync TFs — when ON, auto-adjusts the 5 TFs based on chart resolution.
◇ TF1-TF5 — manual TF override (defaults: 5/15/60/240/D).
◇ Default Volume Percentile Length — global default (default 50).
◇ TF1-TF5 Length Overrides — per-TF overrides; defaults 30/50/80/100/150; set to 0 to inherit global.
ENGINE
◇ Dynamic Black Swan Mode — ON by default (Fibonacci 3.85σ adaptive). OFF = static 80/20.
◇ Dynamic Channel Lookback (default 50) and Smoothing (default 10).
◇ Divergence Pivot Lookback — default 5 (community standard).
VISUALIZATION
◇ TF1-TF5 Color + Show toggles — TF1 and TF5 visible by default; TF2/3/4 hidden (opt-in).
◇ Ghost Fade Sensitivity — default 3.5 (lines invisible at ~20 percentile points from Master).
◇ Show Master Line / Show Rainbow Fills / Show Black Swan / Show Dynamic Channel — all default ON.
◇ Show MTF Legend Table — default ON.
◇ Show Divergence Column / Pulse Column — both default ON.
◇ Show Master Divergence Chart Line — default ON.
◇ Legend Table Position — Top/Bottom × Left/Right (default Bottom Right).
◇ Show Divergence Event Markers — default OFF (reduces clutter; toggle ON to display triangles).
◇ Show Static Reference Lines — default OFF (cleaner pane on install; toggle ON for 20 / 50 / 80 guides).
ALERTS
◇ Alert on Black Swan crossings (high / low) — default ON.
◇ Alert on Strong MTF Divergence — default ON.
◇ Alert on Z-Exhaustion zone entries — default OFF (opt-in).
◇ Alert on Master Classic Divergence — default ON.
DELTA TWIN BARS
◇ Show Delta Twin Bars — default ON.
◇ Score Source — Master / TF1 (default) / TF2 / TF3 / TF4 / TF5.
◇ Display Mode — Fixed High / Fixed Low / Dynamic / Dynamic Inverted (default).
◇ Buy / Sell Colors + Transparency + Size Multiplier — fully customizable.
◇ Use Master Line Color (override) — default OFF; toggle ON for rainbow-colored bars.
◇ Bar Width (pixels) — 1-8, default 8 (bold, high-visibility).
◇ Lookback (bars) — default 500 (Pine v6 pool maximum).
◇ Live Bar (intra-bar update) — default ON; toggle OFF for confirmed-only rendering.
IMPORTANT NOTES
🔸 Pine Script v6 — uses request.security with lookahead=barmerge.lookahead_off for anti-repaint integrity. The 5 per-TF volume fetches + 5 per-TF Pulse fetches + 5 per-TF divergence fetches + 6 other security calls = 21 total request.security calls; within PulseWire's free-tier limits but noteworthy if combining with other heavy multi-TF indicators on the same chart.
🔸 Repaint behavior — historical bars use confirmed close data; the current real-time bar updates as ticks arrive (especially with Live Delta Bars enabled). The pivot-based divergence detection requires div_lookback confirmed bars before triggering — so divergence labels appear on the pivot bar in retrospect, not as live signals. This is standard pivot divergence behavior across all PulseWire divergence indicators.
🔸 Tick rule approximation — Delta Twin Bars use the OHLC tick rule (close > open = buy bias) as a direction encoder. This is NOT real order-flow tick data. Pine Script v6 has no tick data access in indicator scripts. Same approximation is used by virtually every "delta" indicator on the PulseWire free tier; this script discloses it transparently. For real bid/ask delta, use paid order flow tools.
🔸 Pine v6 line pool limit — Delta Twin Bars are bounded to 500 lines (Pine v6 hard limit). Older candles fall out of the rolling FIFO and lose their twin bar — this is a Pine engine constraint, not a bug. The current bar's live line uses ONE persistent slot reused across bars (no additional pool consumption).
🔸 Fibonacci ratios are canonical — the channel proportions (1.50 / 1.85 / 2.75 / 3.85) match the Rainbow Matrix brand standard across all sibling indicators. They are derived from the brand's design system and are not user-configurable — preserving cross-indicator visual consistency.
🔸 Master effective TF — the "~XhYm" label in the Master row is the geometric weighted mean of the 5 TF resolutions (same weights as the Master fusion: 0.15/0.20/0.25/0.25/0.15). With defaults 5/15/60/240/D, the effective TF is approximately 71 minutes (~1h11m). This tells you the "average horizon" the Master is reading.
🔸 License: MPL 2.0 (Mozilla Public License 2.0) — open source. Free to fork, modify, and republish under the same license terms.
UNIQUENESS
Three pillars differentiate this from the dozens of volume indicators already on PulseWire:
1. Multi-timeframe percentile fusion with synchrony as a visual property. Most volume tools operate on a single timeframe with raw unbounded readings. This indicator bounds every reading to a 0-100 percentile scale, fuses five timeframes via Fibonacci-proportioned weights, and expresses synchrony itself as a "rainbow density" — solid when aligned, spread-out when diverging. The disagreement between fast and slow timeframes becomes immediately readable.
2. Three complementary volume readings in one Legend Table. Value (percentile rank), Pulse (magnitude ratio), and State (named tier) answer three different questions about the same volume reading. Most indicators give you one number; this one disambiguates "rare historical event" from "extreme recent magnitude" from "elevated relative position." The combination catches signals that single-metric views miss.
3. Combined oscillator + chart overlay in a single script. Delta Twin Bars project the per-candle volume score and tick-rule direction directly onto the price chart via force_overlay=true, while the full pane oscillator (Master fusion, ghost lines, Legend Table, divergence engine, dynamic channel) continues to operate independently. Most PulseWire indicators force you to choose between oscillator-only or overlay-only paradigms; this script gives you both, with honest disclosure about the OHLC tick rule approximation.
Rainbow Matrix AI | Multi-timeframe institutional analysis tools for traders.
🌐 rainbowmatrix.ai
✉️ Contact: [email protected] Indicator

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

Indicator

Institutional Order Flow Signals [PMT]Institutional Order Flow Signals applies a Gaussian Naive Bayes classifier — trained entirely within Pine Script® v6 — to cumulative volume delta divergence in order to surface, in real time, three mutually exclusive market regime states: bullish re-alignment, bearish re-alignment, and order flow divergence.
The core question this indicator addresses is distinct from threshold-crossover approaches: given the current statistical pattern of delta momentum, price/CVD divergence, and delta slope, what is the posterior probability that the market is entering — or exiting — a directional institutional order flow regime?
――――――――――――――――――――――――――――――――――――――
🔷 WHAT IT MEASURES
🔸 Cumulative Volume Delta (CVD)
CVD is the running sum of intrabar net order flow — buy volume minus sell volume — estimated via the close-position formula: bull_vol = volume × (close − low) / (high − low). The cumulative series tracks persistent institutional buying or selling pressure independently of price direction, making it a first-order proxy for directional order flow without requiring exchange-level bid/ask data.
🔸 Three Z-Score Normalised Features
Each bar, the classifier receives three inputs derived from CVD and z-score normalised for cross-instrument compatibility:
F1 — CVD Momentum : rate of change of CVD over N bars, normalised by its rolling mean and standard deviation. Encodes how rapidly buying or selling pressure is accelerating relative to its own recent baseline.
F2 — Price/CVD Divergence : price rate of change minus CVD rate of change. A large positive value signals price rising while order flow is falling — the classic institutional distribution pattern. Near-zero values indicate price and flow agreement.
F3 — CVD Slope : linear regression slope of CVD over a short window, z-score normalised. Provides a direction-of-flow signal independent of F1's momentum measure, satisfying the Naive Bayes conditional independence assumption as closely as CVD-derived features can.
🔸 Market Regime Labels
Three mutually exclusive regimes are recognised. A bullish re-alignment bar is one where both price ROC and CVD ROC are positive — institutional flow and price confirm each other to the upside. A bearish re-alignment bar is the symmetric case. A divergence bar occurs when price and order flow point in opposite directions — historically associated with regime transitions and distribution/accumulation activity.
――――――――――――――――――――――――――――――――――――――
🔷 THE CLASSIFIER
🔸 Welford Online Learning
The classifier accumulates running sufficient statistics — count, mean, and variance — for each of the nine (feature × regime) combinations using Welford's numerically stable online update. No historical arrays are stored. The model's parameters shift gradually with each new bar, making it adaptive to changing market microstructure conditions without a fixed lookback window.
🔸 Gaussian Likelihood + Bayesian Posterior
Each feature is modelled as a Gaussian distribution under each class. The joint likelihood of the current feature vector is computed by multiplying the three per-feature probability densities under the Naive Bayes independence assumption. A class prior — updated empirically from observed regime frequencies — is combined with the joint likelihood via Bayes' theorem to produce posterior probabilities P(Bull | F1,F2,F3) and P(Bear | F1,F2,F3) for the current bar. A warmup gate suppresses signals until the classifier has accumulated statistically meaningful training observations.
――――――――――――――――――――――――――――――――――――――
🔷 SIGNALS AND DISPLAY
🔸 High-Conviction Buy — P(Bull) > 85%
A long signal fires when the bull posterior clears the configurable threshold, CVD momentum confirms, and price is above the trend EMA. The threshold is surfaced on the label itself, making the confidence level explicit at every entry rather than hidden inside an opaque signal.
🔸 Bear Signal — CVD Divergence
A short signal fires when the bear posterior clears threshold and F2 is in active divergence territory — price moving up while order flow is declining, or the symmetric distribution case. CVD divergence without posterior confirmation does not produce a signal; both conditions are required simultaneously.
🔸 Bull Regime Band — CVD Aligned
A fill band anchored to the trend EMA expands when the classifier assigns high posterior probability to a sustained bullish re-alignment regime. The opacity of the band scales with the posterior — faint during low-confidence periods, saturated when the classifier considers the regime firmly established.
🔸 Info Table
Live readout displays current bull and bear posteriors, CVD direction, and training bar count. The Trained N counter confirms the classifier has completed warmup before acting on any signal.
――――――――――――――――――――――――――――――――――――――
🔷 INPUTS
Classifier Lookback — minimum training bars before signals activate. Default 100.
Entry Posterior Threshold — minimum posterior required. 0.60 permissive; 0.70 default; 0.80 high-conviction only.
CVD Momentum Period — lookback for F1 and F2 rate of change.
CVD Slope Period — regression window for F3.
Z-Score Period — normalisation window applied across all three features.
Trend EMA Period — macro filter; long signals only fire above EMA, short signals below.
――――――――――――――――――――――――――――――――――――――
🔷 REQUIREMENTS AND LIMITATIONS
The classifier requires a warmup period before signals are valid. The CVD estimator is synthetic — derived from intrabar price position, not actual bid/ask data — and introduces noise on instruments with low liquidity or wide spreads. The Naive Bayes independence assumption is partially violated because all three features are CVD-derived; the posteriors function as relative confidence scores rather than calibrated frequentist probabilities.
――――――――――――――――――――――――――――――――――――――
Built natively in Pine Script® v6. No external libraries, no data feeds, no fixed lookback arrays. The Gaussian Naive Bayes classifier trains continuously from the chart's own bar history using Welford's online algorithm. Open source — Mozilla Public License 2.0. Indicator

Large Order Delta Profile [TradingIQ]Hello Traders!
🔹 Large Order Delta Profile
Large Order Delta Profile is an order-flow visualization tool designed to split delta profiles across different transaction-size categories.
That is the core idea behind the tool: instead of showing one combined volume or delta profile, it separates activity by customizable dollar-value thresholds so you can compare how smaller, medium-sized, and very large transactions behaved during the same session.
This helps traders visualize where different sizes of market participants were active, where aggressive buying or selling concentrated, and whether large-order flow agreed or disagreed with smaller transaction flow .
splits the delta profile across multiple transaction-size ranges
compares smaller, medium, and large-order activity side by side
tracks bullish and bearish delta at price levels
filters trades using customizable dollar-value thresholds
supports tick, second, and minute-based granularity
builds session-based delta profiles
🔹 What the tool shows
🔸 Transaction-size delta profiles
The main feature of this indicator is that it separates market activity into different transaction-size profiles.
Each profile represents a different dollar-value range of transactions, allowing you to compare:
smaller transaction flow
medium-sized transaction flow
large-order activity
extreme large-order activity
This makes it easier to see whether large participants were active at the same price levels as smaller participants, or whether larger transactions were concentrated in completely different areas.
🔸 Large order delta distribution
The script builds a profile showing where aggressive buying and selling activity occurred during the active session.
Instead of displaying simple volume-at-price, it separates:
bullish delta
bearish delta
net directional pressure
This helps identify where buyers or sellers were more aggressive across each transaction-size category.
🔸 Custom dollar-value filters
The indicator allows you to define multiple transaction-size filters using estimated dollar value.
Each filter creates its own profile, so you can compare activity such as:
all qualifying transactions
transactions above a larger threshold
transactions above an extreme threshold
This is useful because not all market activity carries the same context.
A small transaction imbalance and a large transaction imbalance can tell very different stories.
🔸 Delta-based directional analysis
The profile uses directional estimation to classify activity as bullish or bearish.
Depending on your selected granularity:
tick-based bid/ask estimation can be used
lower-timeframe candle direction can be used
aggressive buying and selling pressure is separated
Positive delta suggests stronger aggressive buying.
Negative delta suggests stronger aggressive selling.
This helps reveal where different transaction-size groups were actively lifting offers or hitting bids.
🔸 Session-based profiling
The indicator resets and rebuilds based on a customizable session period.
This allows profiles to adapt dynamically to:
daily sessions
custom session structures
intraday profiling
higher-timeframe segmentation
The profile continuously expands as price moves beyond existing ranges.
🔸 Adaptive profile levels
The script uses ATR-based level spacing to dynamically build profile rows.
This allows the profile structure to adapt to:
high-volatility conditions
low-volatility conditions
tight ranges
expanding markets
Instead of relying on static tick spacing, the levels automatically scale with market volatility.
🔸 Visual imbalance mapping
Profile blocks expand horizontally based on the strength of bullish or bearish delta.
This creates a quick visual representation of:
where aggressive buyers dominated
where aggressive sellers dominated
which price levels showed the strongest imbalance
where directional pressure was concentrated
how imbalance differed across transaction-size groups
Bullish pressure is displayed using bullish profile coloring.
Bearish pressure is displayed using bearish profile coloring.
Optional delta labels can also display the raw imbalance values directly on the chart.
🔹 How to read it
Each component gives a different layer of order-flow context:
Transaction-size profile → which order-size group is being shown
Bullish delta → aggressive buying pressure
Bearish delta → aggressive selling pressure
Large profile expansion → stronger directional imbalance
Thin profile areas → weaker participation
Filter ranges → separated transaction-size categories
Session profile → where activity concentrated during the session
🔹 Why this tool is useful
It gives you:
a way to compare delta across different transaction sizes
a visual map of where larger orders were active
separate profiles for smaller, medium, and larger transaction flow
context around whether large-order activity confirms or conflicts with smaller flow
session-based order-flow structure
a clearer view of where aggressive participation concentrated
🔹 Best use cases
comparing small vs large transaction behavior
tracking where large participants were most active
studying aggressive buying and selling by transaction size
analyzing directional imbalance across multiple order-size groups
identifying high-participation price zones
building session-based order-flow context
🔹 Important note
This tool estimates directional pressure using lower-timeframe or tick-based data.
That means:
delta estimation is not identical to centralized exchange order books
transaction-size filters are based on estimated dollar value
large imbalance does not guarantee continuation
profiles represent historical participation, not future certainty
market conditions can shift quickly
outputs should be used as contextual analysis, not standalone signals
🔹 Inputs you can customize
The script includes flexible controls such as:
data granularity selection
session timeframe selection
profile level granularity
multiple dollar-value transaction filters
profile offsets
bullish and bearish profile colors
delta label visibility
delta label sizing
Closing Notes
Large Order Delta Profile is built around one central idea: not all transaction sizes should be viewed the same way .
By splitting delta profiles across different dollar-value thresholds, the tool helps traders compare how smaller flow, larger flow, and extreme transaction activity behave during the same session.
Rather than asking only where volume occurred, this tool helps ask which size of activity created the imbalance, where it happened, and whether larger transaction flow told a different story from the broader market .
Thank you for checking it out! Indicator

Volume Waves (Buy / Sell / Delta) [footprint data]
⚠️ This indicator uses footprint data and requires PulseWire Premium plan or higher. Without footprint support the waves will not appear.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Volume Waves (Buy / Sell / Δ) is a footprint-based volume visualization that renders buy volume, sell volume and delta directly on the price chart as adaptive filled waves - no separate pane, everything stays on the candles where it belongs.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
What you see
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Three layers are rendered directly on the chart:
Volume wave (gray) — total buying or selling activity scaled to recent history. Shows how significant the current bar's volume is compared to the lookback window.
Delta wave (semi-transparent lime / purple) — positive delta (buyers dominated) is lime, negative delta (sellers dominated) is purple. Rendered on top of the volume wave, always stays within its boundaries.
Extreme delta (fully opaque lime / purple) — same colors, full opacity. Appears only when both volume and imbalance cross their thresholds simultaneously. The brighter the spike stands out against the semi-transparent background — the more significant that bar was.
The waves are normalized relative to recent market activity and scaled dynamically using ATR, allowing the visualization to remain readable across different instruments and timeframes without constant manual adjustment.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Why footprint data matters
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Most "buy/sell volume" or "volume delta" indicators available on charts do not use actual trade classification. They approximate — typically by comparing the candle's close to its open and assuming the entire volume was either buying or selling, or by applying the same approximation from a lower timeframe (the accuracy does not improve from this — the method stays the same, only the scale changes).
Footprint data works differently. When supported by the broker and exchange feed, PulseWire provides bid/ask-classified executed trades where each transaction is identified as aggressive buying or selling at the moment of execution. Not calculated from price behavior, not estimated from candle shape — recorded as a fact from the exchange order book.
This distinction becomes especially important around:
high-liquidity levels and absorption zones,
breakouts and exhaustion moves,
and news-driven volatility.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Display modes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Two sides — buy and sell waves expand in opposite directions from the baseline: buy volume upward, sell volume downward. Buyer and seller dominance is immediately visible.
One side — buy and sell volume are stacked upward together as total activity. Useful when focusing on participation intensity or volatility expansion. The delta wave remains visible and colored by sign — directional information is always present.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
How it is built
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Shared normalization. Buy and sell volume are both divided by the same highest total volume over the lookback window. This preserves the real proportion between them and ensures delta always reflects the correct sign and magnitude. Independently normalized sides would distort this relationship.
Adaptive ATR scaling. Wave height = normalized volume × ATR(200) × scale factor. This gives the indicator automatic adaptation across markets, stable visual proportions across timeframes, and consistent readability during volatility expansion. Quiet markets remain compact, volatile markets naturally expand. The scale factor setting provides additional manual control when needed.
Visible-area rendering. Waves are built only for bars currently visible on screen using chart.left_visible_bar_time and chart.right_visible_bar_time . The loop range accounts for the offset of the last bar from the right edge — correctly handling situations when recent bars are outside the viewport after scrolling left. When scrolling or zooming, the structure recalculates intentionally to preserve local proportionality.
Baseline positioning. The baseline can be placed manually via the position setting: top, bottom or middle of the visible range. In auto mode the indicator checks whether current price is in the upper or lower half of the visible range and positions the baseline on the opposite side — in most cases preventing overlap with candles without manual adjustment.
Extreme delta detection. A bar is marked as extreme only when two conditions are met simultaneously: total volume exceeds a configured percentile of recent history (Lookback Window
- 500 bars by default), and absolute delta exceeds a configured percentage of total bar volume. This filtering removes low-volume noise, small meaningless imbalances, and high-volume but balanced bars. Only bars where both participation and asymmetry are genuinely exceptional are highlighted. Both thresholds are independently adjustable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
How to read it
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Dominance. When buy waves consistently exceed sell waves — buyers are participating more aggressively. When sell waves dominate — sellers control the auction. The relationship becomes visible instantly without requiring footprint tables or numerical inspection.
Delta as confirmation. Price rising with positive delta means real buying pressure is behind the move. Price rising while delta weakens or turns negative suggests passive absorption may be occurring — the move may lack genuine initiative participation.
Extreme highlights. Fully opaque spikes mark bars where both participation and directional imbalance were exceptional. These bars are often structurally important and tend to stand out clearly even on dense charts — absorption, exhaustion, breakout moments.
Info label. On the last bar a small label shows buy volume, sell volume, delta value and delta as a percentage of total volume — quick numerical context without opening a separate footprint panel.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Settings
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
side — one side or two sides visualization
position — baseline placement: auto / top / bottom / middle
shift — offset between baseline and chart edge
scale factor — overall wave height multiplier
Lookback Window — normalization and percentile range
Delta % threshold — minimum imbalance percentage for extreme detection
Volume Percentile % — minimum participation percentile for extreme detection
show volume — toggle buy/sell volume waves
show delta — toggle delta overlay and extreme highlights
delta transparency — two inline values: opacity for regular delta and for extreme highlights separately
show label — toggle information label on last bar
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Notes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Footprint data required. The indicator uses request.footprint() available on PulseWire Premium or higher. Availability also depends on broker and exchange feed support.
Updates on scroll. Waves recalculate every time the visible area changes — intentionally. You always see volume structure scaled to what is currently on screen.
If you find it useful — a boost or comment is appreciated. Feedback and suggestions are always welcome.
Indicator

Live Footprint Center Frame📊 Live Footprint Center Frame
Live Footprint Center Frame is a footprint-style chart overlay designed to help traders study candle-by-candle volume behavior directly on the main chart. The script displays centered footprint frames around candles and breaks each candle into multiple price slots so volume structure can be viewed more clearly.
🔎 What It Does
The script visualizes estimated internal candle activity using lower-timeframe OHLCV data. It displays price-slot volume, delta behavior, POC, value area, imbalance markings, absorption-style highlights, delta bars, POC trail, and a compact HUD panel for quick market structure reading.
Key visual elements include:
• Footprint-style candle frames
• Price-slot volume ladder
• Estimated ask/bid style cell values
• Positive and negative delta coloring
• POC highlight
• Value Area highlight
• Imbalance arrows
• Absorption-style border highlights
• Small delta bar below candles
• POC trail between candles
• Compact HUD with ASK, BID, DEL, POC, VA, VOL, CVD, and bias information
🧠 General Logic
Live Footprint Center Frame uses lower-timeframe OHLCV data to approximate how volume is distributed inside each candle. The script divides the candle range into price slots, distributes lower-timeframe volume across those slots, and then calculates estimated delta, total volume, POC, value area, and balance information.
This is not true exchange-level bid/ask footprint data. It is an educational footprint-style approximation based on the data available through PulseWire.
📌 Why It Is Useful
This tool can help traders study more than just candle open, high, low, and close. It gives a clearer visual view of where volume activity is concentrated inside the candle and how that activity changes from candle to candle.
It can be useful for observing:
• Where volume is concentrated
• How POC shifts between candles
• Whether delta supports or disagrees with price movement
• Where value area develops inside the candle
• Whether activity appears balanced or imbalanced
• Possible absorption-style areas
• Short-term volume structure around important price zones
🎨 Visual Reading Guide
Green-style cells show stronger positive delta behavior.
Red-style cells show stronger negative delta behavior.
Orange areas highlight the POC zone.
Blue-style areas highlight the value area.
Yellow borders can show absorption-style conditions.
Small delta bars below candles show candle delta direction and strength.
The HUD gives a quick summary of ASK, BID, DEL, POC, VA, VOL, CVD, and bias.
🧭 How To Use
1. Add the script to a clean chart.
2. Use intraday charts for clearer footprint-style reading.
3. Watch the POC area to see where the highest slot volume appears.
4. Compare candle delta with candle direction.
5. Use value area to understand where most candle activity is located.
6. Use imbalance and absorption highlights as context only.
7. Check the HUD for a quick summary of current candle conditions.
8. Combine this with market structure, support and resistance, liquidity zones, and proper risk management.
⚙️ Settings Overview
Lower timeframe precision controls the lower timeframe data used for the footprint approximation.
Closed bars to keep controls how many previous footprint candles remain visible.
Price slots per candle controls how many horizontal volume rows appear inside each candle.
Cell text controls whether cells show volume, delta, delta percentage, or estimated ask/bid style values.
Frame width adjusts the centered footprint frame width around each candle.
Live candle update allows the active candle footprint to update while the candle is forming.
POC trail connects POC movement between candles.
Value Area highlights the main volume zone.
Imbalance ratio controls imbalance sensitivity.
Absorption slot volume percentage controls absorption-style highlighting.
HUD settings control the compact panel position and visibility.
Color settings allow visual customization of bullish, bearish, neutral, POC, value area, frame, and delta elements.
⚠️ Limitations
This script uses PulseWire-available OHLCV data and lower-timeframe calculations. It does not access true exchange order book data or true bid/ask footprint data on most symbols. Values can vary depending on symbol, timeframe, lower-timeframe availability, volume quality, and chart settings.
The live candle can update while it is still forming. Confirmed candles are more stable than the active candle.
✅ Educational Use Only
This script is provided for educational market analysis and visual order-flow style study. It does not provide financial advice, guaranteed results, or automatic trade decisions. Traders should use proper risk management and combine this information with their own analysis. Indicator

Aura Volume Delta Matrix [Pineify]Aura Volume Delta Matrix
This indicator measures the net demand pressure behind each bar by separating candle volume into buying and selling components, smoothing the difference, and plotting it as a gradient histogram against a signal line. Rather than treating volume as a single unsigned number, it asks: how much of this bar's volume was buying versus selling? The answer — volume delta — reveals whether the crowd was net accumulating or distributing, even when price barely moved.
Key Features
Candle-polarity volume split: full bar volume attributed to buyers when close > open, sellers when close < open, and split 50/50 on doji candles
Dual EMA smoothing pipeline — one pass to extract the trend from noisy raw delta, a second pass to generate a crossover signal line
Normalized gradient histogram: bar intensity scales to the 100-bar rolling maximum, so weak readings appear faint and strong readings appear saturated, giving an immediate visual sense of magnitude relative to recent history
Crossover signals that only fire when delta is already on the correct side of zero — filtering out shallow, mean-reverting crosses that would otherwise generate noise
How It Works
The calculation pipeline has three stages.
Volume attribution: Each bar's total volume is assigned to buyers or sellers based on candle polarity. A bullish close (close > open) attributes 100% to buyers; a bearish close (close < open) attributes 100% to sellers; equal open and close splits it evenly. This is a bar-level proxy for order flow — not tick-level CVD, but a reasonable approximation available on any timeframe without premium data.
Delta smoothing: Raw delta (bullVol − bearVol) is noisy on its own. A configurable EMA (default 14) removes single-bar spikes and reveals the directional bias over recent bars. This smoothed delta is what plots as the histogram.
Signal line: A second EMA (default 9) is applied to the smoothed delta. This behaves like the MACD signal line — when the histogram crosses above it while already positive, demand is re-accelerating from a bullish baseline; crossing below while negative signals the opposite.
The gradient coloring normalizes the histogram against its own 100-bar peak, so you can immediately tell whether current delta intensity is historically significant or just routine churn.
How the Components Work Together
The two-pass EMA structure is intentional. A single EMA of raw delta would react quickly but produce too many false crosses. By smoothing first and then deriving a signal from the smoothed output, the crossover logic only fires when momentum has already built enough to survive the first layer of filtering. The zero-side gate on signals adds a second filter: a bullish crossover below zero means demand is recovering within a still-bearish context, which is a weaker setup than a crossover that occurs while net buying is already dominant. Together these two conditions — crossover confirmed by zero-side context — push the signal rate down and focus it on higher-conviction shifts.
Trading Ideas and Insights
Use bullish crossovers (delta crosses above signal while delta > 0) as a candidate entry trigger on trending assets. Consider waiting for price to also be above a longer-period moving average before acting on the signal.
Divergence between price making a new high and delta making a lower high may indicate absorption — sellers stepping in at resistance without moving price yet. This is worth watching rather than acting on automatically.
On ranging markets, delta will oscillate around zero and the smoothing will compress toward the baseline. Low histogram intensity (faint gradient bars) visually signals low-conviction conditions where crossover signals are less reliable.
The signal line alert conditions can be used to push notifications when the crossover setup occurs, removing the need to watch the chart continuously. Still, confirm with price structure before entering.
As with any volume-based indicator, results vary by asset liquidity and data provider. Crypto and futures markets with transparent volume data tend to produce cleaner delta readings than instruments where reported volume is an estimate.
Unique Aspects
The gradient normalization against a rolling 100-bar peak is a visual improvement over fixed-scale histograms: it adapts to each instrument's typical volume range without manual scaling, making the chart readable across different assets.
The zero-side signal filter avoids a common problem in oscillator crossover systems — signals that fire during shallow pullbacks within a larger counter-trend, where the histogram is technically crossing but the broader context is unfavorable.
The doji split (50/50 at open = close) is a minor but honest edge case handling that most simplified volume delta scripts skip.
How to Use
Add the indicator to any chart. It works on all timeframes, though intraday timeframes tend to show more granular delta shifts.
Watch histogram color and intensity. Solid, saturated green bars suggest strong net buying relative to recent history; faint bars suggest low-conviction buying or a quiet session.
Look for crossovers of the orange signal line. Bullish: histogram rises through the signal line while above zero. Bearish: histogram falls below the signal while below zero. Half-crossovers (histogram crosses signal but is on the wrong side of zero) are filtered from alerts.
Set alerts via the indicator's alert conditions if you want to monitor for crossover setups without watching the chart.
Customization
Delta Smoothing Length (default: 14) — Controls how much the raw volume delta is smoothed before plotting. Higher values produce a slower, more stable histogram but introduce more lag. Lower values react faster and may show more noise.
Signal Line Length (default: 9) — The EMA length applied to the smoothed delta to create the crossover trigger. Shorter values generate more frequent signals; longer values are more selective.
Bullish / Bearish / Signal Colors — Fully customizable to match your chart theme or personal preference.
Conclusion
Aura Volume Delta Matrix translates raw bar volume into a directional demand measure, smooths it through a dual-EMA pipeline, and presents the result as a gradient histogram with a signal-line crossover system. It's most useful for traders who want a volume-based confirmation layer that isn't just "volume went up" but instead reflects which side of the trade had more participation. Pair it with price structure or trend context for best results — no volume indicator tells the full story on its own.
Indicator

Candle Volume Decomposition [MarkitTick]💡 Standard volume analysis often falls short by presenting trading activity as a single, one-dimensional aggregate figure per period. This limitation obscures the true dynamics of market microstructure, leaving analysts guessing whether the volume was concentrated in the directional move of the body, or absorbed at the extremes as rejection wicks. This indicator reconstructs the volume profile of every single price candle by decomposing it into three distinct spatial zones: the Upper Wick, the Body, and the Lower Wick. By leveraging lower-timeframe data polling, it builds an intraday volume distribution for higher-timeframe candles, extracting critical insights such as Delta Pressure, Zone Concentration, Absorption, and Exhaustion, wrapping it all into an on-chart dashboard and advanced histogram.
✨ Originality and Utility
Most volume indicators attempt to map buying and selling pressure by looking at the close relative to the open or high/low range, applying a uniform formula to the entire bar's volume. This indicator breaks away from aggregate estimations by fetching strict lower-timeframe data and physically mapping it to the structural boundaries of the chart timeframe's candle.
The primary utility lies in its ability to reveal hidden liquidity mechanics. A candle with seemingly standard bullish volume might actually contain massive localized selling pressure entirely trapped within its upper wick. By isolating these zones, traders can definitively identify absorption, measure the efficiency of directional body moves, and detect localized exhaustion before price reverses. It effectively bridges the gap between basic volume bars and complex Order Flow footprint charts, delivering high-granularity data without requiring specialized tick-data feeds.
🔬 Methodology and Concepts
The script utilizes a lower timeframe polling array to dissect the current chart's candle structure. The mathematical methodology is broken down into the following core concepts:
Spatial Decomposition: The indicator calculates the precise price boundaries of the candle's body (Open to Close) and wicks (High to Body Top, Low to Body Bottom). As lower timeframe volume data is fed into the array, it allocates the volume proportionally based on where the lower timeframe price action occurred relative to the parent candle's zones.
Net Signed Volume: Instead of arbitrary coloring, the script calculates a net directional flow. Lower wick volume (demand/buying) is added, upper wick volume (supply/selling) is subtracted, and body volume is directionally signed based on whether the candle closed green or red.
Delta Pressure Index: A normalized ratio ranging from -1.0 to +1.0. It calculates the net difference between lower wick volume and upper wick volume relative to total volume. Positive values indicate demand dominance in the wicks, while negative values indicate supply dominance.
Volume Concentration (HHI): The Herfindahl-Hirschman Index is adapted here to measure zone dominance. By squaring the volume ratios of all three zones and summing them, it provides a score from 0.33 (perfectly equal distribution) to 1.0 (a single zone contains 100% of the volume).
Absorption & Exhaustion: Absorption is modeled by combining high total wick volume with a compressed body range. Exhaustion is triggered mathematically when the total volume residing in the wicks exceeds the body volume multiplied by a user-defined threshold, signaling potential structural failure.
🎨 Visual Guide
The indicator's visual outputs are highly detailed, split between the main price pane and the indicator pane.
● Main Chart Elements
Price Candles: The standard price candles are dynamically colored and faded. By default, they use "Net Signed Volume" coloring, transitioning between Deep Teal (Bullish Net) and Deep Red (Bearish Net). Furthermore, the transparency of the candles is completely dynamic; candles with absolute directional dominance are fully opaque, while candles with weak or highly contested net volume become transparent.
Wick Exhaustion Highlight: A distinct purple background flash appears on specific bars where wick volume overwhelmingly eclipses body volume, visually alerting the user to structural exhaustion.
Divergence Labels: Small, precise text labels reading "Vol ▲Div" (Teal) or "Vol ▼Div" (Red) appear above or below candles when volume divergences are detected between the price trend and the total volume trend over the specified lookback period.
Dashboard Table: Positioned in the top right, this matrix provides real-time scoring. It displays block-meters and color-coded text for Delta Pressure, Dominant Zone, CVD Bias, Body Efficiency, Absorption Score, Wick Exhaustion status, Zone Concentration, and the exact percentage breakdown of the three spatial zones.
● Indicator Pane Elements
Stacked Volume Columns: When in standard mode, the volume histogram represents the true spatial distribution. The Lower Wick volume is plotted at the base in vivid Cyan. The Body volume is stacked on top in either Teal or Deep Red. The Upper Wick volume completes the stack in vivid Red.
Net Signed Columns: When toggled via settings, the histogram switches to a baseline-centered momentum oscillator, plotting the absolute Net Signed volume above or below the zero line, instantly revealing the true directional aggression of the period.
📖 How to Use
Traders can deploy this indicator to validate breakouts, confirm reversals, and manage risk through superior tape reading.
Validating Breakouts: When observing a breakout candle, refer to the Dashboard's "Body Efficiency" metric. A high efficiency score combined with an opaque body color indicates that the majority of the volume supported the directional move. Conversely, if a breakout candle prints a high "Absorption" score and high wick concentration, the move is likely being faded by larger market participants.
Trading Reversals: The purple background flash (Wick Exhaustion) is a prime leading indicator. When this occurs at a known support or resistance level, it mathematically confirms that counter-trend limit orders have successfully absorbed the aggressive volume, halting the candle's progression.
Monitoring Cumulative Pressure: The CVD Bias metric in the dashboard maintains a running sum of Net Signed Volume. If price is making higher highs but the CVD Bias flips to Bearish, a structural divergence is occurring, warning of an impending pullback.
Interpreting Asymmetry: Watch the dominant zone metrics. Continuous lower-wick dominance during a downtrend suggests accumulation, as market participants repeatedly buy the dips within the micro-structure of the falling candles.
⚙️ Inputs and Settings
The script provides a modular architecture allowing users to tailor the calculations and visuals to their specific strategy requirements.
● Volume Profile & Display
Lower Timeframe: The critical input for data resolution. This must be set lower than the chart timeframe (e.g., 1-minute data for a 15-minute chart) to provide the necessary polling granularity.
Coloring Mode: Allows switching the price candles between "Net Signed Volume" (accounting for wick/body math), "Body Direction" (traditional close vs open), or turning it off entirely.
Dynamic Transparency: A toggle that maps the opacity of the price candles directly to the strength of the volume signal.
Signed Volume Mode: Toggles the indicator pane histogram between the 3-tier stacked spatial volume model and the zero-centered Net Signed Volume oscillator.
● Advanced Metrics & Dashboard
Metric Toggles: Users can individually enable or disable internal calculations for Delta Pressure, Asymmetry, CVD, Efficiency, Wick-to-Body Ratio, HHI, and Absorption to optimize performance or clear the data window.
Exhaustion Threshold: A float multiplier that determines how aggressive the wick volume must be compared to the body volume to trigger the purple background flash. Lowering this increases sensitivity.
Volume Divergence: Toggles the on-chart pivot detection, with a customizable "Lookback Bars" setting to determine the required span for identifying volume-price discrepancies.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The theoretical foundation of this script is rooted in Market Microstructure and the mechanics of the Limit Order Book (LOB). Standard OHLC data suffers from temporal aggregation bias; it flattens the continuous auction process into discrete periods. By polling lower timeframe arrays, this indicator reconstructs the volume topology, mapping volume to price rather than just volume to time.
The integration of the Herfindahl-Hirschman Index (HHI) is a direct cross-application from macroeconomics and antitrust law, where it is traditionally used to measure market share concentration. In this script, HHI is brilliantly applied to spatial volume analysis to determine the "monopoly" of trading activity within a single candle. An HHI approaching 1.0 mathematically proves severe localized liquidity consumption, indicating an inelastic supply or demand wall at that specific price node.
Furthermore, the Delta Pressure and Absorption calculations mirror the dynamics of liquidity provision vs. liquidity taking. When a candle expands its range, aggressive market orders are consuming passive limit orders (high body efficiency). When a candle prints high volume but compresses its body range, aggressive market orders are being entirely absorbed by a dense wall of resting limit liquidity (high wick volume, high absorption score). This indicator translates these complex order-matching mechanics into a digestible visual hierarchy.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

Delta Void Profile [BigBeluga]Delta Void Profile is an advanced order flow and market structure framework engineered to reveal the "negative space" in price action. By contrasting traditional volume accumulation with a unique Inverse Liquidity Void map, this indicator identifies where the market is most anchored and where it is most fragile.
While standard profiles show where the crowd has transacted, the Delta Void Profile simultaneously highlights where the market *failed* to trade, marking the "liquidity vacuums" that often dictate explosive price movements.
🔵 THE DUAL-ENGINE FRAMEWORK
The Normal Profile (Right Side): This is your primary volume distribution. It visualizes the total relative volume transacted at each price bin within the lookback period, providing a clear view of high-interest zones.
The Inverse "Void" Profile (Left Side): This profile measures the "gap" between the maximum volume peak and the current bin. Longer bars on the left signify Volume Voids —areas where price moved too quickly for significant liquidity to build.
Intraday Delta Breakdown: Within the normal profile, the script calculates a granular Buy/Sell Delta . Each bin features a central divider and percentage labels, showing exactly which side of the market dominated that specific price node.
🔵 CORE ARCHITECTURE
Liquidity Vacuum Identification: The indicator automatically highlights the "Deepest Gap"—the price area with the least historical transacted volume relative to the peak. These zones act as magnets or "slip-zones" where price is likely to expand rapidly without resistance.
HVN & Gap Pivot Detection: Depending on your strategy, the tool automatically plots dashed structural lines at either High Volume Nodes (HVN) —representing fair value and heavy support/resistance—or at Volume Gaps —representing liquidity pockets.
Dynamic Gradient Resolution: The profile uses a color-gradient system based on volume density. Brighter, more saturated bins represent institutional interest, while faded bins represent retail noise or transitional zones.
🔵 FEATURES
High-Definition Bins: Customizable vertical resolution (Bin Count) allows you to transition from a macro structural view to a high-definition "micro-scalping" look at order flow.
Delta Efficiency Labels: Real-time percentage labels on the right-hand profile give you an immediate breakdown of supply and demand percentages for every price level.
Void Strength Labels: The inverse profile calculates and prints the "Gap Percentage," explicitly labeling areas where liquidity is significantly missing.
UI Scaling: Fully adjustable global text and label sizes ensure the profile remains readable on any screen resolution or chart layout.
🔵 STRATEGIC APPLICATION
Trading the HVN (High Volume Nodes): Use HVN levels as anchors for your stop-loss or as high-probability entry points. These are prices where the market has historically agreed on "Value".
Exploiting the Voids: When price enters a high-percentage "Gap" zone on the left profile, expect increased volatility. Because there is no "friction" from historical orders, price often "teleports" through these voids until it reaches the next high-volume cluster.
Delta Confirmation: Use the Buy/Sell percentage labels to confirm breakouts. If price is breaking an HVN resistance and the delta shows high Buy dominance, the probability of a successful breakout increases significantly.
Mean Reversion Targets: Voids often act as targets for mean reversion. If price is overextended, look for the nearest "Volume Gap" pivot as a natural magnet for a relief rally or pullback.
Delta Void Profile transforms your chart into a map of institutional activity and structural weakness. By identifying the voids in the market, you can stop trading into the "heavy" areas and start targeting the "light" areas where the real price expansion occurs. Indicator

Volume Financial ProVolume Financial Pro is a smart volume indicator built for traders who operate across multiple asset classes, including Forex, Crypto, Commodities, Indices, and Stocks. It combines a Proxy Volume Engine with a candle-based delta intensity system to deliver meaningful volume analysis even on platforms that do not provide real volume data.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE PROBLEM THIS INDICATOR SOLVES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Most retail brokers and CFD platforms — particularly those offering Forex, metals, and index CFDs — do not provide real volume data. The standard volume indicator on these platforms either returns zero, returns meaningless tick counts, or simply shows nothing. This makes volume-based analysis impossible for a large portion of the trading community.
Volume Financial Pro solves this with a built-in Proxy Volume Engine.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW THE PROXY VOLUME ENGINE WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator automatically detects the current symbol and maps it to a liquid equivalent source that provides real, reliable volume data. For example:
• XAUUSD → COMEX:GC1! (Gold Futures)
• EURUSD → FX:EURUSD
• BTCUSD → BINANCE:BTCUSDT
• NDQUSD → OANDA:NAS100USD
• AAPL → NASDAQ:AAPL
Over 80 symbols are mapped across all major asset classes. If the platform provides native volume, it is used directly. If not, the proxy volume is fetched and applied transparently — no configuration needed from the user.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DELTA-BASED COLOR SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Each volume bar is colored based on sell intensity, calculated from the relationship between the candle body size and its full high-low range. This approximates the proportion of buying versus selling pressure within each bar.
• Bullish bars → cyan
• Bearish bars with moderate selling → light red
• Bearish bars with high selling intensity (above 60%) → dark red
This gives traders an immediate visual read on conviction behind each move — not just whether price went up or down, but how aggressively it was bought or sold.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EMA OVERLAY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
An optional EMA (default: 9 periods) is plotted over the volume histogram to help identify trends in volume activity and spot anomalies such as volume spikes or dry-up zones that may precede price reversals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• EMA Length — adjustable period for the volume EMA (default: 9).
• Show EMA — toggle the EMA line on or off.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPATIBLE WITH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Forex majors, minors and exotics · Crypto (via Binance) · Gold, Silver, Platinum, Palladium · Oil and Natural Gas · Agricultural commodities · US Dollar Index · Major global indices: DOW, NASDAQ, S&P 500, Nikkei, DAX, FTSE, CAC, MIB, ASX, Hang Seng · Top US and European stocks.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is an original work. The Proxy Volume Engine, symbol mapping table, and delta intensity color logic were developed independently by the author and do not derive from any existing published script.
Indicator
