OPEN-SOURCE SCRIPT

MM Relative Volume (RVOL)

Theo jmosullivan
What this script does:
This script shows you the "Relative Volume" (RVOL) value up to the current minute. RVOL is the volume from market open up to the current minute today, compared to the average of the same over the last n (30 by default) days.

How this script works:
There are a lot of indicators out there for RVOL, but they all take shortcuts that result in sub-par data. This indicator goes the distance to store data for every minute for the last n days for the current chart, then in sums the volume up to the current minute today along with the average of the same up-to-the-minute data from the prior n days to calculate the relative volume of the stock. It's super important to get this data up to the current minute, because most traders use this information primarily during the first 90 minutes of trading, and need to know if this value is going up or down.

How to use this script:
Relative volume can be used to gauge how "In Play" a stock is. If RVOL is less than 1 it is not "In Play" on this trading day and you might not want to trade it. If RVOL is above 2, it is "In Play" and you may want to trade it. When stocks are very "In Play", you can see an RVOL of 5 and above. The higher the RVOL the more "In Play" the stock is. You can also used RVOL for position sizing. If RVOL is <1 you may decide not to take a large position in the name. If RVOL is >3, this may give you more confidence to take a larger position as more reward and more liquidity should be present.

What makes this script original:
This particular implementation of RVOL has never been done before on TradingView to my knowledge. Most other indicators use a rolling average of the prior 30 days which is much easier to do, but this doesn't actually work properly because instead of getting large volume spikes from prior days filtered out correctly, it takes a LOT longer for those to even out as the rolling average eventually smooths down. Instead, with this indicator, any large/small volume days will truly drop off after the moving average length and the calculated average daily volume (ADV) will be accurate up to the minute. For more details on the original concept behind this indicator, check out the blog linked on my profile.
relativevolumeVolume Indicator
jmosullivan
I release TradingView indicators and libraries designed to make you a better trader. For detailed info about them, head over to improve.trading

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm