Registered User Joined: 10/26/2006 Posts: 56
|
Hi, like to use a new MACD calculation:
(10-period EMA minus 30-period EMA) divided by the 30-period EMA
to replace the traditional MACD.
For the NEW_MACD-Histogram, it will be the difference between the NEW MACD of above and the 9-day EMA of the the NEW MACD.
We tried to modify this one shown by Craig, not much results either. Please help, thanks,
MACD Histogram Crossing From Negative to Positive Today (XAVGC20-XAVGC40)>(XAVG(XAVGC30,20)-XAVG(XAVGC40,30)) AND (XAVGC20.1-XAVGC40.1)<(XAVG(XAVGC30.1,20)-XAVG(XAVGC40.1,30))
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following:
New MACD Histogram Crossing From Negative to Positive Today:
XAVGC10 / XAVGC30 - .200198266760174 * (XAVGC10 / XAVGC30 + .8 * (XAVGC10.1 / XAVGC30.1 + .8 * (XAVGC10.2 / XAVGC30.2 + .8 * (XAVGC10.3 / XAVGC30.3 + .8 * (XAVGC10.4 / XAVGC30.4 + .8 * (XAVGC10.5 / XAVGC30.5 + .8 * (XAVGC10.6 / XAVGC30.6 + .8 * (XAVGC10.7 / XAVGC30.7 + .8 * (XAVGC10.8 / XAVGC30.8 + .8 * (XAVGC10.9 / XAVGC30.9 + .8 * (XAVGC10.10 / XAVGC30.10 + .8 * (XAVGC10.11 / XAVGC30.11 + .8 * (XAVGC10.12 / XAVGC30.12 + .8 * (XAVGC10.13 / XAVGC30.13 + .8 * (XAVGC10.14 / XAVGC30.14 + .8 * (XAVGC10.15 / XAVGC30.15 + .8 * (XAVGC10.16 / XAVGC30.16 + .8 * (XAVGC10.17 / XAVGC30.17 + .8 * (XAVGC10.18 / XAVGC30.18 + .8 * (XAVGC10.19 / XAVGC30.19 + .8 * (XAVGC10.20 / XAVGC30.20 + .8 * (XAVGC10.21 / XAVGC30.21 + .8 * (XAVGC10.22 / XAVGC30.22 + .8 * (XAVGC10.23 / XAVGC30.23 + .8 * (XAVGC10.24 / XAVGC30.24 + .8 * (XAVGC10.25 / XAVGC30.25 + .8 * (XAVGC10.26 / XAVGC30.26 + .8 * (XAVGC10.27 / XAVGC30.27 + .8 * (XAVGC10.28 / XAVGC30.28 + .8 * (XAVGC10.29 / XAVGC30.29 + .8 * (XAVGC10.30 / XAVGC30.30))))))))))))))))))))))))))))))) > 0 AND XAVGC10.1 / XAVGC30.1 - .200198266760174 * (XAVGC10.1 / XAVGC30.1 + .8 * (XAVGC10.2 / XAVGC30.2 + .8 * (XAVGC10.3 / XAVGC30.3 + .8 * (XAVGC10.4 / XAVGC30.4 + .8 * (XAVGC10.5 / XAVGC30.5 + .8 * (XAVGC10.6 / XAVGC30.6 + .8 * (XAVGC10.7 / XAVGC30.7 + .8 * (XAVGC10.8 / XAVGC30.8 + .8 * (XAVGC10.9 / XAVGC30.9 + .8 * (XAVGC10.10 / XAVGC30.10 + .8 * (XAVGC10.11 / XAVGC30.11 + .8 * (XAVGC10.12 / XAVGC30.12 + .8 * (XAVGC10.13 / XAVGC30.13 + .8 * (XAVGC10.14 / XAVGC30.14 + .8 * (XAVGC10.15 / XAVGC30.15 + .8 * (XAVGC10.16 / XAVGC30.16 + .8 * (XAVGC10.17 / XAVGC30.17 + .8 * (XAVGC10.18 / XAVGC30.18 + .8 * (XAVGC10.19 / XAVGC30.19 + .8 * (XAVGC10.20 / XAVGC30.20 + .8 * (XAVGC10.21 / XAVGC30.21 + .8 * (XAVGC10.22 / XAVGC30.22 + .8 * (XAVGC10.23 / XAVGC30.23 + .8 * (XAVGC10.24 / XAVGC30.24 + .8 * (XAVGC10.25 / XAVGC30.25 + .8 * (XAVGC10.26 / XAVGC30.26 + .8 * (XAVGC10.27 / XAVGC30.27 + .8 * (XAVGC10.28 / XAVGC30.28 + .8 * (XAVGC10.29 / XAVGC30.29 + .8 * (XAVGC10.30 / XAVGC30.30 + .8 * (XAVGC10.31 / XAVGC30.31))))))))))))))))))))))))))))))) <= 0
New Raw MACD:
XAVGC10 / XAVGC30 - 1
New MACD Trigger:
.200198266760174 * (XAVGC10 / XAVGC30 + .8 * (XAVGC10.1 / XAVGC30.1 + .8 * (XAVGC10.2 / XAVGC30.2 + .8 * (XAVGC10.3 / XAVGC30.3 + .8 * (XAVGC10.4 / XAVGC30.4 + .8 * (XAVGC10.5 / XAVGC30.5 + .8 * (XAVGC10.6 / XAVGC30.6 + .8 * (XAVGC10.7 / XAVGC30.7 + .8 * (XAVGC10.8 / XAVGC30.8 + .8 * (XAVGC10.9 / XAVGC30.9 + .8 * (XAVGC10.10 / XAVGC30.10 + .8 * (XAVGC10.11 / XAVGC30.11 + .8 * (XAVGC10.12 / XAVGC30.12 + .8 * (XAVGC10.13 / XAVGC30.13 + .8 * (XAVGC10.14 / XAVGC30.14 + .8 * (XAVGC10.15 / XAVGC30.15 + .8 * (XAVGC10.16 / XAVGC30.16 + .8 * (XAVGC10.17 / XAVGC30.17 + .8 * (XAVGC10.18 / XAVGC30.18 + .8 * (XAVGC10.19 / XAVGC30.19 + .8 * (XAVGC10.20 / XAVGC30.20 + .8 * (XAVGC10.21 / XAVGC30.21 + .8 * (XAVGC10.22 / XAVGC30.22 + .8 * (XAVGC10.23 / XAVGC30.23 + .8 * (XAVGC10.24 / XAVGC30.24 + .8 * (XAVGC10.25 / XAVGC30.25 + .8 * (XAVGC10.26 / XAVGC30.26 + .8 * (XAVGC10.27 / XAVGC30.27 + .8 * (XAVGC10.28 / XAVGC30.28 + .8 * (XAVGC10.29 / XAVGC30.29 + .8 * (XAVGC10.30 / XAVGC30.30))))))))))))))))))))))))))))))) - 1
New MACD Histogram:
XAVGC10 / XAVGC30 - .200198266760174 * (XAVGC10 / XAVGC30 + .8 * (XAVGC10.1 / XAVGC30.1 + .8 * (XAVGC10.2 / XAVGC30.2 + .8 * (XAVGC10.3 / XAVGC30.3 + .8 * (XAVGC10.4 / XAVGC30.4 + .8 * (XAVGC10.5 / XAVGC30.5 + .8 * (XAVGC10.6 / XAVGC30.6 + .8 * (XAVGC10.7 / XAVGC30.7 + .8 * (XAVGC10.8 / XAVGC30.8 + .8 * (XAVGC10.9 / XAVGC30.9 + .8 * (XAVGC10.10 / XAVGC30.10 + .8 * (XAVGC10.11 / XAVGC30.11 + .8 * (XAVGC10.12 / XAVGC30.12 + .8 * (XAVGC10.13 / XAVGC30.13 + .8 * (XAVGC10.14 / XAVGC30.14 + .8 * (XAVGC10.15 / XAVGC30.15 + .8 * (XAVGC10.16 / XAVGC30.16 + .8 * (XAVGC10.17 / XAVGC30.17 + .8 * (XAVGC10.18 / XAVGC30.18 + .8 * (XAVGC10.19 / XAVGC30.19 + .8 * (XAVGC10.20 / XAVGC30.20 + .8 * (XAVGC10.21 / XAVGC30.21 + .8 * (XAVGC10.22 / XAVGC30.22 + .8 * (XAVGC10.23 / XAVGC30.23 + .8 * (XAVGC10.24 / XAVGC30.24 + .8 * (XAVGC10.25 / XAVGC30.25 + .8 * (XAVGC10.26 / XAVGC30.26 + .8 * (XAVGC10.27 / XAVGC30.27 + .8 * (XAVGC10.28 / XAVGC30.28 + .8 * (XAVGC10.29 / XAVGC30.29 + .8 * (XAVGC10.30 / XAVGC30.30)))))))))))))))))))))))))))))))
You may wish to review the following:
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
|