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

[EquisMetaStock Group] Coding Question



PureBytes Links

Trading Reference Links

I have a Metastock coding questionn that I hope someone will answer.
   
  Say I  have a compicated expression such as
               X:=(X>Y and A<B and C>=D);
  and want to know if it is true in any of the past 10 days.
   
  Could I code
      BarsSince(X) <= 10
   
  or must I code 
     (X or Ref(X,-1) or Ref(X,-2) or Ref(X,-3) or Ref(X,-4) 
        or Ref(X,-5) or Ref(X,-6) or Ref(X,-7) or Ref(X,-8)
      or Ref(X,-9) or Ref(X,-10)) 
   
  Thanks, Brett

   


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