Normalized CCI

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin


Re: Normalized CCI

Postby 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! :)
Gilles
FXCodeBase: Initiate
 
Posts: 158
Joined: Tue Jul 31, 2018 8:28 am
Location: France

Re: Normalized CCI

Postby Apprentice » Wed Feb 15, 2023 3:02 am

We have added your request to the development list.
Development reference 150.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Normalized CCI

Postby Apprentice » Wed Feb 15, 2023 3:42 am

EURUSD H1 (02-15-2023 0941).png

Try this version.
Normalized CCI.lua
(7.9 KiB) Downloaded 82 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Adaptive Normalized CCI

Postby 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 !
Gilles
FXCodeBase: Initiate
 
Posts: 158
Joined: Tue Jul 31, 2018 8:28 am
Location: France

Re: Normalized CCI

Postby Apprentice » Wed Mar 01, 2023 6:40 am

We have added your request to the development list.
Development reference 205.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 43 guests