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,3 Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
ThirdGrader
Posted : Friday, January 19, 2007 2:00:09 PM
Registered User
Joined: 10/7/2004
Posts: 27
CCI,3;Period3.Thank you.
Bruce_L
Posted : Friday, January 19, 2007 2:15:18 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please try the following:

(H + L + C - AVGH3 - AVGL3 - AVGC3) * 600 / 3 / (ABS(H + L + C - AVGH3 - AVGL3 - AVGC3) + ABS(H1 + L1 + C1 - AVGH3 - AVGL3 - AVGC3) + ABS(H2 + L2 + C2 - AVGH3 - AVGL3 - AVGC3) + .000001)

You may wish to review the following:

CCI INDICATOR
How to create a Personal Criteria Forumula (PCF)
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ThirdGrader
Posted : Friday, January 19, 2007 2:32:05 PM
Registered User
Joined: 10/7/2004
Posts: 27
Bruce,needed period 3 for a 3CCI.This is a period 1.
Bruce_L
Posted : Friday, January 19, 2007 2:41:44 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Period 3 what? The CCI examples I have found do not have a second parameter. A 3-Period Simple Moving Average of a 3-Period CCI would be:

((H + L + C - AVGH3 - AVGL3 - AVGC3) * 600 / 3 / (ABS(H + L + C - AVGH3 - AVGL3 - AVGC3) + ABS(H1 + L1 + C1 - AVGH3 - AVGL3 - AVGC3) + ABS(H2 + L2 + C2 - AVGH3 - AVGL3 - AVGC3) + .000001) + (H1 + L1 + C1 - AVGH3.1 - AVGL3.1 - AVGC3.1) * 600 / 3 / (ABS(H1 + L1 + C1 - AVGH3.1 - AVGL3.1 - AVGC3.1) + ABS(H2 + L2 + C2 - AVGH3.1 - AVGL3.1 - AVGC3.1) + ABS(H3 + L3 + C3 - AVGH3.1 - AVGL3.1 - AVGC3.1) + .000001) + (H2 + L2 + C2 - AVGH3.2 - AVGL3.2 - AVGC3.2) * 600 / 3 / (ABS(H2 + L2 + C2 - AVGH3.2 - AVGL3.2 - AVGC3.2) + ABS(H3 + L3 + C3 - AVGH3.2 - AVGL3.2 - AVGC3.2) + ABS(H4 + L4 + C4 - AVGH3.2 - AVGL3.2 - AVGC3.2) + .000001)) / 3

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ThirdGrader
Posted : Friday, January 19, 2007 3:13:41 PM
Registered User
Joined: 10/7/2004
Posts: 27
Formula's for other CCI's as they appear on my "editing template" have ...3 Period as the last of the Formula discription.
Bruce_L
Posted : Friday, January 19, 2007 3:38:04 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Then you have probably applied Simple or Exponential Smoothing to your CCI indicator. If you edit the Custom Indicator, you should be able to find the exact settings:

Visible: Checked
Center Zero Line: Checked (This is an assumption.)
Plot using price scale: Unchecked
Smoothing Average: 3 (This is an assumption.)
Average Type: Simple or Exponential?
Indicator Formula: ?

You may wish to review the following:

Plotting Custom Indicators with Examples

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ThirdGrader
Posted : Friday, January 19, 2007 4:02:14 PM
Registered User
Joined: 10/7/2004
Posts: 27
(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):This is CCC,20,4prd from my pcf.
Bruce_L
Posted : Friday, January 19, 2007 4:35:07 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Do you want a Personal Criteria Formula matching a charted 20-Period CCI with a 4-Period Moving Average instead of a 3-Period CCI with a 3-Period Moving Average? If so, what are all of the settings (if Exponential Smoothing is selected, the answer is probably that it isn't practical)?

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ThirdGrader
Posted : Friday, January 19, 2007 5:09:29 PM
Registered User
Joined: 10/7/2004
Posts: 27
Already have a Personal Criteria Formula for CCI 20 as the code example just sent. I thought seeing the format for the CCI 20 that was previously created for me in this forum, could be used as a reference to create a new CCI 3.(no exponential smoothing).
Bruce_L
Posted : Friday, January 19, 2007 5:15:28 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you want the 20-Period CCI in your Friday, January 19, 2007 4:02:14 PM ET post converted to a 3-Period version, the formula provided in my Friday, January 19, 2007 2:15:18 PM ET post is already correct.

If you want a Personal Criteria Formula for the value of a plotted Custom Indicator with a 3-Period CCI as the Indicator Formula and 3-Period Simple Smoothing applied, please try the formula in my Friday, January 19, 2007 2:41:44 PM ET post.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
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.