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

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


KP

Aviso legal