OPEN-SOURCE SCRIPT

SADROC

The "Smoothed Accumulation/Distribution Rate of Change" (SADROC) indicator draws inspiration from the Chaikin Oscillator's use of accumulation and distribution, formatted in a manner just like the MACD (Moving Average Convergence Divergence) indicator. My goal was to create something with greater speed and accuracy than the classic MACD

Here's a breakdown of its key elements:

Inputs: Users can customize the indicator by specifying the fast length, slow length, and signal length to fit their preferences.

Calculations: The indicator calculates cumulative volume and then computes the Accumulation/Distribution (AD) value based on price and volume data. The SADROC is calculated as the Rate of Change of the exponential moving averages of the price. The difference between these two values is further smoothed to generate the final SADROC value.

Plotting: The indicator plots the SADROC line and a signal line on the chart. Additionally, it includes a histogram that visually represents the difference between SADROC and the signal line.
OscillatorsVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


KP

Disclaimer