OPEN-SOURCE SCRIPT
已更新 Fib-Weighted Volume Profiles

Fib-Weighted Volume Profiles combines Fibonacci retracement levels with a swing-based volume profile on the most recent confirmed pivot leg. Instead of drawing Fib levels in isolation, this indicator shows how much of the swing's traded volume accumulated near each Fib price — helping you spot high-confluence support, resistance, and reaction zones.
What makes it different
How it works
Chart elements
Recommended settings
Alerts
Limitations
What makes it different
- Volume-weighted Fib analysis on the active swing leg (not a fixed session profile)
- POC (Point of Control), 70% Value Area, and horizontal volume histogram
- Golden Pocket zone (0.618–0.66) highlighted for OTE / pullback trading
- Confluence star ratings (★ to ★★★) based on volume %, POC proximity, and Golden Pocket
- Ghost POC lines from prior swings for historical liquidity context
- Optional HTF EMA trend filter to fade counter-trend levels
- Developing swing extension (SH* / SL*) before pivot confirmation
- Built-in alerts for strong Fib confluence, POC touch, and Golden Pocket volume
How it works
- Detects the latest swing using confirmed pivot highs/lows (default 5 left / 5 right bars — no repaint).
- Builds a volume profile across that swing range using configurable price bins.
- Plots standard Fib levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1) and measures the % of total swing volume near each level.
- Colors and line weight reflect volume strength: strong (≥20%), medium (≥10%), weak.
- When POC aligns with a Fib level, labels merge into a single POC+Fib tag.
- Value Area box turns green/red on breakout; dashed style indicates a developing (unconfirmed) swing.
Chart elements
- Yellow dashed line — POC (highest volume price in the swing)
- Blue box — Value Area (~70% of volume); dashed border = developing leg
- Purple box — Golden Pocket (0.618–0.66)
- Grey histogram — Volume distribution by price bin
- Colored Fib lines — Volume strength at each retracement level
- P-1, P-2 labels — Ghost POC from previous swings
- SH / SL — Swing high / low markers (asterisk = developing)
Recommended settings
- Stocks / Forex (15m–1H): Bin Count 24–32, Pivot 5/5
- Crypto (5m–15m): Bin Count 32, enable LTF Volume Distribution if on higher TF
- No volume data (some CFDs): Enable "Synthetic Profile If No Volume" — Fib + swing only, or equal-weight approximation
- Crowded labels: Increase "Label Horizontal Spacing" to 12–16 bars
Alerts
- Strong 0.618 Volume — volume confluence at the 0.618 Fib level
- Strong Fib Confluence — any Fib level exceeds the strong threshold (default 20%)
- POC First Touch — price touches POC for the first time in the current swing
- Golden Pocket + Volume — price in Golden Pocket with strong zone volume
Limitations
- Designed for the latest swing leg — not a full-session anchored profile.
- Very long swings are trimmed to Max Bar Range (default 500) for performance.
- LTF volume applies to the current bar only; history uses chart-timeframe volume.
- Pivot settings affect swing detection — adjust for your market and timeframe.
- Drawing limits (500 lines/labels/boxes) may clip visuals on extremely active charts.
Disclaimer: This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Past volume distribution patterns do not guarantee future price behavior. Always manage risk and do your own research before making trading decisions.
版本注释
Pivot constants were changed.版本注释
Fibonacci lines color changed.版本注释
Live profile rebuild on confirmed bars within active swingInteraction-based alerts (price touch + volume threshold)
Ghost POC only on confirmed pivot transitions
HVN/LVN nodes, adaptive Fib tolerance, close-weighted distribution
Display presets (Full/Clean/Minimal), info table, histogram box cap
VA breakout hysteresis, expanded render-key for reliable input redraw
Neon Pro theme: vivid palettes, gradient histogram, glass-style table
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Love for AlgoTrading
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Love for AlgoTrading
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。