Registered User Joined: 11/9/2009 Posts: 36
|
How can i create a scan for the macd histogram crossing up 0 and going down 0
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The easiest way is to just click on the indicator on the chart and select Create Condition (or Create Scan Condition) and choose to create a new scan once you have set up the condition as desired.
If you want to do this as a pformula, please try the followin in TC2000 v17+.
Exponential MACD Histogram 12,26,9 crossing up through zero.
XUP(MACD12.26 - XAVG(MACD12.26, 9), 0)
Exponential MACD Histogram 12,26,9 crossing down through zero.
XDOWN(MACD12.26 - XAVG(MACD12.26, 9), 0)
Or the following in earlier versions of TC2000.
Exponential MACD Histogram 12,26,9 crossing up through zero.
XAVGC12 - XAVGC26 > XAVG(XAVGC12, 9) - XAVG(XAVGC26, 9) AND XAVGC12.1 - XAVGC26.1 <= XAVG(XAVGC12.1, 9) - XAVG(XAVGC26.1, 9)
Exponential MACD Histogram 12,26,9 crossing down through zero.
XAVGC12 - XAVGC26 < XAVG(XAVGC12, 9) - XAVG(XAVGC26, 9) AND XAVGC12.1 - XAVGC26.1 >= XAVG(XAVGC12.1, 9) - XAVG(XAVGC26.1, 9)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|