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 |

Coppock Indicator PCF help Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
TyStik
Posted : Sunday, July 16, 2006 11:38:27 AM
Registered User
Joined: 6/7/2006
Posts: 5
Have been trying to put togeather a PCF for a Coppock indicator. Its my first try at PCF programming, with uncertian success. Any input or alternatives appreaciated.

Formula:
Calculate 294 day ROC (Price) for the index. Use monthly closing price.

Calculate 231 day ROC (Price) for the index. Use monthly closing price.

Add the results of 1 and 2.

Calculate a 210 day weighted moving average of the result.

My Frankenstien PCF

(C294 + C231) + (AVGC2.210)

I have tried a number of varitions on this theme with no real success.

Thank you in advance!
RJMGroup
Posted : Sunday, July 16, 2006 1:08:55 PM

Registered User
Joined: 10/7/2004
Posts: 82
You might want to try this in TeleChart 2007 with SnapSheets. PCF's will probably become extinct as SnapSheets grows in usefulness. Plus, SnapSheets pretty much have limitless capability whereas PCF's are fairly limiting.

~Bob
TyStik
Posted : Sunday, July 16, 2006 1:14:34 PM
Registered User
Joined: 6/7/2006
Posts: 5
Thanx......I'll take a look at that!
bustermu
Posted : Sunday, July 16, 2006 2:48:15 PM
Registered User
Joined: 1/1/2005
Posts: 2,645
QUOTE (TyStik)

Formula:
Calculate 294 day ROC (Price) for the index. Use monthly closing price.

Calculate 231 day ROC (Price) for the index. Use monthly closing price.

Add the results of 1 and 2.

Calculate a 210 day weighted moving average of the result.


TyStik,

From what I have seen on the internet, your description should read:

Formula:
Calculate 14 bar ROC (Price) for the index. Use monthly (21 day) closing price.

Calculate 11 Bar ROC (Price) for the index. Use monthly (21 day) closing price.

Add the results of 1 and 2.

Calculate a 10 bar weighted moving average of the result.

Please notice that:

14*21 = 294
11*21 = 231
10*21 = 210

Do you concur?

If so, writing the PCF is a trivial matter.

Thanks,
Jim Murphy
bustermu
Posted : Sunday, July 16, 2006 2:54:47 PM
Registered User
Joined: 1/1/2005
Posts: 2,645
Addendum:

Plotting the Coppock Indicator is even easier than writing the PCF.

Thanks,
Jim Murphy
Craig_S
Posted : Sunday, July 16, 2006 2:56:26 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
TyStick,

If bustermu's post above seems accurate, let me know and I will write the PCF for you (and show you how to plot this as well)

- Craig
Here to Help!
TyStik
Posted : Monday, July 17, 2006 11:04:02 AM
Registered User
Joined: 6/7/2006
Posts: 5
Thanx bustermu and Craig S for your input. Im sure that this is a "no brainer" for you both. With more practice Im sure I'll pick up the syntax soon enough. I'll give the above mentioned formula a try and get back to you.
TyStik
Posted : Monday, July 17, 2006 12:12:18 PM
Registered User
Joined: 6/7/2006
Posts: 5
LOL... OK...Here are the results of about 2 hours worth of experamentation.

(O14 * 21 = 294) + (O11 * 21 = 231) + 10 * 21 = 210

I know its nowhere close to what Im trying to accomplish, but Im an old school, learn-by-your-mistakes, student. Luckly I have more time than common sense... I dont want an easy answer...but I would be very grateful for clue or hint in the right direction.
Thanx!
Craig_S
Posted : Monday, July 17, 2006 12:28:28 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Lets focus a bit.

Do you want to tackle plotting this first or a PCF for it first?

Clue: To plot this we must be on a monthly (21-day) chart.
Clue: For the PCF we have to use daily data. Here are some things to look at.

When on a monthly chart:

Recent Bar
Close= C
Open= O20
High=MAXH21
Low=MINL21

Previous Bar
Close=C21
Open=O41
High=MAXH21.21
Low=MINL21.21

I will stay with you through your process. Let me know what I can give to help.

- Craig
Here to Help!
TyStik
Posted : Monday, July 17, 2006 12:46:20 PM
Registered User
Joined: 6/7/2006
Posts: 5
This is a GREAT lead to follow. I really was just seeking a clue in the right direction to construct the PCF. I'll go back and torture the syntax some more.
Once again, Thank you for your quick responce Craig!
Craig_S
Posted : Monday, July 17, 2006 12:48:53 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
I love that you are trying to learn this vs. having me spit out the answer. It shows a desire to understand which I, as a trainer, don't see enough of.

You let me know anything you need next.

- Craig
Here to Help!
link
Posted : Sunday, March 4, 2007 1:02:00 PM
Registered User
Joined: 11/22/2005
Posts: 5
Trying to build the indicator without success...found this thread. Did anyone succeeded in creating the PCF? Need help. Thanks!
amberpax
Posted : Sunday, March 4, 2007 3:33:38 PM
Registered User
Joined: 12/30/2004
Posts: 369
Craig,

"PCF's will probably become extinct as SnapSheets grows in usefulness.
RJMGroup"

Is the above statement true? I have all my indicators set up in Telecharts, just the way I want them (I am making money), so I am not interested in snapsheets or any other program. Telecharts is all that I need!
Will you keep Telecharts in the future or will it be phased out in favor of snapsheets?
Thanks,
-amberpax
amberpax
Posted : Monday, March 5, 2007 8:45:28 PM
Registered User
Joined: 12/30/2004
Posts: 369

One More Time,


