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 |

How to find a moving average crossover Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
sdablack
Posted : Friday, January 23, 2009 3:13:24 PM
Registered User
Joined: 8/29/2007
Posts: 31
I am looking for a way to see if a closing price crosses up through a moviing average. 

The tricky part (for me) is I want it to have been lower than the MA in any of the last 8 days or at least within 0.02%.

So If not yesterday well how about the day before, or the day before...
Bruce_L
Posted : Friday, January 23, 2009 3:22:11 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
I'm actually not sure from the question if this is what you want, but the following Personal Criteria Formula should return True if the Close is currently above the 20-Period Exponential Moving Average, but was below it at some point during the previous 8-Days:

C > XAVGC20 AND (C1 < XAVGC20.1 OR C2 < XAVGC20.2 OR C3 < XAVGC20.3 OR C4 < XAVGC20.4 OR C5 < XAVGC20.5 OR C6 < XAVGC20.6 OR C7 < XAVGC20.7 OR C8 < XAVGC20.8)

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
sdablack
Posted : Friday, January 23, 2009 3:42:40 PM
Registered User
Joined: 8/29/2007
Posts: 31
Bruce,  that will get me where I want to be.  thanks -  While I wrote the original question, I was on the line with Tech support to fix a security problem that was preventing me from posting.

steve
Bruce_L
Posted : Friday, January 23, 2009 3:47:33 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.