PureBytes Links
Trading Reference Links
|
Try this>>Buy=YourBuyCriteria AND
(Ref(Sum(PickX,1>=1,-1) OR Ref(Sum(PickX,1>=1,-2) OR
(Ref(Sum(PickX,1>=1,-3)); /*The first (Ref(Sum( is for
yesterday, the second (Ref(Sum( is for two days
ago, and the third (Ref(Sum( is for three days
ago. You can lookback as many days ago as desired by adding
more (Ref(Sum(PickX,1>+1,-n), with n indicating the previous day
that you want to check. Hope this helps, Ron D
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Werner
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, April 04, 2004 2:19
PM
Subject: [amibroker] "Was a pick
yesterday" ??
Hi there,I was wondering if it is possible to define "Stock X was
also a pick yesterday". The background is this:I have a
BUY definition based on several BUY statements. Sometimes a certain pick
for today was also a pick yesterday. These are usually good candidates. Is
there a way to say "Pick X was also a pick yesterday or even 2 days
ago"?Thanks for any
hints.Werner------------------------ Yahoo!
Groups Sponsor ---------------------~-->Buy Ink Cartridges or Refill
Kits for your HP, Epson, Canon or LexmarkPrinter at MyInks.com. Free
s/h on orders $50 or more to the US & Canada.<A
href="">http://www.c1tracking.com/l.asp?cid=5511<A
href="">http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Send
BUG REPORTS to <A
href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
<A
href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: <A
href="">amiquote@xxxxxxxxxxxxxxx (Web
page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links<*> To visit your group on the web, go
to: <A
href="">http://groups.yahoo.com/group/amibroker/<*>
To unsubscribe from this group, send an email to:
<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx<*>
Your use of Yahoo! Groups is subject to: <A
href="">http://docs.yahoo.com/info/terms/
---Outgoing mail is certified Virus Free.Checked by AVG
anti-virus system (<A
href="">http://www.grisoft.com).Version: 6.0.638
/ Virus Database: 409 - Release Date: 4/4/2004
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|