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 |

mva moving above 50day smva Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
campbell911
Posted : Wednesday, April 23, 2008 1:23:46 PM
Registered User
Joined: 12/7/2004
Posts: 6
how do I write a PCF for price closes 5 days in a row or more below the 50d smava and then going up thorugh the 50 day smva?

also the rsi period 20 avg 1 below 50 for 5 days and then crossing through the 50 value?
Bruce_L
Posted : Wednesday, April 23, 2008 1:29:31 PM


Worden Trainer

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

Price below SMA5 for 5-Periods and then xUp:

C > AVGC50 AND C1 < AVGC50.1 AND C2 < AVGC50.2 AND C3 < AVGC50.3 AND C4 < AVGC50.4 AND C5 < AVGC50.5

Unsmoothed RSI20 below 50 for 5-Periods and then xUp:

RSI20 > 50 AND RSI20.1.1 < 50 AND RSI20.1.2 < 50 AND RSI20.1.3 < 50 AND RSI20.1.4 < 50 AND RSI20.1.5 < 50

A Wilders Smoothed version of the RSI formula would be significantly longer (I haven't figured out if it is too long to be practical or not). You may wish to review the following:

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

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