OBV Accumulation / Distribution combination v2OBV takes difference between old close and new close and multiplies by volume without considering high and low.
This assigns the entire volume into a single direction even tho movement could've been in both.
Accum/dist takes difference between close and high and low without considering previous close or open. This causes huge deviation from OBV when you have close or open far from high or low and price moving in the other direction like in a series of descending hammers.
This is attempt to combine both so relative motion between candles is detected and volume direction is assigned based relative to movement within a candle to account for volume in both directions.
+ and - depends if close is above previous close (+ if above, - if below)
Maximum upward volume counts if close = high and previous close = low, this makes multiplier 1 and thus entire volume is counted upwards
Maximum downward volume counts if close = low and previous close = high, this makes multiplier -1 and thus entire volume is counted downwards.
Zero volume movement occurs when close = previous close.
Half upward volume movement occurs if close-previous_close is half the range from high-low.
Update:
Open used instead of previous close due to issues with grabbing previous close on some charts. This seems more accurate for gaps without volume.
Đường tích lũy / phân phối (ADL)
OBV Accumulation/Distribution combinationOBV takes difference between old close and new close and multiplies by volume without considering high and low.
This assigns the entire volume into a single direction even tho movement could've been in both.
Accum/dist takes difference between close and high and low without considering previous close or open. This causes huge deviation from OBV when you have close or open far from high or low and price moving in the other direction like in a series of descending hammers.
This is attempt to combine both so relative motion between candles is detected and volume direction is assigned based relative to movement within a candle to account for volume in both directions.
+ and - depends if close is above previous close (+ if above, - if below)
Maximum upward volume counts if close = high and previous close = low, this makes multiplier 1 and thus entire volume is counted upwards
Maximum downward volume counts if close = low and previous close = high, this makes multiplier -1 and thus entire volume is counted downwards.
Zero volume movement occurs when close = previous close.
Half upward volume movement occurs if close-previous_close is half the range from high-low.
Accumulation/Distribution MACDMACD of acc/dist instead of the normal stuff.
Dunno if it's actually useful.
Just wanted to see what happened.
Thanks to ChrisMoody who's macd script I stole
EVWMA Acc/Dist. Pressure & FRACTAL BANDS by @XeL_ArjonaEVWMA ACCUMULATION/DISTRIBUTION PRESSURE & FRACTAL BANDS
Version: 3.0 @ 4.11.2015
By Ricardo M Arjona @XeL_Arjona
DISCLAIMER:
The following indicator IS NOT INTENDED TO BE A FORMAL INVESTMENT ADVICE OR TRADING RECOMMENDATION BY THE AUTHOR, nor should be construed as such. Users will be fully responsible by their use regarding any kind of trading vehicles or assets.
The following script and ideas within this work are FREELY AND PUBLICLY availables on the Web for NON LUCRATIVE ACTIVITIES and must remain as is.
-== IMPORTANT: THIS IS AN EXPERIMENTAL INDICATOR ==-
What is this?
This work is a derivation of my previous Accumulation/Distribution scripts publicly available in TradingView in an effort to clean, speedup and make the indicator cleaner as possible.
The current indicator is based on already tested and Mathematically proof concepts as described below:
The MAIN Rolling back median line or "Vortex" is constructed by a simple and equal weighting of distributed volume along the candle range (This approach is just an "estimator" of Buyers Vs. Sellers given the lack of tick resolution in TradingView, a real "DELTA" can only be 100% reliable with Market Depth (Ask/Bid ticks)), Given this, with each "volume weights", the price is post-processed against a true statistical Average calculation formerly: ELASTIC VOLUME WEIGHTED MOVING AVERAGE.
The FRACTAL BANDS are just Standard Deviation's with GOLDEN RATIO as multiplier (1.618) derived one from each other within it's origin on the former "Vortex Median".
The Standard Error Bands comply as the original indicator described by Jon Andersen but given the true statistical nature of EVWMA, the original LinReg line has been substituted by the former.
ALL NEW IDEAS OR MODIFICATIONS to this indicator are welcome in favor to deploy a better technical tool. Any important addition to this work MUST REMAIN PUBLIC by means of CreativeCommons CC & TradingView user rules. (C) 2015 @XeL_Arjona
Mr.J -- Accumulation Distribution OscillatorEdit: More examples in comments, TV doesn't like to publish with split charts ;)
As a popular volume indicator, Accumulation Distribution Oscillator makes it easy and simple to interpret amplitude changes in the accumulation distribution. Either an observed peak in positive or negative amplitude can be used to snipe high/low points or a crossover from a positive number to a negative amplitude can indicate the change of Accumulation to Distribution.
Hidden divergences can also be found by looking for differences in the price/volume amplitude, similar to OBV divergence rules.
Accumulation/Distribution With Moving AveragesHelps To Identify the Underlying Trend of Buying & Selling Forces.
Accumulation/Distribution with Moving AveragesThis Acc/Dist Script Lends a Broader Perspective to the Trend of the Indicator . It can be used to compare with the Trend of the Market to Identify Reversals & Confirm Market Trends !
Acc/Dist. Cloud with Fractal Deviation Bands by @XeL_ArjonaACCUMULATION / DISTRIBUTION CLOUD with MORPHIC DEVIATION BANDS
Ver. 2.0.beta.23:08:2015
by Ricardo M. Arjona @XeL_Arjona
DISCLAIMER
The Following indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
The embedded code and ideas within this work are FREELY AND PUBLICLY available on the Web for NON LUCRATIVE ACTIVITIES and must remain as is.
Pine Script code MOD's and adaptations by @XeL_Arjona with special mention in regard of:
Buy (Bull) and Sell (Bear) "Power Balance Algorithm by Vadim Gimelfarb published at Stocks & Commodities V. 21:10 (68-72).
Custom Weighting Coefficient for Exponential Moving Average (nEMA) adaptation work by @XeL_Arjona with contribution help from @RicardoSantos at TradingView @pinescript chat room.
Morphic Numbers (PHI & Plastic) Pine Script adaptation from it's algebraic generation formulas by @XeL_Arjona
Fractal Deviation Bands idea by @XeL_Arjona
CHANGE LOG:
ACCUMULATION / DISTRIBUTION CLOUD: I decided to change it's name from the Buy to Sell Pressure. The code is essentially the same as older versions and they are the center core (VORTEX?) of all derived New stuff which are:
MORPHIC NUMBERS: The "Golden Ratio" expressed by the result of the constant "PHI" and the newer and same in characteristics "Plastic Number" expressed as "PN". For more information about this regard take a look at: HERE!
CUSTOM(K) EXPONENTIAL MOVING AVERAGE: Some code has cleaned from last version to include as custom function the nEMA , which use an additional input (K) to customise the way the "exponentially" is weighted from the custom array. For the purpose of this indicator, I implement a volatility algorithm using the Average True Range of last 9 periods multiplied by the morphic number used in the fractal study. (Golden Ratio as default) The result is very similar in response to classic EMA but tend to accelerate or decelerate much more responsive with wider bars presented in trending average.
FRACTAL DEVIATION BANDS: The main idea is based on the so useful Standard Deviation process to create Bands in favor of a multiplier (As John Bollinger used in it's own bands) from a custom array, in which for this case is the "Volume Pressure Moving Average" as the main Vortex for the "Fractallitly", so then apply as many "Child bands" using the older one as the new calculation array using the same morphic constant as multiplier (Like Fibonacci but with other approach rather than %ratios). Results are AWSOME! Market tend to accelerate or decelerate their Trend in favor of a Fractal approach. This bands try to catch them, so please experiment and feedback me your own observations.
EXTERNAL TICKER FOR VOLUME DATA: I Added a way to input volume data for this kind of study from external tickers. This is just a quicky-hack given that currently TradingView is not adding Volume to their Indexes so; maybe this is temporary by now. It seems that this part of the code is conflicting with intraday timeframes, so You are advised.
This CODE is versioned as BETA FOR TESTING PROPOSES. By now TradingView Admins are changing lot's of things internally, so maybe this could conflict with correct rendering of this study with special tickers or timeframes. I will try to code by itself just the core parts of this study in order to use them at discretion in other areas. ALL NEW IDEAS OR MODIFICATIONS to these indicator(s) are Welcome in favor to deploy a better and more accurate readings. I will be very glad to be notified at Twitter or TradingView accounts at: @XeL_Arjona
[RS]Accumulation and Distribution Divergence V0EXPERIMENTAL: Accumulation and Distribution Divergence detection.
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
WVADWilliam’s Variable Accumulation Distribution
The Williams Variable Accumulation Distribution (WVAD), developed by Larry Williams, is a volume-weighted price momentum indicator. It measures the buying and selling pressure by calculating the relationship between the number of points the market has moved from the open to close relative to the period’s entire range.
CM_Williams AD+SMA_V1_PublicI posted this code a long time ago and forgot to add to PineScript Library.
Plots Williams Accumulation Distribution, Williams AD With Optional SMA as a Filter.
In Inputs Tab:
Ability to Turn On/Off SMA Filter.
Ability to change any of the plots to Change Colors Based on Being Above or Below the SMA Filter.
Also Ability to Turn Off Color Change Based on SMA Filter.
Indicator: Weis Wave Volume [LazyBear]This indicator takes market volume and organizes it into wave charts, clearly highlighting inflection points and regions of supply/demand.
Try tuning this for your instrument (Forex not supported) by adjusting the "Trend Detection Length". This "clubs together" minor waves. If you like an oscillator-kind-of display, enable "ShowDistributionBelowZero" option.
Note: This indicator is a port of a clone of WeisVolumePlugin available for another platform. I don't know how close this is to the original Weis, if any has access to it, do let me know how this compares. Thanks.
More info:
weisonwyckoff.com
Complete list of my indicators:
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.