PureBytes Links
Trading Reference Links
|
Ken,
there is a syntax error in your code:Na is the Name(), not "Na".
Filter=StrLeft(Name(),3)=="AVG";
will be enough.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Ken Close" <closeks@xxxx> wrote:
> Just curious. Is it possible to filter on a set of names?
>
> I have a lot of AVGxxxx symbols that I want to collect into a
watchlist.
>
> I tried:
>
> Na=Name();
> Filter=StrLeft("Na",3)=="AVG";
> Buy=0;
> AddTextColumn( Na,"Name");
>
> ....but no luck. Is there a way to do this?
>
> Thanks,
>
> Ken
>
> PS: I have met my need by Filter = 1; and list up to the area I
wanted
> to capture, but still would like to know how to do the above.
------------------------ 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/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|