TradingView
R4Rocket
24 Th05 2019 15:25

RVOL - R4Rocket 

ADANI PORT SPECIALNSE

Mô tả

Relative volume or RVOL for short is an indicator that is used to measure how 'In Play' the stock is. Simply put, it helps to quantify how interested everybody is in the given stock - higher the value, higher the interest and hence higher is the probability for movement in the stock.

I have tried to create RVOL (Relative Volume ) Indicator as per the description that I read on SMB Capital blog. The blog is a great resource.

...................................................................................................................................................................................

How to use the indicator - The indicator is meant for INTRADAY ONLY.


The indicator has following inputs -

1. RVOL Period - Value from 3 to 14 (Default Value = 4)
This is used to calculate the average volume over the given period of days. e.g. average volume for the last 5 days, last 3 days, last 10 days etc. NOTE - If you use higher RVOL Period on smaller timeframes, the code will give an error. So I recommend using 4 or lower for 5 min timeframe. (Nothing will work on 1 min chart and you can experiment for other timeframes.)


2. RVOL Sectional - True / False (Default Value = False)
If you check this box then you will be able to calculate the RVOL for a particular session (or between particular sessions) in that trading day.

What do I mean by session?
Well I have divided the trading day into 6 (almost) equally spaced sessions in time, i.e. 6 hours and 15 mins (for NSE - India) of trading day is divided into 1 hr - 1st session, 1 hr - 2nd session, 1 hr - 3rd session, 1 hr - 4th session, 1 hr - 5th session, 1 hr and 15 min - 6th session.


Before using 3rd and 4th inputs of indicator, RVOL Sectional box MUST BE CHECKED FIRST.

3. RVOL From Session - 1 to 6 (Default Value = 1)

4. RVOL To Session - 1 to 6 (Default Value = 2)

Now if you select 2 in "RVOL From Session" input and 3 in "RVOL To Session" input, the indicator will calculate RVOL for the 2nd and 3rd hour of the trading day. If you select 3 in both the inputs, then the indicator will give RVOL for the 3rd hour of the trading day.


5. RVOL Trigger - 0.2 to 10 (Default Value = 2)
Filter to find days having RVOL above that value. The indicator turns green (or colour of your choice) when RVOL is more than "RVOL Trigger".
...................................................................................................................................................................................

Hope this indicator will add some value in your trading endeavor.




“Only The Game, Can Teach You The Game” – Jesse Livermore



Yours sincerely,
R4Rocket


**If you have some awesome idea for improvement of the indicator - request you to update the code and share the same.

Phát hành các Ghi chú


Well earlier the indicator was only useful if you were trading on NSE-India. (Heyy !! What about other exchanges like NASDAQ, LSE, TSX, HKEX ?)

USELESS indicator!!!!!!!!

So now the Indicator is a bit more USEFUL as I have added the support for EVERY EXCHANGE in EVERY CONTINENT. (Sounds great, doesn't it ?)

All you have to do is select the Exchange Start Time and End Time (as per the exchange local time) in the inputs.
e.g. For NASDAQ use Start Time - 9:30 and End Time - 16:00.

(If you are residing in India and you wish to use the indicator on TESLA INC - NASDAQ, you have to change your platform timing to UTC - 4, which is New York Timezone, and then check the NASDAQ Start & End time as per the chart, or you can just google it!).



Cheers !!
R4Rocket

Phát hành các Ghi chú

You can now USE THE SCRIPT ON 1 MIN CHART !!!!

Phát hành các Ghi chú

Now WORKING ON DAILY CHART






And also WORKING ON 1 MIN CHART


Bình luận
kiero
Thank you @R4Rocket !
Can't get it to work on Forex, FXCM exchange. Should I input the time of session open/close in GMT or my local time, or some other time?
R4Rocket
@kiero, Hey Kiero ! I basically created the indicator for stocks only. But if you want I will try to modify it so that it will work with Forex too.
kiero
@R4Rocket, thank you. Anyway, on your chart do you use your local time or GMT or EST? I'm not sure it's always working properly for me. My stock market runs from 10 am to 6.45 pm local time.
R4Rocket
@kiero, I use local time on my charts. So I think for you, the input should be 10:00 - 18:45
kiero
@R4Rocket, thanks!
When in Daily does it show accumulated volume compared to previous average of 4 days (or the set amount of days)?
R4Rocket
@kiero, Yess....It just divides daily volume by the average daily volume of 4 days (so intraday RVOL values and daily RVOL values will only converge at the end of the day). And btw is intraday RVOL working properly for you after changing the time inputs?
kiero
@R4Rocket, I'll check and maybe send screenshots.
R4Rocket
@kiero, Okk. I hope it works :)
kiero
@R4Rocket, so by the looks of it RVOL malfunctions if I'm in a too early timezone. E.g., NYSE runs from 17.30 to 23.45 my time. If I set close of the session to 23.45 it shows nothing, if I choose 0.00, it says it can't calculate.
R4Rocket
@kiero, Hey! You need to enter local time for that exchange. So if you are using it on NYSE, inputs should be 9:30 - 16:00 (NYSE Local Time).
Thêm nữa