Forgot about that.  Surprised there is not an IsFund() function but easy enough 
to code.

Bill
  ----- Original Message ----- 
  From: Mike 
  To: [email protected] 
  Sent: Sunday, June 01, 2008 12:58 AM
  Subject: [amibroker] Re: SKIP>INDEXES and MUTUAL FUNDS


  Indexes are easily recognized in code via the IsIndex() function. No 
  need to worry about data provider naming conventions.

  Mike

  --- In [email protected], "wavemechanic" <[EMAIL PROTECTED]> 
  wrote:
  >
  > You can utilize the fact that mutual fund symbols are five letters 
  and the fifth is X (or x) which you can find with StrRight() and 
  StrLen().  Index symbols have a character in the first position that 
  depends on the data provider (e.g., $ or ^) which you can find with 
  StrLeft().
  > 
  > Bill
  > 
  > 
  >   ----- Original Message ----- From: Ronald Davis 
  >   To: [email protected] 
  >   Sent: Saturday, May 31, 2008 2:55 PM
  >   Subject: [amibroker] SKIP>INDEXES and MUTUAL FUNDS
  > 
  > 
  >    Dick Hoierman was aware of a METASTOCK exploration called 
  PERFORMANCE, and he graciously shared the Amibroker version of it 
  with us .  
  > 
  >   This happens to be the VOLUME version of it.
  > 
  >   I would like to have it modified so it can be run  my entire 
  Yahoo stocks DATABASE, but I want it to SKIP the INDEXES and MUTUAL 
  FUNDS  so that I find ONLY the volumes of single STOCKS, ETF'S,  
  MLP'S, REITS,   etc. 
  > 
  >   Hopefully, an Amerbrokerian on this board can do this.   Thanks 
  Ron D.
  > 
  >   MA10=MA(V,10);
  > 
  >   MA25=MA(V,25);
  > 
  >   MA50=MA(V,50);
  > 
  >   MA75=MA(V,75);
  > 
  >   MA100=MA(V,100);
  > 
  >   //AddTextColumn( FullName(), "FullName" ); 
  > 
  >   AddColumn (MA10, "MA10",1.2);
  > 
  >   AddColumn (MA25, "MA25",1.2);
  > 
  >   AddColumn (MA50, "MA50",1.2);
  > 
  >   AddColumn (MA75, "MA75",1.2);
  > 
  >   AddColumn (MA100, "MA100",1.2);
  > 
  >   Filter = 1; // dummy
  > 
  >    
  > 
  > 
  > --------------------------------------------------------------------
  ----------
  > 
  > 
  > 
  >   No virus found in this incoming message.
  >   Checked by AVG. 
  >   Version: 8.0.100 / Virus Database: 269.24.4/1475 - Release Date: 
  5/30/2008 2:53 PM
  >



  ------------------------------------

  Please note that this group is for discussion between users only.

  To get support from AmiBroker please send an e-mail directly to 
  SUPPORT {at} amibroker.com

  For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
  http://www.amibroker.com/devlog/

  For other support material please check also:
  http://www.amibroker.com/support.html
  Yahoo! Groups Links





------------------------------------------------------------------------------



  No virus found in this incoming message.
  Checked by AVG. 
  Version: 8.0.100 / Virus Database: 269.24.4/1475 - Release Date: 5/30/2008 
2:53 PM

Reply via email to