Gold Customer
Joined: 3/23/2005 Posts: 10
|
I would like to know how to write a formula to scan for stocks from a designated list that are rising in price just above a rising 9 period EMA with a rising 20 period SMA. I would also like to do the reverse for stocks fallingin price just below a 9 period EMA and a falling 20 period SMA. My formula writing skills are a joke. Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for a rising price above a rising EMA9 and rising SMA20 can be written as follows.
C > C1 AND C > XAVGC9 AND C > AVGC20 AND C > C20
A Condition Formula for a folling price below a folling EMA9 and falling SMA20 can be written as follows.
C < C1 AND C < XAVGC9 AND C < AVGC20 AND C < C20
With that in mind, I'm not sure how you want want to define "just above" or "just below" and the "just" portion was not included in either formula.
PCF Formula Descriptions
-Bruce Personal Criteria Formulas TC2000 Support Articles
|