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

Re: [amibroker] Excluding symbols



PureBytes Links

Trading Reference Links




Hello Herman,
 
you already anticipated a potential question by 
making me aware of the usage in all the instances (Scan, Backtest, 
Explore).
 
I especially liked the third one !
 
Thhaaaaaaaannnxxx!!
 
Markus
----- Original Message ----- 
<BLOCKQUOTE 
>
  <DIV 
  >From: 
  Herman van den 
  Bergen 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Thursday, February 27, 2003 5:30 
  AM
  Subject: RE: [amibroker] Excluding 
  symbols
  
  In 
  an Exploration you can use:
  <FONT face=Arial color=#ff0000 
  size=2>Filter = 
  StrLeft<FONT 
  face=Arial color=#8b8b00 size=2>(<FONT face=Arial color=#0000ff 
  size=2>Name(),<FONT 
  face=Arial color=#ff00ff size=2>1<FONT face=Arial color=#8b8b00 
  size=2>) != "!"<FONT 
  face=Arial color=#8b8b00 size=2>;
  <FONT face=Arial color=#8b8b00 
  size=2>to suppress stocks with a first character of "!" 
  from the Results table.
  <FONT face=Arial color=#8b8b00 
  size=2> 
  <FONT face=Arial color=#8b8b00 
  size=2>In a Backtest you would 
  use:<FONT face=Arial 
  color=#8b8b00 size=2><FONT face=Arial color=#ff0000 
  size=2>Exclude = 
  StrLeft<FONT 
  face=Arial color=#8b8b00 size=2>(<FONT face=Arial color=#0000ff 
  size=2>Name(),<FONT 
  face=Arial color=#ff00ff size=2>1<FONT face=Arial color=#8b8b00 
  size=2>) == "!"<FONT 
  face=Arial color=#8b8b00 size=2>;
  <FONT face=Arial 
  color=#0000ff size=2>to suppress stock with a first character of "!" from the 
  Results table.
  <FONT face=Arial color=#8b8b00 
  size=2><FONT 
  color=#0000ff> 
  <FONT face=Arial color=#8b8b00 
  size=2>In a Scan you 
  can qualify your signals like so:<SPAN 
  class=460232104-27022003><FONT 
  face=Arial color=#8b8b00 size=2><FONT 
  face=Arial color=#ff0000 size=2>Buy<FONT face=Arial 
  color=#8b8b00 size=2>=<FONT face=Arial color=#ff0000 
  size=2>Buy 
  AND<FONT 
  face=Arial color=#8b8b00 size=2> <FONT 
  color=#0000ff>(<FONT face=Arial color=#0000ff 
  size=2>StrLeft<FONT face=Arial color=#8b8b00 
  size=2>(<FONT face=Arial color=#0000ff 
  size=2>Name<FONT face=Arial color=#8b8b00 
  size=2>(),1<FONT 
  face=Arial color=#8b8b00 size=2>) != <FONT face=Arial color=#cc4466 
  size=2>"!");<FONT 
  face=Arial color=#8b8b00 size=2>to prevent the 
  inclusion of stocks with "!" as first 
  character.
  <FONT face=Arial color=#8b8b00 
  size=2><FONT face=Arial color=#8b8b00 
  size=2> 
  See 
  help on StrLeft() for more info.
  <FONT face=Arial color=#8b8b00 
  size=2><FONT face=Arial color=#8b8b00 
  size=2>herman.
  
    <FONT face=Tahoma 
    size=2>-----Original Message-----From: funnybiz@xxxxxx 
    [mailto:funnybiz@xxxxxx]Sent: Wednesday, February 26, 2003 4:00 
    PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [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
     
    MarkusSend BUG REPORTS 
    to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: 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 
    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
    Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: 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 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT









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 the Yahoo! Terms of Service.