TradingView
xel_arjona
24 Ağu 2015 03:56

Acc/Dist. Cloud with Fractal Deviation Bands by @XeL_Arjona 

NYSE COMPOSITE INDEXNYSE

Açıklama

ACCUMULATION / 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
Yorumlar
Alphaoptions
I would seem that looking at directional volume coinciding with the levels and your would be important? Can it be a stand alone sub-panel rather than building into the main script? Is the BSVP script available to also do similar analysis?
xel_arjona
@Alphaoptions Indeed, Im in the process of separate each element from this indicators (which I personally use) The BSVP contains the main Buyers(GreenBars)/Sellers(RedBars) Pressure algorithm (Without the FRACTAL BANDS derived from a constructed "average" from both buy and Sell pressure algorithm by Vadim Gimelfarb -Accumulation/Distribution-) to display in RAW data the Volume (Effort from each side) expressed in relationship of the movement of price (Result given by such effort) in candles (Open as LastClose-HLC) as a ratio of Winners (+0) from Lossers (-0). This BSVP script have the option to render this information with a smoothed factor or averages in the form of an Oscillator. The original script have evolved and only shows an histogram of the "Convergence/Divergence" from the averages of the Buying Pressure / Selling P.
Alphaoptions
I am following your work and eagerly anticipate the release of whatever you feel able to share. We can learn and follow along with you as you make progress. Feel free to share the pieces as you go because those of us following you will be able to do so incrementally. Even if not perfected in each shared piece or beta, we can still track thorough the various stages. I feel using the AccumDistrib in bands is brilliant and quite novel approach. So now we need other indicators to assess what happens at each successive band - then we learn to trade them as breakthroughs or fades of the various levels. I ma thinking fading volume is a fade and building is trade through, especially on retest, but since this is so new I am not really sure. I am also wondering if these emerge to be not only support-resistance but also targets / magnets. It looks like your BSVP does a reasonable job too. Great job!
xel_arjona
@Alphaoptions WOW... Cheers Man! Thanks for your words! Im a fan of "Open approach" of doing things, like in the Free Software foundation! If technology (as ideas) are not shared, they cannot be improved (evolve). In fact the BSVP was the genesis of the bands, and U touch the point! As I planed to use the GoldenRatio (and the Plastic number to) as the multiplication factor of the distribution in form of Standard Deviations in a fractal way in favor of replicate nature (each one as the genesis of the newer ones), at first sight they act like "Magnets" when price tend to swing or rest more than hard support or resistance lines. My current work is to fetch for what could be the best harmonic first line (VORTEX) of genesis for the Fractal Deviation Bands; and as far as I notice from other lines (Simple, Exponential's, McGinley and currently coding FRAMA), the BuyToSell Pressure Mid line, which is just the average of the Buy to Sell cloud conformed by averages of buying pressure and selling pressure lines, currently shows me the most harmonic "magnets" on the bands for nearly every timeframe and securities. Anyway, that's why I like to share this work in favor to have feedback of observation from all of you guys! Next work will be focused on acceleration/deceleration factor of the bands in terms of an oscillator.... Then, I think will time to rest for new ideas and time to observation to find Patterns from this indicators! :D
fahadx9
thanks man
AdamSragovicz
Nice - what is the BSVP_XeL study on the bottom?
xel_arjona
It's an oscillator derived from my core "Accumulation/Distribution" algorithm in which this indicator is constructed:
tradingview.com/script/0I98ZO3x-BUY-SELL-VOLUME-TO-PRICE-PRESSURE-by-XeL-Arjona/
cooney_s
nice work!
xel_arjona
Thanks...! @Coondawg71
IvanLabrie
Indeed, looks interesting.
Daha Fazla