OPEN-SOURCE SCRIPT

drnk_CCI

1381
Classical CCI gives the mean deviation of typical price ((high+low+close)/3) value to the simple moving average of typical price

drnk_CCI is using the same mathematical formula but configuration let you choose average type to calculate the mean deviation.

Default values gives the classic CCI

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.