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 |

Finding 2MA > 8MA crossovers Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
motmouth
Posted : Friday, December 14, 2012 11:51:01 AM
Registered User
Joined: 10/7/2004
Posts: 166

How can I write a PCF to identify when the 2MA has crossed-over (up or down-through) the 8MA?

Bruce_L
Posted : Friday, December 14, 2012 11:53:09 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

If both moving averages are simple:

SGN(AVGC2 - AVGC8) <> SGN(AVGC2.1 - AVGC8.1)

You would need to change the AVGC to an XAVGC if that moving average is exponential instead.

Moving Average PCF Templates
Things to check if your moving averages don't "seem right" or "seem to match"



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
motmouth
Posted : Friday, December 14, 2012 7:14:44 PM
Registered User
Joined: 10/7/2004
Posts: 166

Thanks, it works great!

dralph12
Posted : Friday, December 14, 2012 8:46:38 PM
Registered User
Joined: 11/26/2012
Posts: 5

 

Hi this condition looks good

I&rsquo;m new to TC2000 how would you pipe the results of this condition into a second condition that would check for volume 50% above average 30 day volume.

Thx Dan R

Bruce_L
Posted : Monday, December 17, 2012 8:15:51 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You could create a single Condition Formula by using an AND:

SGN(AVGC2 - AVGC8) <> SGN(AVGC2.1 - AVGC8.1) AND V >= 1.5 * AVGV30

Or you could create a Condiiton Formula for the Volume:

V >= 1.5 * AVGV30

And include both Condition Formulas as EasyScan Conditions in the same EasyScan.

EasyScan Basics
EasyScan Expanded



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
dralph12
Posted : Monday, December 17, 2012 9:17:39 AM
Registered User
Joined: 11/26/2012
Posts: 5

Thx Bruce

Bruce_L
Posted : Monday, December 17, 2012 9:33:05 AM


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.