kmack282

Cumulative Volume Ratio v1.0

kmack282 Uppdaterad   
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.
Versionsinformation:
Start time set to 0700 EST.
Versionsinformation:
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.
Versionsinformation:
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.
Versionsinformation:
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.
Endast inbjudanskript.

Tillgången till detta skript är begränsat till användare som har godkänts av författaren och kräver vanligtvis betalning. Du kan lägga till det till dina favoriter men du kan bara använda det efter att ha begärt och fått författarens tillstånd. Kontakta kmack282 för mer information eller följ författarens instruktioner här under.

TradingView rekommenderar inte att du betalar för ett skript och använder det om du inte litar till 100% på författaren och förstår hur skriptet fungerar. I många fall kan du hitta ett bra alternativ med öppen källkod gratis i våra Community skripts .

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Författarens instruktioner

Författaren till detta skript kan inte längre ge åtkomst till det. Begär inte åtkomst.

Vill du använda det här skriptet i ett diagram?

Varning:Var god läs innan du begär åtkomst.