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

[EquisMetaStock Group] Re: End Point of Crossover of 2 EMAs



PureBytes Links

Trading Reference Links

Alwin, if by "End Point" you mean the last crossover signal, try something 
like this:

---8<-----------------------

{ Last EMA crossover signal. 
  http://www.metastocktools.com }

{ EMA periods }
pds1:=4;
pds2:=9;

{ EMAs }
EMA1:=Mov(C,pds1,E);
EMA2:=Mov(C,pds2,E);

{ Crossover signals }
signal:=Cross(EMA1,EMA2);

{ Last signal }
last:=signal*Cum(signal)=LastValue(Cum(signal));

{ Plot in own window }
{signal;}last

---8<-----------------------


jose '-)
http://www.metastocktools.com




--- In equismetastock@xxxxxxxxxxxxxxx, Alwin Chuah <ctk188@xxx> wrote:
>
> Hi
>   I am looking for a formula that can identify the
>   End Point of crossover of 2 EMAs ( eg EMA 4 cross EMA 9) 
>    
>   Thanks
>   Alwin chuah 





 
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/