rVol v3. New Method. New Features.
I've been problem solving and found a new method to determine the proper intervals. You no longer need to enter the session length. However, you do need to know whether the ticker you're looking at makes an adjustment for Daylight Savings Time. Hilarious. But that is something there is no easy way to make known to the script so the user has to tell it.
This will work on just about everything I've tried it on. Indian stock market tickers, FOREX, Crypto, Futures. I've resolved the issue of irregular session lengths and session timing. So, really it should just work like we want it to.
If you want to test the accuracy of the script. Use the Validation Table check box to see what volume values are being evaluated. Also, a new feature is you can view historical states of arrays, so you can check not just the live bar, but the prior bars.
You will notice if you do that, there is an additional data point on the live bar. This is because a value has to be removed from the historical bars. It was including the completed bar that was the numerator in the equation, thus distorting the historical view. I resolved this, but as a byproduct, the current bar has an additional data point. But based on my observation this tends to barely have any affect on the live bar but does distort all the historical bars, so I left it that way.
Use on Seconds and D/W/M intervals.
You don't get a lot of chart history when using the seconds intervals. You really can't apply the same logic with that limitation. At the same time, if you're looking at a seconds interval, I figure you're most interested in what's going to be happening in the next couple minutes, thus making the context of the most recent minutes more valuable than things that happened thousands of bars ago. So, on the seconds interval the volume is going to be calculated the same way it is on the Daily, Weekly, and Monthly intervals. It will calculate the volume sequentially in the past rather than matching timestamps like it does on intraday bars. So 60 cycles on a (9:35AM) 5m bar will show you the Volume on this bar Relative to the last 60 (9:35AM) 5m bars, but on the 30 seconds interval (or the daily interval) you will be looking at the volume of this bar relative to the last 30 minutes (60 - 30 second bars) or 60 days (in the case of the daily chart). In testing the seconds intervals do seem to show momentum characteristics in the volume by doing it this way, which is something you're looking for trading on mega-ltfs.
New Features:
You will find that there are many unique ways to analyze volume information that can yield helpful data to consider in your trading. This of course already had rVol, Better-er volume, and bar coloring to match average thresholds.
I'm now introducing Volume Per Tick and the Z-Score of Log(volume).
Volume Per Tick = Volume / Ticks in range (high - low). This distributes the volume evenly between each tick and thus approximates about how much volume was required to move the price 1 tick. Its not dead accurate its on average. in cases of long wicks for example volume had to push it down, then push it back up. I've worked with this for a long time and the best results come from keeping it simple and just taking the volume / range and getting the general idea of how much volume was required to move price in that price range.
Z-Score of Log(volume) = (logVolume - avgLogVolume) / stdevLogVolume. Log volume in some ways normalizes the output while also making it a vector. The sample size chosen is 1000. Its a bit arbitrary, but that is a large enough sample to get a good idea of the mean and standard deviation. Then the log(volume) of the current bar is compared to it to generate a z-score. The coloring is different on these bars because what's important is the volume above or below the zero line AND was the candle a bull or bear bar. You'll see that in bear trends like we have now, you'll have red positive z-scores to be dominant. Also, when a very large z-score manifests, you'll notice that candle most often presents a very strong s/r level and if that level gets broken, then breakout is normally good for at least a scalp.
Volume trading is fantastic because "big money, makes money" most of the time (or they would be out of business) and they can hide, but they have a very being invisible. Also, you can see market consensus. It doesn't necessarily plainly give us a forecast, that's at your discretion to make your guess, but it reliably tells us exactly what everyone is doing right now. If you spend time with this indicator and really think through the implications of its calculations, I believe you will do very well with it.
I hope its useful to you. Trade well. (same as before. Let me know what bugs you come up with, but I think this method is going to be easy to work with)