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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


KP

免责声明