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 |

Pivot Point Mov Avg crossover Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
bmaltz
Posted : Saturday, February 10, 2007 12:20:38 PM
Registered User
Joined: 12/30/2004
Posts: 14
I'm trying to write a scan to determine which symbols have experienced a crossover of today's close over yesterday's 4 day average of the following: (( H + L + C ) / 3 )

Below is what I've written but it gives me no results. Something must be wrong because I highly doubt that there were NO stocks that met this criteria

in english:

today's 4 day average close > the avg of the last 4 days values for (not including today's value): ( H + L + C ) / 3
AND
yesterday's 4 day average close <= yesterday's avg of the last 4 days values for (not including yesterday's value): ( H + L + C ) / 3

in TC-2007 language

(AVGC5 > ( ( H1 + L1 + C1 ) / 3 , ( H2 + L2 + C2 ) / 3, ( H3 + L3 + C3 ) / 3, ( H4 + L4 + C4 ) / 3 ) / 4 )

AND

( AVGC4.1 <= ( ( H2 + L2 + C2 ) / 3, ( H3 + L3 + C3 ) / 3, ( H4 + L4 + C4 ) / 3, ( H5 + L5 + C5 ) / 3 ) / 4 )

Thanks,
Ben
Bruce_L
Posted : Sunday, February 11, 2007 10:44:20 AM


Worden Trainer

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

C > (AVGH4.1 + AVGL4.1 + AVGC4.1) / 3 AND C1 <= (AVGH4.2 + AVGL4.2 + AVGC4.2) / 3

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
bmaltz
Posted : Sunday, February 11, 2007 2:54:47 PM
Registered User
Joined: 12/30/2004
Posts: 14
Hi Bruce,
You are absolutely correct in your simplification of my equations. Thanks!

I still need to use: AVGC4 > ... rather than C > .... however
because I am testing the average close over the last 4 days
(note my original eqn should read AVGC4 and NOT AVGC5)

Thanks again

Ben
Bruce_L
Posted : Sunday, February 11, 2007 3:02:48 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

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