This script is a collaboration with Tradingriot. It improves the regular volume indicator by coloring the bars based on different criteria to provide additional insights into market activity.
Coloring conditions are calculated using a combination of relative volume (current trading volume relative to past trading volume) and price movements (candle high-low range):
1. **High Volume**: This is represented by bars that exceed a user-defined relative volume (RVOL) or are the highest volume over a certain lookback period. They often signal a start or the end of a price move.
2. **Low Volume**: These are bars where volume is lower than a certain RVOL or is the lowest volume over a certain lookback period. Low Volume bars often act as weak spots that later get filled.
3. **Churn Bars**: Churn bars represent periods where there is a lot of volume, but little price movement. They often signal a start or the end of a price move.