Advanced VolumeThis simple indicator improves upon the built in volume indicator by adding the following:
-Option to use an EMA instead of SMA
-Advanced Coloring: Lighter bars show growing volume, darker bars show falling volume. Gray bars show very low relative volume (less than or equal to 50% of the moving average), while bars which have a highlighted background have a high relative volume( you can choose the threshold level, default is 2 times the RVOL).
Enjoy!
On Balance Volume (OBV)
Cumulative Volume OscillatorCVO: Cumulative Volume Oscillator allows you to choose between 3 types of oscillators based on volume indicators:
-OBV (On Balance Volume)
-CVD (Cumulative Volume Delta)
-PVT (Price Volume Trend)
Being a volume based oscillator this indicator allows for the detection of divergences between price action and volume, ideal for predicting reversals.
As an oscillator you can choose the length of the fast & slow EMAs, and a signal line is provided for trend following.
Trigonometric On Balance Volume (OBV) OscillatorLove volume analysis but it's hard for you to implement a simple strategy by it?
Use OBV.
Is OBV still not quite as it should be for you to get it in your trading system?
Use OBV Oscillator.
Does OBV Oscillator give you too many false signals and when you smooth it, it lags by a ton?
Then this indicator is the answer to your problem.
Introducing the Trigonometric OBV Oscillator.
The Trigonometric OBV Oscillator or "Trig OBV" for short, uses an old, but uniquely extremely reliable mathematical formula to smooth the OBV, while eliminating more than 95% of its false signals (noises) and keeping with the real direction of the trend without introducing any lags.
It is very responsive, predictive even to some degree, very reliable, and keeps you out of false trades (like false breakouts, sudden changes in the price, etc).
To go long: wait until the white line crosses up the purple line and continues in that direction.
To go short: wait until the white line crosses down the blue line and continues in that direction.
To exit, do the opposite.
Better to be used with a baseline filter such as Kaufman's moving average.
Use it and let me know what you think about it.
OBV High / LOW (On-Balance Volume )This is a simple application of OBV indicator (On-Balance Volume ), to visually determine when a given stock current obv is near the highest or lowest based on the number of lookback bars.
Indicator examples:
### OBV value is near an all-time high ##
breakthrough , stock value could set new all-time highs.
rejection , stock value could come down or consolidate.
Example
Inputs
OBV High Lookback -> numbers of bars to look back for the obv high.
OBV LowLookback -> numbers of bars to look back for the obv low.
OBV EMA Length -> Ema length
Notes:
This script also comes with an ema indicator based on obv for smoothing the obv signal since it gets noise at lower timeframes (by default comes disabled)
OBV information
www.investopedia.com
Comments:
This is my first script any ideas, suggestions, or detected errors (language/script) don´t hesitate to send a message.
Best regards, Mauro.
On Balance Volume HLOC with AverageI am playing OBV now.
The original OBV is only calculate CLOSE.
I got an idea about XOBV with HLOC.
A bar has 5 periods:
- Open--Low--Open--Close--High--Close or
- Open--High--Open--Close--Low--Close
Assume that volume will evenly distributed on these 5 periods. Only Open--Close period has effective changed volume.
So XOBV = OBV * abs(close-open)/(2*(high-low)-abs(close-open)))
Better use XOBV and OBV both. Divergence and same price comparison are worth to watching.
Bollinger Bands OBVBB OBV is a Volume-based indicator that shows the balance and performance of the market.
Spots Support and Resistance levels within a growth/decline cycle.
Can be used for different Time Frames.
Length can be changed to a bigger number to adjust it to the smaller TF.
Structure AnalyzerA momentum indicator that uses the highest and lowest values for price in three different lookback lengths to find the performance relative to three timeframes.
- The yellow line is the product of the price performance in three different timeframes.
- The red line is 200 EMA of the performance.
- The blue columns represent the same calculation or the volume(OBV based).
- The aqua line is the 200 EMA of the volume performance.
How to use: Whenever the performance crosses above the 200 EMA, the price is in an uptrend.
Important: When in a downtrend, the performance will stay below the 200 EMA for a long time; hence it is important o wait until the crossover.
PRIME - R.o.c.M Ind. W/ TrendsThis experimental script is a variant of a model that allows a separate indicator window to be opened, revealing data for on balance volume, rsi, consumer commodity index and momentum indications. By use of the settings key, you can change the parameter of the source input as well as the desired lengths. After data compilation, the indicator will automatically draw any trend lines applicable to what is presented. The additional code is an attempt to allow the system to apply pivot points for alerts within the indicator itself.
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold the publishing TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
On Balance Volume + Trend + DivergencesModification of original OBV indicator, with addition of Divergences identification & coloring OBV Line based on line (OBV either above or below EMA20 applied to OBV). Indicator works great in correlation with Volume, Stochastic and DMI and shows potential reversals earlier.
Better OBVOBV with William C. Garrett's Approximation
In the classical OBV (On-Balance Volume) indicator, it simply takes the idea from traditional tape reading - treat the "up tick" as Buy, "down tick" as Sell, and it assumes no change in price as neutral* (*which is not the case in tape reading).
When it comes to interpret the daily volume as such, errors will add up cumulatively. For example, there are days when a Doji Star with high volume just merely one cent higher than yesterday price and the whole day volume would be taken as a BUY Volume....
Here is a gentlemen, William C. Garrett, attempted to break down the daily volume into two parts in his book - "Torque Analysis of Stock Market Cycle".
Published indicator has two modes: Cumulative and Time Segmented. Time Segmented Volume (TSV) - performs a MACD operation on the Garrett Money Flow.
Note on Divergence:
When using a indicator as Time Segmented Money Flow, divergence would surely occur on and off. This is where Wyckoff 3rd principle comes into play - "Effort vs Result" that is not matching. Meaning that the cumulation of shares goes in one direction while the price goes another direction.
Pivot OBV Reset [LM]Hi traders,
I woud like to introduce new script of obv indicator that resets on creation of new pivot high or low. Note that it resets when it's known that it is a pivot. On the reset candle adds accumulated value from previous candles defined by i_right input.
It has following settings:
pivot setting - here you can infulence pivot detection
obv setting - here you can influence whether it should be multiplied by price or not, if it should show when the reset happen
Hope you'll enjoy it
On Balance Volume FieldsThe On Balance Volume (OBV) indicator was developed by Joseph E. Granville and published first in his book "New key to stock market profits" in 1963. It uses volume to determine momentum of an asset. The base concept of OBV is - in simple terms - you take a running total of the volume and either add or subtract the current timeframe volume if the market goes up or down. The simplest use cases only use the line build that way to confirm direction of price, but the possibilities and applications of OBV go far beyond that and are (at least to my knowledge) not found in existing indicators available on this platform.
If you are interested to get a deeper understanding of OBV, I recommend the lecture of the above mentioned book by Granville. All the features described below are taken directly from the book or are inspired by it (deviations will be marked accordingly). If you have no prior experience with OBV, I recommend to start simple and read an easy introduction (e.g. On-Balance Volume (OBV) Definition from Investopedia) and start applying the basic concepts first before heading into the more advanced analysis of OBV fields and trends.
Markets and Timeframes
As the OBV is "just" a momentum indicator, it should be applicable to any market and timeframe.
As a long term investor, my experience is limited to the longer timeframes (primarily daily), which is also how Granville applies it. But that is most likely due to the time it was developed and the lack of lower timeframe data at that point in time. I don't see why it wouldn't be applicable to any timeframe, but cannot speak from experience here so do your own research and let me know. Likewise, I invest in the crypto markets almost exclusively and hence this is where my experience with this indicator comes from.
Feature List
As a general note before starting into the description of the individual features: I use the colors and values of the default settings of the indicator to describe it. The general look and feel obviously can be customized (and I highly recommend doing so, as this is a very visual representation of volume, and it should suit your way of looking at a chart) and I also tried to make the individual features as customizable as possible.
Also, all additions to the OBV itself can be turned off so that you're left with just the OBV line (although if that's what you want, I recommend a version of the indicator with less overhead).
Fields
Fields are defined as successive UPs or DOWNs on the OBV. An UP is any OBV reading above the last high pivot and subsequently a DOWN is any reading below the last low pivot. An UP-field is the time from the first UP after a DOWN-field to the first DOWN (not including). The same goes for a DOWN field but vice versa.
The field serves the same purpose as the OBV itself. To indicate momentum direction. I haven't found much use for the fields themselves other than serving as a more smoothed view on the current momentum. The real power of the fields emerges when starting to determine larger trends of off them (as you will see soon).
Therefor the fields are displayed on the indicator as background colors (UP = green, DOWN = red), but only very faint to not distract too much from the other parts of the indicator.
Major Volume Trend
The major volume trend - from which Granville says, it's the one that tends to precede price - is determined as the succession of the highest highs and lowest lows of UP and DOWN fields. It is represented by the colors of the numbers printed on the highs and lows of the fields.
The trend to be "Rising" is defined as the highest high of an UP field being higher than the highest high of the last UP field and the lowest low of the last DOWN field being higher than the lowest low of the prior DOWN field. And vice versa for a "Falling" trend. If the trend does not have a rising or falling pattern, it is said to be "Doubtful". The colors are indicated as follows:
Rising = green
Falling = red
Doubtful = blue
ZigZag Swing count
The swing count is determined by counting the number of swings within a trend (as described above) and is represented by the numbers above the highs and lows of the fields. It determines the length and thus strength of a trend.
In general there are two ways to determine the count. The first one is by counting the swings between pivots and the second one by counting the swings between highs and lows of fields. This indicator represents the SECOND one as it represents the longer term trend (which I'm more interested in as it denotes a longer term perspective).
However, the ZigZag count has three applications on the OBV. The "simple ZigZag" is a count of three swings which mainly tells you that the shorter term momentum of the market has changed and the current trend is weakening. This doesn't mean it will reverse. A count of three downs is still healthy if it occurs on a strong uptrend (and vice versa) and it should primarily serve as a sign of caution. If the count increases beyond three, the last trend is weakening considerably, and you should probably take action.
The second count to look out for is five swings - the "compound ZigZag". If this goes hand in hand with breaking a major support/resistance on the OBV it can offer a buying/selling opportunity in the direction of the trend. Otherwise, there's a good chance that this is a reversal signal.
The third count is nine. To quote Granville directly: "there is a very strong tendency FOR MAJOR REVERSAL OF REND AFTER THE NINTH SWING" (emphasis by the author). This is something I look out for and get cautious about, although I have found signal to be weak in an overextended market. I have observed counts of 10 and even 12 which did not result in a major reversal and the market trended further after a short period of time. This is still a major sign of caution and should not be taken lightly.
Moving average
Although Granville talks only briefly about averages and the only mention of a specific one is the 10MA, I found moving averages to be a very valuable addition to my analysis of the OBV movements.
The indicator uses three Exponential Moving Averages. A long term one to determine the general direction and two short term ones to determine the momentum of the trend. Especially for the latter two, keep in mind that those are very indirect as they are indicators of an indicator anyway and I they should not necessarily be used as support or resistance (although that might sometimes be helpful). I recommend paying most attention to the longterm average as I've found it to be very accurate when determining the longterm trend of a market (even better than the same indicator on the price).
If the OBV is above the long term average, the space between OBV and average is filled green and filled red if below. The colors and defaults for the averages are:
long term, 144EMA, green
short term 1, 21EMA, blue
short term 2, 55EMA, red
Divergences
This is a very rudimentary adaption of the standard TradingView "Divergence Indicator". I find it helpful to have these on the radar, but do not actively use them (as in having a strategy based on OBV/price divergence). This is something that I would eventually pick up in a later version of the indicator if there is any demand for it, or I find the time to look into strategies based on this.
Comparison line
A small but very helpful addition to the indicator is a horizontal line that traces the current OBV value in real time, which makes it very easy to compare the current value of the OBV to historic values (which is a study I can highly recommend).
OBV Accumulation / Distribution Strategy CryptoThis version its made for 8-12h and works amazingly on the ETH pairs. Can be adapted to others as well
For this example, I used an initial 1$ account, using always full capital on each trade(without using any leverage), together with a 0.1% commission/fees for each deal, on Coinbase broker.
This is a long only strategy
The components for the inside of the strategy are the next one :
1. OBV Accumulation/Distribution
3. EMA
The rules here are simple : we check for cross up or above on OBV and EMAmoving average and after that we check for the trend direction based on ascending/descending OBV. Based on this we enter long or exit long.
RISK WARNING
Trading on any financial market involves a risk of loss. Please consider carefully if such trading is appropriate for you. Past performance is not indicative of future results.
If you have any questions or you are interested in trying it, private message me and I will give you as soon as I see the message a trial for it.
Pure Volume Divergence [NeoButane]PVD: MACD with volume as source.
Options to configure:
OBV, PVT, or MFI as source
Display PVD or a faux zero-based oscillating CVD
[A618] Liquidity Levels Based OBV SR with KAMAWe all know OBV plays a very important role in figuring out price volume divergences and it can help anyone analyse the directivity force of the market and has a very good tradeoff if applied correctly
In this Experiment i have derived liquidity levels for OBV using volume jumps inside the market
A volume jump is classified as:
Good Volume Jump = 1.618 times the Average Volume (WMA or 2pole ButterWorth's Filter of Volume)
Great Volume Jump = 2 times the Average Volume (WMA or 2pole ButterWorth's Filter of Volume)
Extreme Volume Jump = 3 times the Average Volume (WMA or 2pole ButterWorth's Filter of Volume)
So the horizontal levels which you see on the indicator (colored in red/ blue / gray lines) are the derived Liquidity Levels for OBV in the Market, these are the levels where OBV is most likely to perform a movement or come back
Also I have applied KAMA indicator on top of OBV for better Directive guidance, as of my experiments KAMA seems to be most stable and consistence of all the other moving averages,
KAMA's Length inculde:
KAMA - 8
KAMA - 34
KAMA - 200
Hope this Script help you guys!
Thanks to Tradingview for providing such an awesome platform
##Note for Credits ::
The Ehlers 2 pole butterworth Filter function is derived from @cheatcountry script ()
Volume Zone Oscillator [xdecow]Volume Zone Oscillator (VZO) is an indicator that presents a different way of looking at OBV.
VZO is a difference (delta) between OBV and an exponential moving average.
The EMA becomes the baseline 0.
And in this way we can observe the strength of the movements, overbought and oversold (when the OBV is far from the average) and divergences.
Divergence RSI-OBVDivergence detector on RSI of On Balance Volume. Using a modified script from XaviZ(RSI-VWAP) but instead of VWAP as a source in this script source is OBV, for divergence detector is a script from Libertus. In this version, results are filtered using STOCH oversold or overbought filter from matt_b script MFI Divergence v2.
An indicator for entry in choppy markets, signals for entry in trending market to follow the trend work well. A good way to spot if there is a weakness in a trend but gives too many false positives for spot reversal, so only good for scalping with tight stops if betting against the trend. Multiple divergences in combination with indicator hitting the overbought or oversold should give good places for entry.
Improved On balance volume with BB channel and double MAThis is an improved version of the on balance volume indicator.
I made it inside a bollinger band channel, so we can define better the zones. At the same time I applied 2 moving averages on OBV, to get a better idea of the trend and at same time that change direction of the trend.
Green - > uptrend - > we look for buy positions
Red - > downtrend -> we look for sell positions.
At the same time we have to be aware of crosses on bollinger bands, which can indicate a change in the trend .
VVOscillator [nb]Multiple volume oscillators in one.
Description:
As Warren Guppet once said, be “fearful when others are buying less, and greedy when others are selling less.”
Divergences are the main point of usage of all bundled indicators.
OBV Oscillator, remade. The formula has been changed to smooth out the way OBV is calculated during a trending move
OBV Oscillator, original OBV formula.
Price Volume Trend Oscillator. Similar to OBV, except price is taken into account as well.
Price Volume Trend Oscillator, log.
Accumulation/Distribution. (close - low) - (high - close) / (high - low), then multiplied by volume
Chaikin Money Flow . Very similar to accum/dist except it was already made into an oscillator.
OBV just by itself. Change style to line for easier interpretation.
Experimental function that utilizes a part of CCI
This is the unedited "Variable Volume Oscillator v1" released for free use. In the time since I've created it, I've realized it's something I'd like to share because I like it and hope you will too.
Kal's MTF OBV Haar Version 3Kal’s Multi-Time-Frame On-Balance-Volume Haar, also known as Kal’s MTF OBV Haar is a method/study for finding trending volume levels on stocks, indexes and cryptocurrencies using OBV, CMF and CCI over different time-frames (10Min, 1H, 4H, 1D, 1W, 1Month).
Upon adding to the 10Min chart, the sample Image in Tradingview looks as follows:
Note: Always check your time-frame(TF). Compare current TF to a row’s(bead row’s) time-frame. Ensure current TF is lower than a row’s time-frame when looking at it and higher time-frame rows above it. For instance, if you choose your chart’s time-frame at 1D, the lower time-frame rows(i.e. 10Min, 1H, 4H) don’t make sense.
For cryptocurrencies, one week is 7 periods, two weeks is 14 periods
For stocks, one week is 5 periods, two weeks is 10 periods
For the study of stocks, I used
9-period EMA over OBV for time-frames (10Min, 1H, 4H, D)
4-period EMA over OBV for time-frames (W, M)
For the study of cryptocurrencies, I would update EMAs as follows:
13-period EMA over OBV for time-frames (10Min, 1H, 4H, D)
6-period EMA over OBV for time-frames (W, M)
These days I'm finding the following parameters have better fitting
19-period EMA over OBV for time-frames (10Min, 1H, 4H, D)
9-period EMA over OBV for time-frames (W, M)
Description:
---------------
In the study plot, the lowest row is 10Min, the row above 10Min is 1H, then 4H, then 1D, then 1W and the highest row is 1M
Note: Always check your time-frame(TF). Compare current TF to a row’s(bead row’s) time-frame. Ensure current TF is lower than a row’s time-frame when looking at it and higher time-frame rows above it. For instance, if you choose your chart’s time-frame at 1D, the lower time-frame rows(i.e. 10Min, 1H, 4H) don’t make sense.
Lime( Bright Green) dot implies Trending Uptrend for that time-frame
Red dot implies Trending Downward for that time-frame
It’s best to wait and research for possibility of Trend Reversal during the following dots/bricks:
Silver dot implies indecisive up
Orange dot implies indecisive downtrend
Lime Brick implies CCI is near Zero line( between 15 and 0)
Red Brick implies CCI is near Zero line( between -15 and 0)
Purple dot implies CCI zero rejection to possibly/probably continue trend UP
Yellow dot implies CCI zero rejection to possibly/probably continue trend Down
Aqua dot implies that trend is overbought or oversold. This dot usually happens between red dots or green dots. Therefore, it’s best to wait for pull-back especially in lower time frames.
Safe Trading!
Kal Gandikota
Legal Disclaimer: This script is published here so I get replies from fellow viewers to educate myself. Hence, if anyone uses this script for making their financial decisions, I am not responsible for any failures incurred. If you have questions or improvements related to this script, please feel free to leave comments and as time permits, will respond to those comments.
Stoch X, an Indicator of Indicators by DGTStochastic refers to a randomly determined process and financial markets use stochastic models to represent the seemingly random behaviour of assets and then used by quantitative analysts to value options on asset prices
The stochastic oscillator, developed by George Lane, presents the location of the closing price of a stock in relation to the high and low range of the price of a stock over a period of time. Lane has said that the stochastic oscillator does not follow price or volume or anything similar. He indicates that the oscillator follows the speed or momentum of price.
Traditionally, readings over 80 are considered in the overbought range, and readings under 20 are considered oversold. Please note that, very strong trends can maintain overbought or oversold conditions for an extended period and traders should look to changes in the stochastic oscillator for clues about future trend shifts. It is advised to check the higher timeframe of your trading timeframe and see where you are in the “big picture”
Signal crosses , intersection of stochastic and its signal line is considered to be a signal that a reversal may be in the works
Divergence between the stochastic oscillator and trending price action is also seen as an important reversal signal
Lane also reveals in interviews that, as a rule, the momentum or speed of the price of a stock changes before the price changes itself . In this way, the stochastic oscillator can be used to foreshadow reversals when the indicator reveals bullish or bearish divergences. This signal is the first, and arguably the most important, trading signal Lane identified.
What is Stochastic X ?
Stochastic X , is essentially an indicator of an indicator, providing stochastic calculation to some of well known indicators, such as RSI, MFI, OBV, etc. This means that it is a measure of selected specific indicator relative to its own high/low range over a user defined period of time.
Features of Stoch X
1- Displays Stoch of and indicator plus a companion indicator (companion display can be disabled from user dialog box)
Available options
Stoch Source plus PM A, where Source is close price and PMA refers to Price Distance to its Moving Average (for further details you may check my study of Price Distance to its MA by DGT, and different application of distance concept available with “MACD-X, More Than MACD" And “P-MACD”)
Stoch RSI plus RSI , Stoch RSI, developed by Tushar Chande and Stanley Kroll, is a build-in indicator available on Trading View, where Stoch X adds RSI as a companion indicator to Stoch RSI
Stoch MFI and MFI , where MFI is Money Flow Index, measures buying and selling pressure through analyzing both price and volume
Stoch OBV + VO , Where OBV is On Balance Volume, is a momentum indicator that measures positive and negative volume flow. VO stands for Volume Oscillator which aims to confirm a market turnaround or trend reversal
Stoch EWO + EWO , EWO stands for Elliott Wave Oscillator
By default the threshold levels are indicated and are displayed differently for the regular Stoch or Stoch RSI. Overbought band (70-80), oversold band (20-30) and middle line (0) are emphasized
Warning : Centered Oscillators base line is moved from 0 to 50 to better suit with Stoch X, which is applied to PMA, VO and EWO
2- Can be plotted along with Stoch in the same window using the same scaling
To avoid misinterpreting the area between Stoch X and its Signal Line is highlighted automatically in case Stoch is selected to be plotted
3- Squeeze Indicator added as Add-on in the bottom of the Stoch X
During volatile market conditions the stochastic oscillator has been known to produce false signals. One way to help with this is to take the price trend as a filter, or basic chart pattern analysis can help to identify major, underlying trends and increase the Stoch X's accuracy.
This study implements Squeeze Indicator to help and add additional insight for filtering false signals. Blue diamond shapes indicates the squeeze release, that is volatility increased and according to momentum direction the buy/sell possibility can be considered. Orange ones displays consolidation periods, that is low volatility and the market is assumed to be in squeeze and no trade is recommended. in this phase.
Disclaimer: Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
OBV - ADX and DI+/-This is the ADX and DI+/- indicator applied to OBV!
This really clearly shows up and down, but using VOLUME! Don't ignore it, there is too much information captured in the OBV.
If you just love the ADX/DI format, it is included in a checkbox.
Want some excellent background highlighting, turn in on in a checkbox.
Shout out to some inspirations
csw-dmi
unRekt-KISS-Addie