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

Re: [EquisMetaStock Group] Coding Question



PureBytes Links

Trading Reference Links

Hi Brett


Sum(X,10)>0 should do it.


Regards

Roy

  ----- Original Message ----- 
  From: Brett Sinclair 
  To: equismetastock@xxxxxxxxxxxxxxx 
  Sent: Tuesday, February 19, 2008 9:33 PM
  Subject: [EquisMetaStock Group] Coding Question


  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]



   

  __________ NOD32 2884 (20080218) Information __________

  This message was checked by NOD32 antivirus system.
  http://www.eset.com


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