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

Re: [EquisMetaStock Group] Formula Validation



PureBytes Links

Trading Reference Links

Sorry Guys,

A small correction in code due to copy-paste :) Please read the code as

IF( Cross(L, Ref(Trough(1,L,13), -1 ) OR
Cross(Mov(C,63,S), Mov(C,30,S)),
{then} 1, {else} 0 );


Thanks and Regards,
Amit Trivedi
E: atrivedi@xxxxxxxxxxxxxxxxxxx
W: www.athenasolutionz.com

----- Original Message ----- 
From: Athena Research
To: equismetastock@xxxxxxxxxxxxxxx
Sent: Monday, March 13, 2006 8:59 AM
Subject: Re: [EquisMetaStock Group] Formula Validation


Simon,

What you are looking for is Low below lowest value in last 13 days including 
today's day. If price continues to fall, this will be valid every day and 
will give you signals, Try this code.

IF( Cross(L, Ref(Trough(1,L,13), -1 ) OR
Cross(Mov(C,63,S), Mov(C,63,S)),
{then} 1, {else} 0 );

OR Replace values 1 and 0 with your exit conditions.



Thanks and Regards,
Amit Trivedi
E: atrivedi@xxxxxxxxxxxxxxxxxxx
W: www.athenasolutionz.com
  ----- Original Message ----- 
  From: SIMON WILKINSON
  To: equismetastock@xxxxxxxxxxxxxxx
  Sent: Monday, March 13, 2006 3:48 AM
  Subject: [EquisMetaStock Group] Formula Validation


  I would appreciate it if one of you Metastock wizards would cast an eye 
over
  my exit code to see if it is correct.

  What I am looking to achieve is an exit where either the 30 day moving
  averages crosses below the 63 day moving average OR the price makes a new
  low in the last 13 days.

  L<Ref(LLV(L,13),0)
  OR Mov(C,30,S)<Mov(C,63,S) AND Ref(Mov(C,30,S),-1)>Ref(Mov(C,63,S),-1)

  Many thanks

  Simon





  SPONSORED LINKS Business finance course  Business to business finance 
Small business finance
        Business finance consultant  Business finance magazine  Business 
finance schools


------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS

    a..  Visit your group "equismetastock" on the web.

    b..  To unsubscribe from this group, send an email to:
     equismetastock-unsubscribe@xxxxxxxxxxxxxxx

    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


------------------------------------------------------------------------------



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



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> 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/