Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=73352
Forum: 17 · Topic 73352 · 6 post(s)
Apprentice · Wed Feb 08, 2023 9:27 am

https://fxcodebase.com/code/viewtopic.php?f=17&p=149549
Gilles · Tue Feb 14, 2023 1:27 pm
Hi Apprentice,
In one of your messages, you specified the following: “For normalization, I use period Min, Max. Is there another method you would like to use? “
However, I believe normalization should be done following these guidelines:
The normalized Commodity Channel Index (CCI) is calculated by dividing the CCI by its standard deviation over a given period (14).
The formula I suggest using to calculate the normalized CCI is as follows: Normalized CCI = (CCI - CCI’s simple moving average) / (0.015 x CCI’s standard deviation)
where:
CCI is the Commodity Channel Index. CCI’s simple moving average is the simple moving average of the CCI over a given period (usually 14 periods). CCI’s standard deviation is the standard deviation of the CCI over the same period as the moving average.
Thank you very much, Apprentice! :)
Apprentice · Wed Feb 15, 2023 3:02 am
We have added your request to the development list. Development reference 150.
Apprentice · Wed Feb 15, 2023 3:42 am

Try this version.
Gilles · Tue Feb 28, 2023 1:32 pm
Hi Apprentice,
Would it be possible for you to create an Adaptive version of the Normalized CCI indicator ? I suggest using the calculation method used for the AMA (Adaptive Moving Average) indicator.
Thanck you !
Apprentice · Wed Mar 01, 2023 6:40 am
We have added your request to the development list. Development reference 205.