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 |

50/200 ma crossover Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
bcraig73450
Posted : Saturday, July 10, 2010 5:13:11 PM
Registered User
Joined: 9/22/2005
Posts: 849
I would like to have a PCF for the 200ma crossing down through the 50ma and the 50ma crossing up through the 200ma.  I would like these cross overs to be at the intersection of the two mas. 
Bruce_L
Posted : Monday, July 12, 2010 9:22:42 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please try one or more of the following Personal Criteria Formulas:

SMA50 xUp SMA200:

AVGC50 > AVGC200 AND AVGC50.1 <= AVGC200.1

SMA50 xDn SMA200:

AVGC50 < AVGC200 AND AVGC50.1 >= AVGC200.1

SMA50 crossing SMA200 (either direction):

SGN(AVGC50 - AVGC200) <> SGN(AVGC50.1 <= AVGC200.1)

EMA50 xUp EMA200:

XAVGC50 > XAVGC200 AND XAVGC50.1 <= XAVGC200.1

EMA50 xDn EMA200:

XAVGC50 < XAVGC200 AND XAVGC50.1 >= XAVGC200.1

EMA50 crossing EMA200 (either direction):

SGN(XAVGC50 - XAVGC200) <> SGN(XAVGC50.1 <= XAVGC200.1)

SMA50 xUp EMA200:

AVGC50 > XAVGC200 AND AVGC50.1 <= XAVGC200.1

SMA50 xDn EMA200:

AVGC50 < XAVGC200 AND AVGC50.1 >= XAVGC200.1

SMA50 crossing EMA200 (either direction):

SGN(AVGC50 - XAVGC200) <> SGN(AVGC50.1 <= XAVGC200.1)

EMA50 xUp SMA200:

XAVGC50 > AVGC200 AND XAVGC50.1 <= AVGC200.1

EMA50 xDn SMA200:

XAVGC50 < AVGC200 AND XAVGC50.1 >= AVGC200.1

EMA50 crossing SMA200 (either direction):

SGN(XAVGC50 - AVGC200) <> SGN(XAVGC50.1 <= AVGC200.1)

You may wish to review the following:

Moving Average PCF Templates
Things to check if your moving averages don't "seem right" or "seem to match"
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
bustermu
Posted : Monday, July 12, 2010 10:56:41 AM
Registered User
Joined: 1/1/2005
Posts: 2,645
QUOTE (bcraig73450)
I would like to have a PCF for the 200ma crossing down through the 50ma and the 50ma crossing up through the 200ma.  I would like these cross overs to be at the intersection of the two mas. 


bcraig73450,

I interpret your request differently than did Bruce.

1)  My interpretation of "the 200ma crossing down through the 50ma" is:

the 200ma above the 50ma yesterday and the 200ma below the 50 ma today and the value of the 200ma today below the value of the 200ma yesterday.

2)  My interpretation of "the 50ma crossing up through the 200ma" is:

the 50ma below the 200ma yesterday and the 50ma above the 200 ma today and the value of the 50ma today above the value of the 50ma yesterday.

It is not possible for the interpretation 1) to occur if both ma's are EMA's.  Thus, for simplicity, I will assume that both ma's are SMA's.  A  PCF for 1) and 2) simultaneously is:

AVGC200.1>AVGC50.1 AND AVGC200<AVGC50 AND C<C200 AND C>C50

Thanks,
Jim Murphy
bcraig73450
Posted : Tuesday, July 13, 2010 12:08:41 AM
Registered User
Joined: 9/22/2005
Posts: 849

Thanks guys

Bruce_L
Posted : Tuesday, July 13, 2010 7:56:17 AM


Worden Trainer

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

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