Pip Foundry - Simple OBVMy premium indicators are available for monthly lease at www.tradingview.com
On request from SunnyBTC for trading Forex pairs that do not themselves have any volume indication.
The concept: A simple OBV that will display the volume of a security other than what you are charting.
Edit: This script has been updated.
Indicateur de Volume
Pip Foundry - Simple VolumeMy premium indicators are available for monthly lease at www.tradingview.com
Requested by user SunnyBTC for use in the Forex market on the EURUSD pair.
This simple indicator will allow you to view the volume of a security other than the one you are currently charting.
Edit: This script has since been updated. Please see related link at bottom.
Volume Accumulation Percentage Indicator [LazyBear]Volume Accumulation Percentage Indicator (VAPI) is a variation of the classic volume-accumulation indicators. It uses volume the same way as OBV except that it assigns volume weights based on intraday volatility.
In a positive trend, if the stock price is close to a (local) new high, the VAPI should be at its maximum as well (and vice versa for a negative trend). If the market is looking for a direction, if the price is in the bottom side of his current trading range and if, at the same moment the VAPI osc slopes up, there is accumulation on the stock and that the prices should start to climb. The SELL signal is given when the VAPI decreases (distribution). Divergences are usually very effective too.
Tuning the "length" parameter may be needed for your instrument (default is 10), do let me know if you find a different value to be optimal for majority of instruments.
List of my public indicators: bit.ly
List of my app-store indicators: blog.tradingview.com
Fisher Transform of On Balance Volume (by ChartArt)A simple mash-up of the On Balance Volume (OBV) indicator with the Fisher Transform indicator (blue) with the classic Fisher Transform signal trigger (silver color), plus a linear regression as a second signal line (red).
I recommend to use a period for the linear regression which has the same speed or is slower than the period of the Fisher Transform to avoid overshooting.
P.S. Here are three areas where the indicator worked quite good on historic charts
Volume BombI am republishing to use a clean chart. Previous one had too much of a mess. Idea for TradingView: Please allow us to change out the charts after publishing.
I like to know when volume spikes (only when it spikes). I am not interested in seeing the rest of the volume bars. I created this indicator to show me when it explodes (i.e. the name "Volume Bomb" , plus it sounds cool).
This indicator only shows you when volume exceeds the EMA of volume by whatever multiplier you set.
Default settings are the current volume with 10 EMA. Yellow arrowup will appear when volume is at 1.5x the 10 EMA.
Adjust it to your liking and particular stock.
Time Segmented VolumeTime Segmented Volume
an indicator I was asked to port by sunnyd76
CREDITS: quant.stackexchange.com
If you like it I would also be happy about a small donation
BTC 1GyfGTBsVHMbPovFGFeipe7b7ET1aebGx5
Questions or Comments? Just send me a PM!
Price Volume Rank [LazyBear]Price-Volume Rank, designed by Anthony J. Macek, compares the direction of the change in price (up or down) to the direction of the change in volume and assigns a number to that specific relationship. By quantifying price/volume interaction, P-V rank seeks to determine our position within a typical market cycle.
The various modes shown on the chart above or explained below. Also, read on for a little trick using the new Pine feature that you can use in your script.
How to read the PVR?
-------------------
The most desirable market condition occurs when both price and volume are moving up, that phenomenon is assigned a PVR of 1.
The next most desirable condition, when prices are still moving up but volume is diminishing, is given a PVR of 2. Although still technically healthy, this relationship between price and volume issues a warning that market momentum is weakening.
The worst-case scenario, seen when selling pressure is greatest with prices dropping and volume
increasing, is given PVR's weakest designation, 4.
Finally, even though prices are still moving down, volume begins to diminish as selling pressure abates. This price/volume relationship is assigned a PVR of 3, often alerting us to a potential buying opportunity ahead.
What do the modes mean?
----------------------
1) Histogram Mode: This plots PVR along with helpful ranges. Be careful when PVR is trending at turn-around points.
2) MA Crossover Mode: This plots a slow/fast MA of PVR. Default is 5/10 SMA. Buy is signalled when slow MA falls below fast MA. Sell is signalled when slow MA crosses up fast MA. There is a warning line at 2.5 that can be used for more confirmation.
3) Double Smoothed Crossover Mode: Same as MA crossover, but PVR is smoothed more. Warning line (2.5 level) is very useful in this mode. Use slow MA as the signal and fast MA of PVR for tracking the market.
Misc notes:
-----------
This won't work for Forex and other instruments for which TradingView doesn't expose volume. Thanks to the new Text rendering feature of PlotShape(), I can actually let users know of that :) Good use-case, eh? I will post a sample chart below in the comments.
Feel free to use any part of this code in your indicators.
More info:
--------
Stocks & Commodities V. 12:6 (235-239): Price-Volume Rank by Anthony J. Macek
Complete list of my indicators:
-----------------------------
docs.google.com
VPT_OBVThis is a derivation of the On Balance Volume Indicator.
The idea behind it is that volume consists of two parts. The driving theory is the basic law of supply and demand.
Part 1: Volume consists of shares traded at an equilibrium price. An equal number of buyers and sellers are present during this volume. This area is displayed as the upper and lower shadows on a single candlestick. For this indicator, volume traded in equilibrium is not included in the display.
Part 2: Volume consists of shares that are not traded at an equilibrium price, driving price up or down for the time period. In this volume, buyers or sellers are not present in equal numbers. This area is displayed as the body of the candlestick. This indicator focuses on this part of volume.
VPT_OBV plots only the volume that occurs at the difference in price between the open and the close. To achieve this, volume is divided by the difference between the high and the low (in pennies). Next, the difference between the open and close is calculated (in pennies). Volume is then divided by the difference in the high and low, to get the amount of volume needed to move the asset up or down by $0.01 during the time period. This number is then multiplied by the difference between the open and close.
VPT_OBV plots the outcome as a cumulative total. A simple moving average of the VPT_OBV is thrown in to provide smoothing.
Vol color barsHighlight bars according it's volume releative to near candles. This script usefull for VSA trading.
Red bar - extrime high volume
Orange bar - volume is high
Grayish bar - volume is normal
Green bar - volume is low
Blue bar - almost no volume
Volume MTFThis is a simple indicator you can use to separate volume from price on your chart. You can also select different time frames (MTF).
Thanks to LazyBear for cleaning up my previous messy code.
No Volume SVAPO [LazyBear]This is a no-volume version of Vervoort's SVAPO. The original version is @
Since it doesn't include volume in its calculations, you can use this on FX.
More info on SVAPO:
More info:
stocata.org
stocata.org
BTW, this is my 150th script. Plenty more to come, my to-publish queue is still full of new stuff :)
For a complete list of my other indicators, do check out the links below:
- GDoc: docs.google.com
- Chart:
Modified Price-Volume Trend Indicator The related article is copyrighted material from Stocks & Commodities Apr 2010.
Percent Volume Oscillator(by ucsgears)A good measure to see how excited the herd is, before chasing a move. Very Useful when trading explosive stocks like, FNMA, PLUG, USU. I use this to filter when not to chase. Once you get familiar with this. You can trade the stocks with just Volume and Price.
Also a good filter on how good a breakout is.
Further Reading - tinyurl.com (Stockcharts - Chart School)
List of All my Indicators - www.tradingview.com
Good Luck
Short-term Volume And Price Oscillator [LazyBear]Short-term Volume and Price Oscillator (SVAPO), developed by Sylvian Vervroot, combines both Price and Volume to construct an oscillator. In essence, when the price is trending up and volume is increasing, volume is added into the oscillator calculation. Conversely, when price is trending down and volume is increasing, volume will be subtracted from the oscillator. During consolidation phases when price and volume diverge, volume is not used to calculate the oscillator.
Some notes from his book:
- A buy is indicated when the oscillator is below the green line but greater than yesterday’s value.
A sell is indicated when the oscillator is above the red line but less than yesterday’s value.
- The start of a short term up move is signaled by SVAPO when it turns up from below the lower standard
deviation boundary. The same is valid for a short term down move when SVAPO turns down from above the
upper standard deviation boundary.
- Medium term turning points in an up or downtrend are mostly announced with a divergence between price and
SVAPO. In a medium term uptrend, SVAPO will generally continue to move above the 0-reference line.
More info:
stocata.org
stocata.org
Vervroot sometimes uses this with his modified %B oscillator ().
List of my other indicators:
- Chart:
- GDoc: docs.google.com
Elastic Volume Weighted Moving Average & Envelope [LazyBear]Elastic Volume Weighted Moving Average (eVWMA) is a statistical measure using the volume to define the period of the moving average. The eVWMA can be looked at as an approximation to the average price paid per share. Multiplier is usually the number of shares, but it can be approximated using cumulative sum of volume (Enable it via "Use Cumulative Volume" option) or sum of volume over "n" periods.
I have also added an option to draw eVWMA envelope (eVWMA on HLC).
More info:
christian-fries.de
List of all my indicators:
- Chart:
- GDoc: docs.google.com
Combining Exponential And Volume WeightingThe related article is copyrighted material from Stocks & Commodities 2009 Oct
The Volume-Weighted MACD HistogramThe related article is copyrighted material from Stocks & Commodities 2009 Oct
Colored Volume Bars [LazyBear]Edgar Kraut proposed this simple colored volume bars strategy for swing trading.
This is how the colors are determined:
- If today’s closing price and volume are greater than 'n' days ago, color today’s volume bar green.
- If today’s closing price is greater than 'n' days ago but volume is not, color today’s volume bar blue.
- Similarly, if today’s closing price and volume is less than 'n' days ago, color today’s volume bar orange.
- If today’s closing price is less than 'n' days ago but volume is not, color today’s volume bar red.
Buy the green or blue volume bars, use a 1% trailing stop, and stand aside on red or orange bars.
As you see, this is more for entry confirmation. I have not tested this on any instrument.
You may have to tune the lookback period for your instrument. Default is 10.
More info:
"A color-based system for short-term trading" - www.traders.com
List of all my indicators:
Indicator: HawkEye Volume IndicatorHawkEye volume, developed by Nigel Hawks, is supposed to be a premier VSA indicator. Documentation on this is scarce (looks like the training seminars/sessions conducted by the parent company cover this in detail), if you come across any (other than what I have mentioned on that chart) do let me know.
I am not sure how much this resembles the commercial indicator out there as I don't have access to one (noticed the "clone" part? :) ). This is a direct port of a similar MT4 indicator. If you have access to the commercial indicator in another platform, do post some comparison results.
Volume Flow Indicator [LazyBear]VFI,introduced by Markos Katsanos, is based on the popular On Balance Volume (OBV) but with three very important modifications:
* Unlike the OBV, indicator values are no longer meaningless. Positive readings are bullish and negative bearish.
* The calculation is based on the day's median (typical price) instead of the closing price.
* A volatility threshold takes into account minimal price changes and another threshold eliminates excessive volume.
A simplified interpretation of the VFI is:
* Values above zero indicate a bullish state and the crossing of the zero line is the trigger or buy signal.
* The strongest signal with all money flow indicators is of course divergence.
I have exposed options to plot a signal EMA. All parameters are configurable.
Markos suggests using 0.2 coeff for day trading and 0.1 for intra-day.
More info:
www.precisiontradingsystems.com
TFS: Volume Oscillator This is the second part of TFS trading strategy. The concept of this
indicator is similar to that of On-Balance Volume indicator (OBV). It
is calculated according to these rules:
If Close > Open, Volume is positive
If Close < Open, Volume is negative
If Close = Open, Volume is neutral
Then you take the 7-day MA of the results.
Positive Volume Index (PVI) The theory behind the indexes is as follows: On days of increasing volume,
you can expect prices to increase, and on days of decreasing volume, you can
expect prices to decrease. This goes with the idea of the market being in-gear
and out-of-gear. Both PVI and NVI work in similar fashions: Both are a running
cumulative of values, which means you either keep adding or subtracting price
rate of change each day to the previous day`s sum. In the case of PVI, if today`s
volume is less than yesterday`s, don`t add anything; if today`s volume is greater,
then add today`s price rate of change. For NVI, add today`s price rate of change
only if today`s volume is less than yesterday`s.
Klinger Volume Oscillator (KVO) The Klinger Oscillator (KO) was developed by Stephen J. Klinger. Learning
from prior research on volume by such well-known technicians as Joseph Granville,
Larry Williams, and Marc Chaikin, Mr. Klinger set out to develop a volume-based
indicator to help in both short- and long-term analysis.
The KO was developed with two seemingly opposite goals in mind: to be sensitive
enough to signal short-term tops and bottoms, yet accurate enough to reflect the
long-term flow of money into and out of a security.
The KO is based on the following tenets:
Price range (i.e. High - Low) is a measure of movement and volume is the force behind
the movement. The sum of High + Low + Close defines a trend. Accumulation occurs when
today's sum is greater than the previous day's. Conversely, distribution occurs when
today's sum is less than the previous day's. When the sums are equal, the existing trend
is maintained.
Volume produces continuous intra-day changes in price reflecting buying and selling pressure.
The KO quantifies the difference between the number of shares being accumulated and distributed
each day as "volume force". A strong, rising volume force should accompany an uptrend and then
gradually contract over time during the latter stages of the uptrend and the early stages of
the following downtrend. This should be followed by a rising volume force reflecting some
accumulation before a bottom develops.