OPEN-SOURCE SCRIPT
Fibonacci Volume Profile [Auto-Anchored & Dynamic]

The Concept: Structure Meets Participation Traders often treat Market Structure (Fibonacci Retracements) and Market Participation (Volume) as separate tools. This indicator merges them into a single, cohesive system.
Standard Volume Profiles are often static or require manual placement. Standard Fibonacci tools show where price might reverse, but not how much effort was spent there. This script solves that by automatically anchoring a high-definition Volume Profile to your most recent market swing, giving you a dynamic view of volume distribution relative to Fibonacci structural zones.
How It Works This is not a simple "tick" volume profile. It is a custom-built, array-based engine that:
Key Features
*Auto-Anchored: No need to manually draw "Fixed Range" tools. The script adapts as new highs/lows are made.
*Smart Fill Technology: Eliminates the "barcode" effect seen in basic scripts. Price rows are filled continuously for a solid distribution curve.
*Split Volume Analysis: Bars are dual-colored (Teal/Red by default) to visualize Buy (Up Candle) vs. Sell (Down Candle) volume composition at every price level.
*Point of Control (POC): Automatically highlights the price level with the highest volume (The "King" line) in Red.
*Responsive Geometry: The profile width is defined as a percentage of the swing itself. It breathes with the chart.
*Garbage Collection: Optimized for performance. Old drawings are cleared instantly when the chart moves, preventing "ghost" drawings or lag.
Settings Guide
*Lookback Length: How far back the script scans for the High/Low (Default: 200). Increase this for higher timeframes or longer trends.
*Resolution: The number of rows in the profile. (Default: 100). Higher = smoother definition.
*Width (% of Swing): Controls how wide the profile is relative to the trend duration. (Default: 40%).
*Colors: Fully customizable Buy, Sell, and POC colors to match your dark/light theme.
Disclaimer This script is for informational and analytical purposes only. It visualizes past market data and does not constitute financial advice or a signal to trade.
Standard Volume Profiles are often static or require manual placement. Standard Fibonacci tools show where price might reverse, but not how much effort was spent there. This script solves that by automatically anchoring a high-definition Volume Profile to your most recent market swing, giving you a dynamic view of volume distribution relative to Fibonacci structural zones.
How It Works This is not a simple "tick" volume profile. It is a custom-built, array-based engine that:
- Identifies the Swing: Automatically scans the last X bars (user-defined) to find the absolute Swing High and Swing Low.
- Anchors the Profile: Draws the Volume Profile precisely covering the time duration of that swing.
- Calculates Distribution: Using a "Smart Fill" algorithm, it distributes volume across price rows without gaps, ensuring a solid, institutional-grade look even on steep trends.
- Dynamic Scaling: The width of the profile is responsive. It occupies a percentage of the swing's duration, meaning it scales perfectly whether you are zooming in, zooming out, or dragging chart margins.
Key Features
*Auto-Anchored: No need to manually draw "Fixed Range" tools. The script adapts as new highs/lows are made.
*Smart Fill Technology: Eliminates the "barcode" effect seen in basic scripts. Price rows are filled continuously for a solid distribution curve.
*Split Volume Analysis: Bars are dual-colored (Teal/Red by default) to visualize Buy (Up Candle) vs. Sell (Down Candle) volume composition at every price level.
*Point of Control (POC): Automatically highlights the price level with the highest volume (The "King" line) in Red.
*Responsive Geometry: The profile width is defined as a percentage of the swing itself. It breathes with the chart.
*Garbage Collection: Optimized for performance. Old drawings are cleared instantly when the chart moves, preventing "ghost" drawings or lag.
Settings Guide
*Lookback Length: How far back the script scans for the High/Low (Default: 200). Increase this for higher timeframes or longer trends.
*Resolution: The number of rows in the profile. (Default: 100). Higher = smoother definition.
*Width (% of Swing): Controls how wide the profile is relative to the trend duration. (Default: 40%).
*Colors: Fully customizable Buy, Sell, and POC colors to match your dark/light theme.
Disclaimer This script is for informational and analytical purposes only. It visualizes past market data and does not constitute financial advice or a signal to trade.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。