OPEN-SOURCE SCRIPT
Composite Liquidity Flow: five-asset weighted flow with RSI conf

WHAT IT DOES
One histogram that answers "where is the WHOLE market's money leaning?" It estimates buy and sell pressure across five instruments at once — index futures, their ETFs, and an inverse hedge ETF with its logic flipped — weights them, smooths them, and prints the net as a z-scored delta histogram with an RSI confluence layer on top.
HOW IT WORKS
- Per-asset pressure from candle structure (body and wick attribution), priced in dollars, weighted per your inputs.
- The inverse-hedge leg counts its buying as market selling — hedging demand is information.
- Z-score normalization keeps the scale readable across quiet and wild days; a session filter mutes overnight ETF noise.
- Divergences require three consecutive bars of opposing flow plus optional RSI confirmation, with a cooldown so they stay rare.
- Confluence arrows print only when flow direction, flow acceleration, and RSI agree — and a live dashboard scores it all.
HOW TO USE IT
Built for intraday index trading (5m default tuning). Green above zero and accelerating with RSI supportive = the composite tape agrees with your long. The divergence markers are warnings, not entries.
WHAT IT CAN'T DO
All of it is estimated from OHLCV — a well-built proxy, not tick data. The composite describes the index complex; it says nothing about your single stock.
SETTINGS
Five symbols and weights, smoothing and normalization, RSI confluence, divergence strictness, session filter, full display toggles.
Open source. Free. The whole market's lean, one pane.
One histogram that answers "where is the WHOLE market's money leaning?" It estimates buy and sell pressure across five instruments at once — index futures, their ETFs, and an inverse hedge ETF with its logic flipped — weights them, smooths them, and prints the net as a z-scored delta histogram with an RSI confluence layer on top.
HOW IT WORKS
- Per-asset pressure from candle structure (body and wick attribution), priced in dollars, weighted per your inputs.
- The inverse-hedge leg counts its buying as market selling — hedging demand is information.
- Z-score normalization keeps the scale readable across quiet and wild days; a session filter mutes overnight ETF noise.
- Divergences require three consecutive bars of opposing flow plus optional RSI confirmation, with a cooldown so they stay rare.
- Confluence arrows print only when flow direction, flow acceleration, and RSI agree — and a live dashboard scores it all.
HOW TO USE IT
Built for intraday index trading (5m default tuning). Green above zero and accelerating with RSI supportive = the composite tape agrees with your long. The divergence markers are warnings, not entries.
WHAT IT CAN'T DO
All of it is estimated from OHLCV — a well-built proxy, not tick data. The composite describes the index complex; it says nothing about your single stock.
SETTINGS
Five symbols and weights, smoothing and normalization, RSI confluence, divergence strictness, session filter, full display toggles.
Open source. Free. The whole market's lean, one pane.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.