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.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。