Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

CCI indicator? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
JordanS
Posted : Friday, October 15, 2010 4:19:22 PM
Registered User
Joined: 8/1/2006
Posts: 97
Hi.  I'm trying to test a system that uses the Commodity Channel Index (CCI).  Doesn't seem to be listed among the TC indicators.  I take it no one has written a code for it or anything like that?  If not, I'd just like to suggest that it be included in a future version of TC.  Thanks.
StockGuy
Posted : Friday, October 15, 2010 4:25:05 PM

Administration

Joined: 9/30/2004
Posts: 9,187
You can add it as a custom indicator.

20-Period Commodity Channel Index:

(H+L+C-AVGH20-AVGL20-AVGC20)*4000/3/ (ABS(H+L+C-AVGH20-AVGL20-AVGC20)+ABS(H1+L1+C1-AVGH20-AVGL20-AVGC20) +ABS(H2+L2+C2-AVGH20-AVGL20-AVGC20)+ABS(H3+L3+C3-AVGH20-AVGL20-AVGC20) +ABS(H4+L4+C4-AVGH20-AVGL20-AVGC20)+ABS(H5+L5+C5-AVGH20-AVGL20-AVGC20) +ABS(H6+L6+C6-AVGH20-AVGL20-AVGC20)+ABS(H7+L7+C7-AVGH20-AVGL20-AVGC20) +ABS(H8+L8+C8-AVGH20-AVGL20-AVGC20)+ABS(H9+L9+C9-AVGH20-AVGL20-AVGC20) +ABS(H10+L10+C10-AVGH20-AVGL20-AVGC20)+ABS(H11+L11+C11-AVGH20-AVGL20-AVGC20) +ABS(H12+L12+C12-AVGH20-AVGL20-AVGC20)+ABS(H13+L13+C13-AVGH20-AVGL20-AVGC20) +ABS(H14+L14+C14-AVGH20-AVGL20-AVGC20)+ABS(H15+L15+C15-AVGH20-AVGL20-AVGC20) +ABS(H16+L16+C16-AVGH20-AVGL20-AVGC20)+ABS(H17+L17+C17-AVGH20-AVGL20-AVGC20) +ABS(H18+L18+C18-AVGH20-AVGL20-AVGC20)+ABS(H19+L19+C19-AVGH20-AVGL20-AVGC20)+.00001)

CCI INDICATOR
Plotting Custom Indicators with Examples
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
JordanS
Posted : Friday, October 15, 2010 4:39:26 PM
Registered User
Joined: 8/1/2006
Posts: 97
Great, thanks!  Just to follow up quickly, the "Center Zero Line" is supposed to be checked, is that correct?  What about the "Plot using price scale?"  And the smoothing average and simple or exponential?  I'm basically just going after the completely standard settings for this indicator.
 
Lastly, probably a stupid question, but is there any way to name the indicator?  I've actually never created an indicator before.
StockGuy
Posted : Friday, October 15, 2010 4:42:18 PM

Administration

Joined: 9/30/2004
Posts: 9,187
Yes, you want to check Center Zero Line.  Do not check Scale with Price since CCI has it's own scaling.

Exponential/Simple is irrelevant as long as you leave the Smoothing Average set to 1.

No, you can't name the indicator.
JordanS
Posted : Friday, October 15, 2010 4:43:36 PM
Registered User
Joined: 8/1/2006
Posts: 97
Thanks again.
StockGuy
Posted : Friday, October 15, 2010 4:44:00 PM

Administration

Joined: 9/30/2004
Posts: 9,187
You're welcome.
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.