OPEN-SOURCE SCRIPT

MM Relative Volume (RVOL)

ที่อัปเดต:
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.
เอกสารเผยแพร่
Fixed a bug where low volume symbols that are missing bars premarket weren't calculating properly, returning NaN.
relativevolumeVolume Indicator

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?


I release TradingView indicators and libraries designed to make you a better trader. For detailed info about them, head over to improve.trading
และใน:

คำจำกัดสิทธิ์ความรับผิดชอบ