[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Re: Zero Lag MACD Exploration



PureBytes Links

Trading Reference Links

OK, so I have a page that provides a Zero Lag MACD exploration
http://trader.online.pl/MSZ/e-ex-Zero_Lag_EMA_Exploration.html 
but the code for the indicator given is incorrect and comes up with an
error message.

Indicator : DS_EMA_X_MP()

Formula : if ( Cross(mov(mov(mp(),4,e))4,e),mov(mov(mp(),8,e))8,e)),1,
          if (Cross(mov(mov(mp(),8,e))8,e),mov(mov(mp(),4,e))4,e)),-1,
          0))
And whilst I understand your logic of using a MACD exploration and
substituting normal MACD for Zero Lag MACD I don´t know if my
understanding of Metastock formula is enough to achieve this. 
I read somewhere on recent versions of Metastock(9.1) that a zero lag
MACD exploration comes as a standard exploration.

Yours

PAUL










--- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxx> wrote:
>
> Paul,
> 
> Do you have a normal EMA crossover and MACD exploration that you like?
> 
> Preston
> 
> 
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "paul_vicmar" 
> <paul_vicmar@> wrote:
> >
> > I have been looking at Zero Lag EMA and MACD and have noticed how
> > timely the signals are in respect to other MA systems.
> > I have been trawling the net in all the usual sites to see if I 
> could
> > find a suitable Zero Lag MACD exploration or Zero Lag EMA Crossover
> > Exploration. But without any success. 
> > This is the formula I am using for Zero lag EMA 
> > Period:= Input("What Period",1,250,10);
> > EMA1:= Mov(CLOSE,Period,E);
> > EMA2:= Mov(EMA1,Period,E);
> > Difference:= EMA1 - EMA2;
> > ZeroLagEMA:= EMA1 + Difference;
> > ZeroLagEMA
> > And this is the formula for Zero Lag MACD
> > EMA1:= Mov(CLOSE,13,E);
> > EMA2:= Mov(EMA1,13,E);
> > Difference:= EMA1 - EMA2;
> > ZeroLagEMA13:= EMA1 + Difference;
> > EMA1:= Mov(CLOSE,21,E);
> > EMA2:= Mov(EMA1,21,E);
> > Difference:= EMA1 - EMA2;
> > ZeroLagEMA21:= EMA1 + Difference;
> > ZeroLagMACD:=ZeroLagEMA13 - ZeroLagEMA21;ZeroLagMACD
> > Any help would be greatly appreciated.
> > Thanxs
> > PAUL
> >
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/