Registered User Joined: 10/7/2004 Posts: 16
|
In using a 12, 26, 9 MACD, I would like a scan for stocks when the MACD lines cross each other up or down. A example would be POT where on 4/2/008, 4/3/08 the line crossed up and on 4/29/08 the line crossed down. Would like scan for daily and weekly charts. Is this possible?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try one or more of the following:
Exponential MACD 12,26,9 xUp Signal:
XAVGC12 - XAVGC26 > XAVG(XAVGC12,9) - XAVG(XAVGC26,9) AND XAVGC12.1 - XAVGC26.1 <= XAVG(XAVGC12.1,9) - XAVG(XAVGC26.1,9)
Exponential MACD 12,26,9 xDn Signal:
XAVGC12 - XAVGC26 < XAVG(XAVGC12,9) - XAVG(XAVGC26,9) AND XAVGC12.1 - XAVGC26.1 >= XAVG(XAVGC12.1,9) - XAVG(XAVGC26.1,9)
Exponential MACD 12,26,9 crossing Signal (either direction):
SGN(XAVGC12 - XAVGC26 - XAVG(XAVGC12,9) + XAVG(XAVGC26,9)) <> SGN(XAVGC12.1 - XAVGC26.1 - XAVG(XAVGC12.1,9) + XAVG(XAVGC26.1,9))
You may wish to review the following:
Understanding MACD
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
|