Cumulative Volume Ratio v1.0

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.
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.
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.
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.
Skript nur auf Einladung
Ausschließlich Nutzer mit einer Erlaubnis des Autors können Zugriff auf dieses Script erhalten. Sie müssen diese Genehmigung bei dem Autor beantragen. Dies umfasst üblicherweise auch eine Zahlung. Wenn Sie mehr erfahren möchten, dann sehen Sie sich unten die Anweisungen des Autors an oder kontaktieren Sie kmack282 direkt.
TradingView empfiehlt NICHT, für die Nutzung eines Scripts zu bezahlen, wenn Sie den Autor nicht als vertrauenswürdig halten und verstehen, wie das Script funktioniert. Sie können außerdem auch kostenlose Open-Source-Alternativen in unseren Community-Scripts finden.
Hinweise des Autors
Warnung: Lesen Sie bitte unseren Guide für "Invite-Only" Scripts, bevor Sie den Zugang beantragen.
Haftungsausschluss
Skript nur auf Einladung
Ausschließlich Nutzer mit einer Erlaubnis des Autors können Zugriff auf dieses Script erhalten. Sie müssen diese Genehmigung bei dem Autor beantragen. Dies umfasst üblicherweise auch eine Zahlung. Wenn Sie mehr erfahren möchten, dann sehen Sie sich unten die Anweisungen des Autors an oder kontaktieren Sie kmack282 direkt.
TradingView empfiehlt NICHT, für die Nutzung eines Scripts zu bezahlen, wenn Sie den Autor nicht als vertrauenswürdig halten und verstehen, wie das Script funktioniert. Sie können außerdem auch kostenlose Open-Source-Alternativen in unseren Community-Scripts finden.
Hinweise des Autors
Warnung: Lesen Sie bitte unseren Guide für "Invite-Only" Scripts, bevor Sie den Zugang beantragen.