Up Down Volume Ratio by 3iauThis script considers the total volume within a user specified time frame, and whether price closed higher or lower at the end of each period within that time frame.
EXAMPLE:
* If the time period of interest is 50-periods, the script considers the volume within each of those 50 periods beginning with the most recent closed period.
* SumUpVol = the sum of all volume occurring within only those periods where price closed higher than that of the previous period.
* SumDnVol = the sum of all volume occurring within only those periods where price closed lower than that of the previous period.
* Difference = the difference between SumUpVol and SumDnVol = SumUpVol - SumDnVol
* Total = the sum of SumUpVol and SumDnVol = SumUpVol + SumDnVol
* The plot will present the change in Difference divided by Total = Difference/Total = (SumUpVol - SumDnVol)/(SumUpVol + SumDnVol) occurring within those 50 periods. What will be plotted is the moving average of this value. The user can specify the moving average type and the number of period for which the average is calculated.
* The plot needs to be fitted into a range, for example, +/- 50 (default) or +/-100, by multiplying the result of Difference/Total by a user specified constant. The constant will contain the majority (not all) of the values within +/- the specified value.
* Range = the user specified constant. If Range = 50, the majority of values plotted will be fall within the range +/- 50.
* Therefore, what is plotted is the moving average of Range * Difference / Total.
* When the value = 0, accumulation = distribution over the user specified 50-periods time frame.
* When the value is positive, accumulation > distribution over the user specified 50-periods time frame.
* When the value is negative, distribution > accumulation over the user specified 50-periods time frame.
This plot allows one to see possible accumulation and distribution occurring within a particular stock. The slope of this plot must be considered, and not any single value. The selected constant (“Range” in the example above) does not have an effect on the slope of the plot.
Three values may be plotted at once, for comparison of accumulation or distribution occurring over different time frames. For example, compare Difference / Total calculated over a 50-periods timeframe with 10-periods timeframe, both time frames beginning with the most recent closed period.
In addition to the above, J. Welles Wilder’s Relative Strength Index (RSI) can be plotted over the Difference / Total.
NOTE: this script is not the same as the more commonly used Up/Down Volume Ratio defined as SumUpVol / SumDnVol over a 50-periods time frame, where SumUpVol = the sum of all volume occurring within only those periods where price closed higher than that of the previous period, and SumDnVol = the sum of all volume occurring within only those periods where price closed lower than that of the previous period.
Compare...
Up Down Volume Ratio = SumUpVol / SumDnVol
Up Down Volume Ratio by 3iau = the moving average of Range * (SumUpVol - SumDnVol) / (SumUpVol + SumDnVol)
Volumeratios
Daily Short Volume RatioThe short volume ratio is the number of shares sold short divided by the average daily volume and is used to indicate sentiment. In its most basic form, short volume ratio above 0.5 indicates more folks are shorting the stock while a short volume ratio below 0.5 indicates more folks are buying the stock. Short volume and total volume data is collected daily from FINRA for the NYSE and the NASDAQ exchange and represents lit markets. Daily short and total volume is calculated after the exchanges close so will lag by a day on the chart.
This indicator displays the short volume ratio for the last 1, 2, 3, 4, and 5 days and includes a smoothing function (def: off) to better visualize trends.
The indicator also includes the ability to view the short volume ratio for the last day for a reference ticker (def: SPY) to compare with total market sentiment.
Thanks to those before me for providing ideas and code.
Up/Down Volume RatioUp/Down Volume Ratio is calculated by summing volume on days when it closes up and divide that total by the volume on days when the stock closed down.
High volume up days are typically a sign of accumulation(buying) by big players, while down days are signs of distribution(selling) by big market players. The Up Down volume ratio takes this assumption and turns it into a tangible number that's easier for the trader to understand. My formula is calculated using the past 50 periods, be warned it will not display a value for stocks with under 50 periods of trading history. This indicator is great for identify accumulation of growth stocks early on in their moves, most of the time you would like a growth stocks U/D value to be above 2, showing institutional sponsorship of a stock.
Up/Down Volume value interpretation:
U/D < 1 -> Bearish outlook, as sellers are in control
U/D = 1 -> Sellers and Buyers are equal
U/D > 1 -> Bullish outlook, as buyers are in control
U/D > 2 -> Bullish outlook, significant accumulation underway by market makers
U/D >= 3 -> MONSTER STOCK ALERT, market makers can not get enough of this stock and are ravenous to buy more
U/D values greater than 2 are rare and typically do not last very long, and U/D >= 3 are extremely rare one example I kind find of a stock's U/D peaking above 3 was Google back in 2005.
MAKE SURE TO HIT THE SETTINGS WHEEL AND CHECK THE BOX NEXT TO PLOT IN ORDER TO GET RID OF THE PLOTTED LINE.
Ultimate Volume OscillatorThis is a Premium Volume Oscillator indicator which aims to set a framework for Advanced Volume Studies.
The indicator allows plotting multiple Volume Oscillators based on a variety of volume sources, including:
OBV
A/D
VPT
Multiple Volume Ratios
It also includes the ability to spot potential divergences:
Regular Divergences
Hidden Divergences
Advanced selection of Divs settings
And includes the Volatility Belt, which is super-useful to spot volatility changes in sync with volume shifts.
Additional volume studies might be included down the road.
If you're interested in this one, please PM me.