Registered User Joined: 5/29/2005 Posts: 11
|
I would like the formula for scanning prices that cross over the 13 day EMA in either direction, if neccessary show me the one for positive and one for negative
thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following:
Price crossing 13-Period EMA (either direction):
SGN(C - XAVGC13) - SGN(C1 - XAVGC13.1) <> 0
Price xUp 13-Period EMA:
C > XAVGC13 AND C1 <= XAVGC13.1
Price xDown 13-Period EMA:
C < XAVGC13 AND C1 >= XAVGC13.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) Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|