Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I want to plot the average relative volume for an instrument inside the Market Analyzer.
At present I have the Daily Vol as one of the standard columns, this is great but I want to also to be able to plot the "average relative volume" alongside that, to see whether the volume at that particular time of day is below or above an average.
Will this relative volume indicator do that? I have added it to the columns, but at present it is simply displaying the instrument price, obviously I have something set wrong.
I would like to be able to plot what the average volume was, at that particular time of day, based on an average of the last 30 trading days, for instance.
Can you help answer these questions from other members on NexusFi?
I was looking at this over the weekend and I am still struggling to get this to work 100%. The indicator inside this thread simply returns the instrument price, not the "relative volume"… I can't work out what that is. Can anyone help?
If anyone has other suggestions on how to get the exact "relative volume" I want, into the market analyser, i´d be grateful to hear from you.
have to say I'm anything but an expert when it comes to market analyzer
but I believe the problem is your look back period being too short. attached is a ma template with relative volume. however maybe better to wait for an updated version of this indicator.
You´re right. I had the lookback set at 500 candles, I assumed that would be more than enough… it wasn´t. I changed it to 1000 and the figures dropped in. Thank-you.
I have updated the Relative Volume indicator. The update is a completely new indicator with a different design. The new design is by far more efficient and reduces CPU load. This is in particular true, if the calculations are performed over a longer lookback period.
Another issue that is now solved is the behaviour with different data feeds. Some datafeeds insert an artificial minute bar, if there is no transaction. Other simply do not plot a minute bar, so there may be only some 23 or 37 minute bars per hour during the early morning. In this case it is difficult to calculate an average from non existing bars. The old indicator could not cope with this situation and did not work correctly with all data feeds.
If there is no minute bar available for a specific period of the referenced day, there are two possible solutions that can be adopted. Either the volume can be set to zero for that period, or the period can be ignored and the average then be calculated from fewer or earlier bars. I have opted for the second solution, and this for two reasons. In the first place it avoids that the relative volume indicator shows huge peaks off-session which cannot be used for trade analysis. Secondly, if there is a period with zero volume, the indicator is not capable to determine whether the exchange was closed, or whether the exchange was open and no trade took place. Therefore it is best to eliminate these cases and not use them for the calculations.
With the new indicator I have introduced an option to calculate relative volume by
- comparison of today's volume with the average volume of the prior N business days (new option)
- comparison of today's volume with the average volume of the same day of the week over the prior N weeks (option already available with old version)
The cumulated relative volume of the day shows the degree of traders' participation and be used as a filter for discretionary and automated trading.
Summary
- new indicator is CPU efficient and calculates considerably faster than the old version
- indicator copes with different data feeds
- new option introduced to calculate relative volume
- indicator can be used as filter with automated strategies
For example you could run a countertrend strategy when cumulated relative volume is low, but focus on breakout strategies when cumulated relative volume is above average.
Kinda doing it right about now.As you can see in the attached,i don`t counter per se,but just buy/sell on the CumRatio dip below 100,but in the current VWAP direction.Main thing is in the execution, though.Still needs some improvement ,but feels promising.
may i ask you,what the referenceVolume within the code means?What`s referring to?Is that the same logic used,that it is with IntradaySeasonality study(meaning the current High volume referres to the last peaking volume some arbitrary N period ago)?