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

[amibroker] Re: Excluding symbols



PureBytes Links

Trading Reference Links

Hi, Markus,

Another way to do it is to use Symbol -> Organize assignments to move 
all tickers starting with '!' or 'a' as you mentioned to another 
place, since all symbols are in alphabetical order, it should be very 
easy to do that. When you want to scan use apply to filter to select 
the market/group/watchlist... without those symbols. NO programming 
required! ;-)

Thomas


--- In amibroker@xxxxxxxxxxxxxxx, "IVA GmbH" <funnybiz@xxxx> wrote:
> Hello William,
> 
> this is a precious little goodie I´ll definitely put to use!
> 
> Mans thanks for sharing, I´m an awful programmer>sob<.
> 
> Markus
>   ----- Original Message ----- 
>   From: William Peters 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Thursday, February 27, 2003 5:12 AM
>   Subject: RE: [amibroker] Excluding symbols
> 
> 
>   Hi Markus,
> 
>   Here is one way to approach it:
>   F1 = Name() > "A" AND Name() < "M" ;
>   F2 = (StrMid(Name(),0,1) != "!"
>   AND StrMid(Name(),1,1) != "!"
>   AND StrMid(Name(),2,1) != "!"
>   AND StrMid(Name(),3,1) != "!");
>   Filter = F1 AND F2;
>   AddColumn( C, "Close" );
> 
> 
>   The above selects all tickers between A and M (Not including A 
and M) without the '!' symbol within the first 4 characters of the 
ticker name. You can modify as required.
> 
>   Regards,
>   William
> 
> 
> 
>    -----Original Message-----
>   From: funnybiz@xxxx [mailto:funnybiz@x...]
>   Sent: Wednesday 26 February, 2003 4:00 PM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: [amibroker] Excluding symbols
> 
> 
>   Hello,
> 
>   I´ve difficulties to formulate a filter that lets me exclude 
symbols from a scan according to their ticker names.
> 
>   For instance: exclude all symbols containing "!" (indices from 
the QP2 database) or starting with the letter "a" etc.
> 
>   How can this be done, please? 
> 
>   filter=name
> 
>   Markus
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   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 the Yahoo! Terms of 
Service. 
> 
>         Yahoo! Groups Sponsor 
>               ADVERTISEMENT
>              
>        
>        
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   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 the Yahoo! Terms of 
Service.


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/