PureBytes Links
Trading Reference Links
|
Chuck,
Something like following should let you use watchlists starting from
10 (to 18) representing 1995 (to 2003) -
Filter = InWatchlist(Year() - 1995 + 10);
Not tested, but should work, I think.
Jitu
--- In amibroker@xxxxxxxxxxxxxxx, "Chuck Rademacher"
<chuck_rademacher@x> wrote:
> I'm hoping that one of you guys (or gals) who were able to use the
> historical NASDAQ lists that I posted can now help me. I
basically want to
> trade only the stocks on the 1997 list, for instance, in 1997.
The stocks
> on the 2001 list in 2001. And so on.
>
> I'm assuming that I would make a watchlist that contains the sum of
all of
> the watchlists (1995 to 2003). I would then create a separate
watchlist
> for each year. Then, while trading the master list, my AFL would
check the
> year using the Year() function and only trade if the stock was in
the
> watchlist for the corresponding year. Once in a trade, I won't
worry about
> exiting if the stock no longer appears in the list. I have my own
way of
> determining if the stock is no longer traded.
>
> Anyone care to help me and, no doubt, others by supplying some code?
>
> Thanks,
>
> Chuck
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 Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
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:
http://docs.yahoo.com/info/terms/
|