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

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



PureBytes Links

Trading Reference Links

Hi Jose
  Thanks for writing this formula. 
  This formula is useful for me for stock trading
   
  I also trade Futures. 
  However is there any way to write a formula to know at what point tomorrow will it cross? 
  This is because when I trade Future, I buy when the EMA cross up and I sell when it crosses down. 
  Right now at the end of the day I manually key in the close price at the Downloader(Metastock) to check at what point it will cross for tommorow.
  I hope you will reply this email. 
  Thanks
   
  Alwin Chuah 
  .  
   
  

Jose Silva <josesilva22@xxxxxxxxx> wrote:
          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 



         

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

[Non-text portions of this message have been removed]



 
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/