Registered User Joined: 10/10/2004 Posts: 62
|
I need help in writing a PCF for ZERO LAG EMA with Metastock formula : Period:= Input("What Period",1,250,10); EMA1:= Mov(P,Period,E); EMA2:= Mov(EMA1,Period,E); Difference:= EMA1 - EMA2; ZeroLagEMA:= EMA1 + Difference; ZeroLagEMA
Thanks, mfg
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following:
2 * XAVGC10 - XAVG(XAVGC10,10)
You may wish to review the following:
Lag Efficient Moving Average Hull Moving Average Setting up a DEMA MACD 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
|
Registered User Joined: 10/10/2004 Posts: 62
|
Thank you , appears to work well --- mfg
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|