"PCF's will probably become extinct as SnapSheets grows in usefulness.
RJMGroup"
----------------------------------------------------------

Is the above statement true? I have all my indicators set up in Telecharts just the way I want them (I am making money)

so,I am not interested in snapsheets or any other program. Telecharts is all that I need!

Will you keep Telecharts in the future or will it be phased out in favor of snapsheets?
Thanks,
-amberpax
Bruce_L
Posted : Tuesday, March 6, 2007 9:15:57 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
amberpax,
There are no plans to phase out TeleChart. That said, there are a lot of things that can be done with Blocks Player that can't be done using TeleChart's Personal Criteria Formula Language.

link,
You may wish to try one of the following:

Based on ROC (Net Change):

(10 * (2 * C - C294 - C231) + 9 * (2 * C21 - C315 - C252) + 8 * (2 * C42 - C336 - C273) + 7 * (2 * C63 - C357 - C294) + 6 * (2 * C84 - C378 - C315) + 5 * (2 * C105 - C399 - C336) + 4 * (2 * C126 - C420 - C357) + 3 * (2 * C147 - C441 - C378) + 2 * (2 * C168 - C462 - C399) + 2 * C189 - C483 - C420) / 55

Based on ROC (Percent Change):

100 * (10 * (C / C294 + C / C231) + 9 * (C21 / C315 + C21 / C252) + 8 * (C42 / C336 + C42 / C273) + 7 * (C63 / C357 + C63 / C294) + 6 * (C84 / C378 + C84 / C315) + 5 * (C105 / C399 + C105 / C336) + 4 * (C126 / C420 + C126 / C357) + 3 * (C147 / C441 + C147 / C378) + 2 * (C168 / C462 + C168 / C399) + C189 / C483 + C189 / C420) / 55 - 200

You may wish to review the following:

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
Craig_S
Posted : Tuesday, March 6, 2007 9:42:28 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Chris Worden has explicitly said that TeleChart will continue to be developed and supported. TeleChart is in no way being replaced by the Tools for the Blocks Player.

- Craig
Here to Help!
link
Posted : Tuesday, March 6, 2007 2:42:22 PM
Registered User
Joined: 11/22/2005
Posts: 5
Thanks Bruce.

The indicator appearance is different from what I see in the book. It there anyway to put the indicator swing between "100" and "-100", with "0" as the central line? Need a constant movement band. Thanks!
Bruce_L
Posted : Wednesday, March 7, 2007 8:29:07 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
link,
TeleChart's Custom Indicators normally use auto-scaling. There is no way to automatically fix the scale other than to use the Price Scale (which is not appropriate in this case). One option that will get you closer to what you want would be to check Center Zero Line.

To plot a Monthly Indicator on a Daily chart:

Select Chart Template | Add Indicator | Indicator:
- Visible: Checked
- Center Zero Line: Checked
- Plot using price scale: Unchecked
- Smoothing Average: 1
- Average Type: Doesn't matter (because the Smoothing Average is 1)
- Indicator Formula: 100 * (10 * (C / C294 + C / C231) + 9 * (C21 / C315 + C21 / C252) + 8 * (C42 / C336 + C42 / C273) + 7 * (C63 / C357 + C63 / C294) + 6 * (C84 / C378 + C84 / C315) + 5 * (C105 / C399 + C105 / C336) + 4 * (C126 / C420 + C126 / C357) + 3 * (C147 / C441 + C147 / C378) + 2 * (C168 / C462 + C168 / C399) + C189 / C483 + C189 / C420) / 55 - 200

On a Monthly chart:

Select Chart Template | Add Indicator | Indicator:
- Visible: Checked
- Center Zero Line: Checked
- Plot using price scale: Unchecked
- Smoothing Average: 1
- Average Type: Doesn't matter (because the Smoothing Average is 1)
- Indicator Formula: 100 * (10 * (C / C14 + C / C11) + 9 * (C1 / C15 + C1 / C12) + 8 * (C2 / C16 + C2 / C13) + 7 * (C3 / C17 + C3 / C14) + 6 * (C4 / C18 + C4 / C15) + 5 * (C5 / C19 + C5 / C16) + 4 * (C6 / C20 + C6 / C17) + 3 * (C7 / C21 + C7 / C18) + 2 * (C8 / C22 + C8 / C19) + C9 / C23 + C9 / C20) / 55 - 200

You may wish to review the following:

Plotting Custom Indicators with Examples

You can get scaling options closer to what you've requested when using Personal Chartist in Blocks Player. Please save the attached pane in the following folder:

\My Documents\Blocks Files\Tool Parts\Chart

You can add it to any chart using the ADD STUDY button and then selecting Add Study | My Computer.

You may wish to review the following:

Customizing with Properties
Your First 3 Block Diagrams

Attachments:
Coppock.pane - 9 KB, downloaded 831 time(s).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jcfla7
Posted : Saturday, March 10, 2007 1:58:22 AM
Registered User
Joined: 9/21/2005
Posts: 566
What does the 'ROC' stand for in the text below? I copied it from one of the posts above. Thanks.



TyStik,

From what I have seen on the internet, your description should read:

Formula:
Calculate 14 bar ROC (Price) for the index. Use monthly (21 day) closing price.

Calculate 11 Bar ROC (Price) for the index. Use monthly (21 day) closing price.

Add the results of 1 and 2.

Calculate a 10 bar weighted moving average of the result.
diceman
Posted : Saturday, March 10, 2007 3:11:19 AM
Registered User
Joined: 1/28/2005
Posts: 6,049
"rate of change"

Thanks
diceman
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.