Running Relative Volume


Category:
0
0

Hello Mr. Hahn,

Something I’ve been searching for but haven’t found yet – I’d like to add a column to my watchlists for Relative Volume. Ideally I’d like it to update on the fly, but at a minimum I need it to update on a 1-min basis. What I’m looking for is to look at stock ABC at, for example 10:14 am and have a Relative Volume value that represents the ratio of today’s volume thru 10:14 as compared to the average 10-day volume for ABC thru 10:14 am. Is there a script for this? Thanks so much.

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on March 10, 2020 9:44 pm
224 views
0
We get this a lot so let's make sure we understand what you are referring to. There is no chart study named "Relative Volume". There is one named RelativeVolumeStDev. But for some reason everyone posting on the forum is referring to it as "Relative Volume". Which may be one reason you are not finding anything on this. Once we get that cleared up we need to understand how you want this "ratio" computed. Something like "RelativeVolumeStDev divided by the 10 period simple moving average of RelativeVolumeStDev"? Is that what you are trying to display in your watchlist column?
( at March 11, 2020 7:00 am)
0
Private answer

Please see my comment added to the bottom of your question and respond so that we can provide a solution.

Marked as spam
Posted by (Questions: 37, Answers: 4117)
Answered on March 13, 2020 7:18 am
0
Thank you for your reply. I am not concerned with RelVolStdDev. I'm only concerned with the simple ratio of the current trading volume of a stock with respect to the 10-day trading volume for that stock FOR THAT EXACT SAME INTRADAY TIME PERIOD. I just need the script for that calculation to insert into a custom MarketWatch column indicator. Ideally it would update "on the fly", or tick-by-tick. I.E., I see NVDA on my watchlist with a RelVol (from your script) of 3.25 at 9:45:05am. That would tell me that the current trading volume of NVDA, at 9:45:05am is 3.25x greater than the average of the previous 10 days volume at exactly 9:45:05 (from each day). It would be most helpful if this could update every tick, every few seconds, or at a minimum every minute. Thank you!
( at March 13, 2020 8:54 pm)
0
Thanks for explaining this more clearly. Well this has already been requested in the forum. We cannot build custom arrays in the Thinkorswim language and you can't really accomplish this without building a custom array. However this can be done in many other platforms. The only solution that comes close to this for Thinkorswim requires the code to be adapted to a specific time frame. Change the time frame and the code breaks.
( at March 14, 2020 7:45 am)