kmack282

Cumulative Volume Ratio v1.0

kmack282 Updated   
Simple.

NYSE only.

0700am-1200pm only.

5 minute candles only.

The code compares the cumulative volume of the current day to the 20 day cumulative average up to that same point in time.

This is commonly referenced as the Zanger Ratio.

The colors are based on the that version.

Below 60 = drying up (grey)

Above 60 = below average (orange)

Above 80 = average (pink)

Above 120 = High (magenta)

Above 200 = Extreme (red)

I purposely have these bars slightly transparent so we can quickly identify this indicator apart from my Specific Bar Volume Ratio or other bar based indicator.

This example is in Central time.

Contact me if you are interested.
Release Notes:
Start time set to 0700 EST.
Release Notes:
Code now starts at 0500 EST (NYSE)

There are two Inputs:

Shut Off Pre Market? , this helps visualization when the PM action is significantly higher than the opening action.
Disable Prior Days? , this helps visualization when the previous day's action is significantly higher than the current day's action.
Release Notes:
Applied two corrections when lacking sufficient historical data:

If the 100SMA does not exist than the lookback period is cut to 10 days.

If the study has a max_bars_back study error ( ! ) ; switch the setting labeled such and the lookback will be cut to 5 days.

These changes are important when trading relatively new stocks. The code scans every 5 minute bar from 0400 EST to 1600 EST. When there is not steady liquidity the code fails because there is too much missing data.
Release Notes:
Corrected previous resolution to repair study errors.

The code will now reference the 20MA cumulative ratio unless there is not enough data (ticker has not been trading for at least 20 days).

If there is less than 20 days and more than 10 days, it will reference the 10MA.

If there is less than 10 days of trading, the plot will be zero.
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact kmack282 for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

The author of this script can no longer grant access to it. Please don't request access.

Want to use this script on a chart?

Warning: please read before requesting access.