OPEN-SOURCE SCRIPT

Volume Analysis Pro [KTY]

1โ€ฏ184
Volume Analysis Pro [KTY]

Analyze everything about volume with a single indicator.
Buy/Sell split candles, VWMA cloud, oscillator signals, volume divergence โ€”
all essential volume analysis tools in one package.

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ”‘ Key Features

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

โ–ถ Buy/Sell Volume Candles

Splits candle bodies by buy/sell ratio and displays them with color.

Dark area = dominant side / Light area = weaker side
Bull candle with large light area โ†’ appears bullish, but selling is dominant
Bear candle with large light area โ†’ appears bearish, but buying is dominant
See the true story behind every candle at a glance.

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

โ–ถ Buy/Sell VWMA Cloud

Visualizes the difference between buy volume-weighted
and sell volume-weighted average prices as a cloud.

Green cloud = buy dominance (bullish)
Red cloud = sell dominance (bearish)
โ–ฒโ–ผ triangles = shown on cloud cross + price position confirmation

The moment the cloud flips is a key shift in supply/demand.

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

โ–ถ Oscillator Signals

Detects volume flow and anomalies in the bottom panel.

Buy/Sell split columns โ€” visually separates buy and sell volume per bar
Conflict detection (โ–ผโ–ฒ) โ€” warns when candle direction and volume disagree
Spike detection (โ– ) โ€” marks when volume surges significantly above average
EMA line โ€” tracks volume flow direction with glow effect

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

โ–ถ Volume Divergence

Auto-detects when price and volume flow move in opposite directions.

๐Ÿ”ด D โ€” price rising but volume dropping โ†’ uptrend weakening
๐ŸŸข D โ€” price falling but volume rising โ†’ downtrend weakening
Visualized with connecting lines + D labels on chart

Hidden divergence (trend continuation signal) also supported:
๐ŸŸข HD โ€” volume fading on pullback in uptrend โ†’ trend likely continues
๐Ÿ”ด HD โ€” volume fading on bounce in downtrend โ†’ downtrend likely continues

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ’ก Tips

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Repeated conflicts (โ–ผโ–ฒ) โ†’ current trend weakening
Divergence (D) + cloud flip together โ†’ strong reversal signal
Spike (โ– ) + trend direction match โ†’ trend acceleration
All features can be toggled ON/OFF individually โ†’ customize to your style

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ”ง Settings

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Hover over the โ“˜ icon next to each setting for detailed descriptions.
Core parameters are built-in with optimized values โ€”
ready to use with default settings right away.

โœ… Chart Overlay โ€” Volume candles, VWMA cloud, cloud cross ON/OFF
โœ… Oscillator โ€” Conflict, spike, EMA line ON/OFF + EMA color
โœ… Divergence โ€” Regular / Hidden divergence ON/OFF

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ”” Alerts

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Cloud cross (buy/sell shift)
Candle-volume conflict detected
Volume spike detected
Divergence detected (bearish / bullish)
Hidden divergence detected (bearish / bullish)

Setup: ALT + A โ†’ Select ใ€Volume Analysis Proใ€‘๐Ÿ“Š โ†’ Create alert

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“Œ Note

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Buy/sell volume is estimated based on the direction
of lower timeframe (1-minute) candles.
This is not order flow data from the bid/ask book.
Focus on relative flow and trend shifts
rather than absolute buy/sell amounts.

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

โš ๏ธ Disclaimer

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

This indicator is an analysis tool, not a trade signal service.
Default settings are a starting point โ€” not optimized for any specific market.
Past reactions do not guarantee future outcomes.
All trading decisions and associated risks are solely your responsibility.

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.