OPEN-SOURCE SCRIPT

Commodity Channel Index MACD

I've not seen any reprensentation of this type based on CCI chanel....

This indicator is an hybrid between CCI and MACD.

The CCI MACD line is calculated using a moving average between 2 CCI period a (FastCCI - SlowCCI) aplied on the (Fast + Slow) periods

The CCI signal line is a moving average of (CCI MACD line, on the signal line smoothing length.

The histogram is only the difference between the CCI MACD and CCI Signal line




//--------CODER--------//
R.V
Commodity Channel Index (CCI)Moving Average Convergence / Divergence (MACD)

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?

Disclaimer