Registered User Joined: 7/23/2006 Posts: 132
|
Bruce had created a formula called Zero Lag that he worked out from a Stock & Commodoties article.
I wonder if that Zero Lag indicator can be programmed to use in Telechart? It would be more useful to me there.
Thanks for the help.
Bernie
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You may wish to review the following:
Lag Efficient Moving Average
Hull Moving Average
Setting up a DEMA MACD
If you have a particular type of "Zero Lag Moving Average" in mind along with the Period, we can probably help you create it in TeleChart.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 7/23/2006 Posts: 132
|
Bruce;
You did a thing in stockfinder called Faster with Zero Lagging. It had a 10 period and was a TEMA along with Hiekin Ashi.
Bernie
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The Triple Expenential Moving Average (TEMA) is:
3 * EMA - 3 * EMA of EMA + EMA of EMA of EMA
The first two parts are pretty simple. For example, if the Period is 10:
3 * XAVGC10 - 3 * XAVG(XAVGC10,10)
But the EMA of EMA of EMA is more complicated (again for Period 10):
.181980276277401 * (XAVG(XAVGC10,10) + 9 / 11 * (XAVG(XAVGC10.1,10) + 9 / 11 * (XAVG(XAVGC10.2,10) + 9 / 11 * (XAVG(XAVGC10.3,10) + 9 / 11 * (XAVG(XAVGC10.4,10) + 9 / 11 * (XAVG(XAVGC10.5,10) + 9 / 11 * (XAVG(XAVGC10.6,10) + 9 / 11 * (XAVG(XAVGC10.7,10) + 9 / 11 * (XAVG(XAVGC10.8,10) + 9 / 11 * (XAVG(XAVGC10.9,10) + 9 / 11 * (XAVG(XAVGC10.10,10) + 9 / 11 * (XAVG(XAVGC10.11,10) + 9 / 11 * (XAVG(XAVGC10.12,10) + 9 / 11 * (XAVG(XAVGC10.13,10) + 9 / 11 * (XAVG(XAVGC10.14,10) + 9 / 11 * (XAVG(XAVGC10.15,10) + 9 / 11 * (XAVG(XAVGC10.16,10) + 9 / 11 * (XAVG(XAVGC10.17,10) + 9 / 11 * (XAVG(XAVGC10.18,10) + 9 / 11 * (XAVG(XAVGC10.19,10) + 9 / 11 * (XAVG(XAVGC10.20,10) + 9 / 11 * (XAVG(XAVGC10.21,10) + 9 / 11 * (XAVG(XAVGC10.22,10) + 9 / 11 * (XAVG(XAVGC10.23,10) + 9 / 11 * (XAVG(XAVGC10.24,10) + 9 / 11 * (XAVG(XAVGC10.25,10) + 9 / 11 * (XAVG(XAVGC10.26,10) + 9 / 11 * (XAVG(XAVGC10.27,10) + 9 / 11 * (XAVG(XAVGC10.28,10) + 9 / 11 * (XAVG(XAVGC10.29,10) + 9 / 11 * (XAVG(XAVGC10.30,10) + 9 / 11 * (XAVG(XAVGC10.31,10) + 9 / 11 * (XAVG(XAVGC10.32,10) + 9 / 11 * (XAVG(XAVGC10.33,10) + 9 / 11 * (XAVG(XAVGC10.34,10))))))))))))))))))))))))))))))))))))
The result is:
3 * XAVGC10 - 3 * XAVG(XAVGC10,10) + .181980276277401 * (XAVG(XAVGC10,10) + 9 / 11 * (XAVG(XAVGC10.1,10) + 9 / 11 * (XAVG(XAVGC10.2,10) + 9 / 11 * (XAVG(XAVGC10.3,10) + 9 / 11 * (XAVG(XAVGC10.4,10) + 9 / 11 * (XAVG(XAVGC10.5,10) + 9 / 11 * (XAVG(XAVGC10.6,10) + 9 / 11 * (XAVG(XAVGC10.7,10) + 9 / 11 * (XAVG(XAVGC10.8,10) + 9 / 11 * (XAVG(XAVGC10.9,10) + 9 / 11 * (XAVG(XAVGC10.10,10) + 9 / 11 * (XAVG(XAVGC10.11,10) + 9 / 11 * (XAVG(XAVGC10.12,10) + 9 / 11 * (XAVG(XAVGC10.13,10) + 9 / 11 * (XAVG(XAVGC10.14,10) + 9 / 11 * (XAVG(XAVGC10.15,10) + 9 / 11 * (XAVG(XAVGC10.16,10) + 9 / 11 * (XAVG(XAVGC10.17,10) + 9 / 11 * (XAVG(XAVGC10.18,10) + 9 / 11 * (XAVG(XAVGC10.19,10) + 9 / 11 * (XAVG(XAVGC10.20,10) + 9 / 11 * (XAVG(XAVGC10.21,10) + 9 / 11 * (XAVG(XAVGC10.22,10) + 9 / 11 * (XAVG(XAVGC10.23,10) + 9 / 11 * (XAVG(XAVGC10.24,10) + 9 / 11 * (XAVG(XAVGC10.25,10) + 9 / 11 * (XAVG(XAVGC10.26,10) + 9 / 11 * (XAVG(XAVGC10.27,10) + 9 / 11 * (XAVG(XAVGC10.28,10) + 9 / 11 * (XAVG(XAVGC10.29,10) + 9 / 11 * (XAVG(XAVGC10.30,10) + 9 / 11 * (XAVG(XAVGC10.31,10) + 9 / 11 * (XAVG(XAVGC10.32,10) + 9 / 11 * (XAVG(XAVGC10.33,10) + 9 / 11 * (XAVG(XAVGC10.34,10))))))))))))))))))))))))))))))))))))
The 10-day zero lagging triple exponential MA topic covers the issues and possible solutions for combining this with Heikin-Ashi, but I'm not going to be creating any Personal Criteria Formulas for doing so.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 7/23/2006 Posts: 132
|
Thanks Bruce. If I wanted to use a 5 period, would I simply change all the 10's to 5?
Bernie
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
For the first two parts, yes, but the expansion for the third part changes:
Cascades of Moving Averages
3 * XAVGC5 - 3 * XAVG(XAVGC5,5) + .333559032545198 * (XAVG(XAVGC5,5) + 2 / 3 * (XAVG(XAVGC5.1,5) + 2 / 3 * (XAVG(XAVGC5.2,5) + 2 / 3 * (XAVG(XAVGC5.3,5) + 2 / 3 * (XAVG(XAVGC5.4,5) + 2 / 3 * (XAVG(XAVGC5.5,5) + 2 / 3 * (XAVG(XAVGC5.6,5) + 2 / 3 * (XAVG(XAVGC5.7,5) + 2 / 3 * (XAVG(XAVGC5.8,5) + 2 / 3 * (XAVG(XAVGC5.9,5) + 2 / 3 * (XAVG(XAVGC5.10,5) + 2 / 3 * (XAVG(XAVGC5.11,5) + 2 / 3 * (XAVG(XAVGC5.12,5) + 2 / 3 * (XAVG(XAVGC5.13,5) + 2 / 3 * (XAVG(XAVGC5.14,5) + 2 / 3 * (XAVG(XAVGC5.15,5) + 2 / 3 * (XAVG(XAVGC5.16,5) + 2 / 3 * (XAVG(XAVGC5.17,5)))))))))))))))))))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|