Registered User Joined: 3/20/2005 Posts: 17
|
Any PCFs for Commodity Channel Index (CCI)14 period for daily & weekly charts? Thanks!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Here is a formula for a 14-Period CCI:
(H+L+C-AVGH14-AVGL14-AVGC14)*2800/3/(ABS(H+L+C-AVGH14-AVGL14-AVGC14)+ABS(H1+L1+C1-AVGH14-AVGL14-AVGC14)+ABS(H2+L2+C2-AVGH14-AVGL14-AVGC14)+ABS(H3+L3+C3-AVGH14-AVGL14-AVGC14)+ABS(H4+L4+C4-AVGH14-AVGL14-AVGC14)+ABS(H5+L5+C5-AVGH14-AVGL14-AVGC14)+ABS(H6+L6+C6-AVGH14-AVGL14-AVGC14)+ABS(H7+L7+C7-AVGH14-AVGL14-AVGC14)+ABS(H8+L8+C8-AVGH14-AVGL14-AVGC14)+ABS(H9+L9+C9-AVGH14-AVGL14-AVGC14)+ABS(H10+L10+C10-AVGH14-AVGL14-AVGC14)+ABS(H11+L11+C11-AVGH14-AVGL14-AVGC14)+ABS(H12+L12+C12-AVGH14-AVGL14-AVGC14)+ABS(H13+L13+C13-AVGH14-AVGL14-AVGC14)+.000001)
You can use it as a Custom Indicator or Personal Criteria Formula. It should work when plotted as a Custom Indicator on a weekly chart. Every AVG in the above formula would need to be expanded out to write a weekly version as a PCF. To sort on a weekly timeframe, you are better off plotting it as a Custom Indicator and using Indicator Sorts.
You may want to check out the following topic for more CCI PCFs:
CCI INDICATOR
-Bruce Personal Criteria Formulas TC2000 Support Articles
|