Thank you very much for this indicator. If one could place this indicator in Ninjatrader's Market Analyser, one could be alerted of volume surges in any of the stocks in the watchlist. I have tried to do this but was not successful. Could you advise how it could be made to work. Thanks.
The relative volume indicator needs quite a long lookback period, as it uses all data of the n preceding weeks, also it will possibly slow down NinjaTrader if used simutaneously on several instruments. So I am not sure, whether it can be used via the market analyzer. For your purposes it might be eaier to determine a general intraday volume profile and then check against that profile by using daily volume and a factor derived from the volume profile.
Will think about a solution.
The following 7 users say Thank You to Fat Tails for this post:
Thanks again. I have a simple code in Sierra Charts which I call "Virtual Volume Buzz" which takes on the idea you mentioned. It compares the current day volume profile (based on 10 min charts ) against the average volume profile for the last 4 days. The code is appended below. As I am new to coding in Ninjatrader, I have not been able to code it in Ninjatrader. If it could be improved and coded for use in Ninjatrader's Market Analyser, it would be great!
SCSFExport scsf_VirVolBuzz(SCStudyGraphRef sg)
// Section 1 - Set the configuration variables
Thanks again Fat Tails. It works perfectly after trying out the various settings. Now the color of the bar change when it reaches a certain percentage level, below 80 RED, 81-119 WHITE, above 120 GREEN, according to the default setting. I wonder if there could be such an option that the color can change live against the proportional completion of time, e.g. in 1 min out of a 5 min chart, if the figure goes up above 24 (which virtually represents 120 in 5 min), and the color changes to green in that case. Similarily below 16 = RED, 16-24 = WHITE etc.
I believe 5 min is more reliable than 1 min, so I try not to use 1 min chart to accomplish what I suggested above. But sometime the great movement happens right in the middle of 5 min. Right now, I use your bartime to monitor the progress of the bar in the 5 min.
BTW, I still recall from time to time the great moments I spent in the Capital of BEAR back to my young age.
Agree that this should not be used on 1 minute bars. This applies to all volume indicators. There is too much random volume.
As I understand it, your wish just refers to the large bar. This would require to include a full bar timer within the indicator or to access the other bar timer. It certainly makes sense but is a lot of effort for such a little feature.
In the end it will give you the information of the relative volume for fractional bars, that is 1 minute bars within the 5 minute bars, which is not reliable anyhow, because that is reason that you use 5 minute bars.
I think I won't include it with the standard indicator, but maybe if I find some time, I will play around with it.
Thanks so much FT. Yes, I agree the existing one is already doing a great job. I particularly like the idea "relative" to previous the same time slot, instead of the previous n period. Do you know there are "relative range indicator" and "relative tick velocity indicator" etc. avaliable or that can be developed? I believe there could be predicative value like the "relative volume indicator" when we see the price movements(range/velocity) behave differently from what we usually expect in the past.
I have done an intraday range indicator as well, but it does not compare the ranges of the current bars to the ranges typically found. It just displays the average range for a certain period of a weekday to indicate whether that time is suitable for trading. I have used it to determine my optimum trading times.
The following user says Thank You to Fat Tails for this post: