OPEN-SOURCE SCRIPT

SPY Sub-Sector Daily Money Flow Table

Updated
This calculates the dollar volume per candlestick (2nd row) and cumulative (3rd row) of the entire trading day for each subsector of the SPY.

The 'Total' column is the total of all the subsectors combined. It is calculated separately from SPY volume.

The money flow is calculated with (open+close)/2 which means different timeframes yield different results and won't be especially accurate day-by-day. This is useful to quickly see rotation and possible divergences.

Enjoy!
Release Notes
Added ticker title option
Breadth IndicatorsSPDR S&P 500 ETF (SPY) subsectorstable

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer