OPEN-SOURCE SCRIPT
Delta Volume Profile + Fibo Levels + MFI

OVERVIEW
Plots Fibonacci bands across the recent range and overlays delta volume per Fibo zone (buy − sell), plus a live MFI dot + value mapped vertically inside the range. See where volume is building at each retracement while reading momentum at a glance.
Clean lines (no repainting tricks), lightweight, and designed to sit directly on price.
FEATURES
Real-time Fibo lines with % labels (optional).
Delta volume per Fibo zone with absolute + percentage figures.
Custom MFI (0–100) using positive/negative money flow from HLC3 × Volume.
MFI dot + value rendered on the right side; separate X-offsets for the dot and text.
Adaptive Fibo line color by MFI state (upper/middle/lower band).
Auto binning of price into levels using ATR for a stable volume profile.
PRINCIPLES
Binning: The last Lookback bars are split into price bins sized by ATR. A bar contributes volume to a bin if its high/low spans that bin’s midpoint.
Delta Volume: Volume added to Buy if close ≥ open, otherwise to Sell. Zone delta = Buy − Sell and Δ% = Δ / (Buy+Sell).
Custom MFI:
MFI = 100 - 100 / (1 + Sum(Vol*UpFlow) / Sum(Vol*DownFlow)),
where Up/DownFlow are HLC3 when change(HLC3) > 0 or < 0, otherwise 0. MFI is then clamped to the user thresholds for on-chart placement.
HOW TO USE
Choose a Lookback that captures the swing you care about (e.g., 200–400 bars).
Watch Δ labels at each zone: strong positive Δ near 0.382/0.618 often supports continuation; negative Δ there can hint at fade/reversion.
Use the MFI dot: leaning toward the top of the range with MFI > 50 = pressure up; drifting to the bottom with MFI < 50 = pressure down.
Nudge Circle/Label X offsets so they don’t overlap price.
SETTINGS
Calculation: Lookback Bars, ATR Length
MFI: MFI Length, Upper/Lower thresholds
Plot & Labels: Fibo Line Width, Show Fibo % Labels, Show Zone Δ Volume, MFI Circle X Offset, MFI Label X Offset
NOTES
Works best on symbols with reliable volume (spot/centralized venues).
Bin sizing is ATR-based; extremely tight ranges may need a longer lookback or shorter ATR.
Draws only on the last bar (no historical spam) for speed and clarity.
SUMMARY
This indicator combines a Fibonacci volume profile with a custom MFI overlay, giving you a dual read on where volume is concentrated and whether momentum is favoring buyers or sellers. It’s a visual, on-chart tool for spotting high-probability zones and confirming trend pressure without leaving the price pane.
DISCLAIMER
This tool is for education and research only—not financial advice. Past performance doesn’t guarantee future results. Trade responsibly.
Plots Fibonacci bands across the recent range and overlays delta volume per Fibo zone (buy − sell), plus a live MFI dot + value mapped vertically inside the range. See where volume is building at each retracement while reading momentum at a glance.
Clean lines (no repainting tricks), lightweight, and designed to sit directly on price.
FEATURES
Real-time Fibo lines with % labels (optional).
Delta volume per Fibo zone with absolute + percentage figures.
Custom MFI (0–100) using positive/negative money flow from HLC3 × Volume.
MFI dot + value rendered on the right side; separate X-offsets for the dot and text.
Adaptive Fibo line color by MFI state (upper/middle/lower band).
Auto binning of price into levels using ATR for a stable volume profile.
PRINCIPLES
Binning: The last Lookback bars are split into price bins sized by ATR. A bar contributes volume to a bin if its high/low spans that bin’s midpoint.
Delta Volume: Volume added to Buy if close ≥ open, otherwise to Sell. Zone delta = Buy − Sell and Δ% = Δ / (Buy+Sell).
Custom MFI:
MFI = 100 - 100 / (1 + Sum(Vol*UpFlow) / Sum(Vol*DownFlow)),
where Up/DownFlow are HLC3 when change(HLC3) > 0 or < 0, otherwise 0. MFI is then clamped to the user thresholds for on-chart placement.
HOW TO USE
Choose a Lookback that captures the swing you care about (e.g., 200–400 bars).
Watch Δ labels at each zone: strong positive Δ near 0.382/0.618 often supports continuation; negative Δ there can hint at fade/reversion.
Use the MFI dot: leaning toward the top of the range with MFI > 50 = pressure up; drifting to the bottom with MFI < 50 = pressure down.
Nudge Circle/Label X offsets so they don’t overlap price.
SETTINGS
Calculation: Lookback Bars, ATR Length
MFI: MFI Length, Upper/Lower thresholds
Plot & Labels: Fibo Line Width, Show Fibo % Labels, Show Zone Δ Volume, MFI Circle X Offset, MFI Label X Offset
NOTES
Works best on symbols with reliable volume (spot/centralized venues).
Bin sizing is ATR-based; extremely tight ranges may need a longer lookback or shorter ATR.
Draws only on the last bar (no historical spam) for speed and clarity.
SUMMARY
This indicator combines a Fibonacci volume profile with a custom MFI overlay, giving you a dual read on where volume is concentrated and whether momentum is favoring buyers or sellers. It’s a visual, on-chart tool for spotting high-probability zones and confirming trend pressure without leaving the price pane.
DISCLAIMER
This tool is for education and research only—not financial advice. Past performance doesn’t guarantee future results. Trade responsibly.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.