Volume+ (RVOL/Alerts)

This indicator colors the volume bars based on any of the three follow criteria:

- Volume Amount
- RVOL (Relative Volume )
- Lookback (Highest Over Period)

You can use one, two or all three of these settings at the same time.

You can also set alerts with this indicator. The script will trigger an alert whenever any of the three specified flags are triggered.

RVOL is calculated as: Volume divided by Moving Average value. You can change the moving average period (and type) in the settings.
Phát hành các Ghi chú: Added option to draw Volume Amount and Lookback Thresholds
Phát hành các Ghi chú: Minor improvements
Phát hành các Ghi chú: Updated to Pine Script version 4
Phát hành các Ghi chú: Removed an input setting (show MA) and moved it to Style menu
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
If you want to master Pine Script coding, watch my free YouTube lessons or get the source code to my scripts then check out my Pine Script Mastery Course website: https://www.pinescriptmastery.com

Bình luận

hi there, quick question, does the rvol portion of this indicator work on a time of day average? Im looking for a simple rvol indicator that calculates based on specified average for time of day. Eg average volume for last x periods on 5 min chart at 9:35am is 100'000, today at 9:35 volume is at 200'000, so rvol is 2x. Hope you cane help!
+3 Phản hồi
tb12345 tb12345
@tb12345, also thank you for putting this togetjer!
+1 Phản hồi
@tb12345, You're welcome, thanks for the comment & I'm glad you like it!

The purple line RVOL for this indicator is calculated using a moving average for the past X periods, and then multiplying that value by whatever RVOL threshold you set.

So if you set the Moving Average period to 288 on the 5-minute chart, and then set the 'RVOL to Trigger Signal' threshold to 2, then it would compare the current volume candle to the moving average of the past 288 candle's worth (1440 minutes/24hrs) of price action. And if the current candle's volume is twice as large as the average volume for the past 288 candles of price action, it would trigger an alert/color the bar.

Is that what you were hoping for?
Phản hồi
tb12345 ZenAndTheArtOfTrading
@ZenAndTheArtOfTrading, Hi there, thanks for getting back to me! That makes sense, but unfortunately not what i was looking for. What i was trying to acheive was rather than the look back period for the MA to be 288 candles worth on the 5 min, which would really give me the average of the last days worth of 5 min candles, im looking for the RVOL MA parameter to be say 20 days worth of the 5 min chart afor that particular bar say the 9:30-9:35 bar. E.g. lets say todays volume between 9:30 and 9:35 is X. Im looking for the RVOL to not just look back at the immediate preceding 5 mins candles specified in the MA parameter and compare it to that average volume, Im hoping to get it to look back at the 9:30-9:35 bar from the day before, and the day before that and the day before that and so on, so the volume comparison becomes time relevant. This helps get a better read on spikes in volume at the open and close relative to how those same opening and closing bars performed in the last X (MA) days. I think i did a terrible job of explaining but hope that makes sense! Thank you again for putting this out there for the community. A good example is here in case you can help:
+2 Phản hồi
@tb12345, Ahhh I see what you mean now, that's a great idea! I am not sure if it's possible to code an indicator like that in PineScript but I will give it a go. I would also love to have an indicator like that.

Thanks for the suggestion, I'll let you know if I have any luck creating it.
Phản hồi
tb12345 ZenAndTheArtOfTrading
@ZenAndTheArtOfTrading, no worries, thanks for getting back to me, really appreciate it, Would be a great edition for the community if you could, as ive spent some time looking and dont see anyone here who has it. Good luck!
+1 Phản hồi
thank you kind sir for this, very good code
+1 Phản hồi
Đã xóa bình luận.
scamArtist ZenAndTheArtOfTrading
@ZenAndTheArtOfTrading, cool..bookmarked it , tx for * bro , keep up the good work :)
Phản hồi
Hello, thank you very much for the script, It have been helpful in what I was looking for, but your code is hard for me to understand, because I have a very basic level of Pine Script...

Could you help me with a quick question...?

How could I create a signal if the amount of the volume exceeds 500 contracts and it generate a mark as a cross on my graphic...

Thanks in advance for your guidance.
+1 Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Giới thiệu bạn Xu Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất