OPEN-SOURCE SCRIPT

Relative Volume

已更新
Relative Volume label in percent. So 400% RVol means, today's volume is 4x compared to avg volume for the length you selected.
版本注释
There was a mis-calculation on the script where if you change chart resolution, the RVol changes. But the intention of this script is, RVol should be same for the day whether you're on 1Hr chart or 3min chart or Daily chart. RVol is measured on daily basis to compare past N number of days.
版本注释
Couple of features added:
1. When chart resolution is Daily or Intraday (D, 4H, 1H, 5min, etc), Relative Volume shows value based on DAILY.
2. When resolution is changed to Weekly or Monthly, then Relative Volume shows corresponding value. i.e. Weekly shows weekly relative volume of this week compared to past 'N' weeks. Likewise for Monthly. You would see change in label name. Like, Weekly chart shows W_RVol (Weekly Relative Volume). Likewise, Daily & Intraday shows D_RVol. Monthly shows M_RVol (Monthly Relative Volume).
3. Added a plot (by default hidden) for this specific reason: When you move the cursor to focus specific candle, then Indicator Value displays relative volume of that specific candle. This applies to Intraday as well. So if you're in 1HR chart and move the cursor to a specific candle, Indicator Value shows relative volume for that specific candlestick bar.

Hope you find this useful.
版本注释
Updating the script so that text size and location can be customized.
relativevolumervolVolume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明