OPEN-SOURCE SCRIPT

Volume Oximeter

OVERVIEW
The Volume Oximeter (VOXI) is a technical indicator that gauges the amount of volume currently present in the market, relative to the historical volume that was present before. The purpose of this indicator is to filter out with-trend signals during ranging/non-trending conditions.


CONCEPTS
This indicator assumes that trends are more likely to start during periods of high volume, compared to during periods of low volume. This is because high volume indicates that there are bigger players currently in the market, which is necessary to begin a sustained trending move.

So, to determine whether the current volume is "high", it is compared to an average volume for however number of candles back the user specifies.

If the current volume is greater than the average volume, it is reasonable to assume we are in a high volume period. Thus, this is the ideal time to enter a trending trade due to the assumption that trends are more likely to start during these high volume periods.

The default values in the indicator are designed for use on the daily chart but can be applied to any timeframe.

The default volume lookback period is 259 since there are usually 259 daily candles in a year on Forex daily charts. This means that the average volume will represent the average volume over the past year. This would be 365 on Crypto daily charts, since the Crypto is open 24/7 instead of 24/5). This is what the current volume will be compared to.

The default smoothing lookback period is 10, but this can be adjusted depending on the indicator that's giving you your with-trend signals. After my backtesting, 10 was the best value for my with-trend indicator, so you should do your own testing to see which value works best with your with-trend indicator.


HOW DO I READ THIS INDICATOR?
If the VOXI line is above or equal to zero (indicated by the blue color), the current volume is greater than the historical average volume.
This is a good time to take with-trend signals since high volume is necessary for sustained trending moves to begin.

If the VOXI line is below zero (indicated by the red color), the current volume is less than the historical average volume.
This is a good time to ignore with-trend signals since an absence of volume indicates that there aren't big market participants to participate in a new trending move.
deadzonefilternnfxrangerangefiltertrendTrend AnalysistrendfiltertrendingVolatilityVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer