I also noticed that running Composite on All symbols ( Apply to ALL SYMBOLS 
checked on) vs
( Apply to USE FILTAR checked on / INCLUDE TAB empty/ EXCLUDE TAB indexes 
checked on ) 
yields different results.

Thank you Brian for response.

  ----- Original Message ----- 
  From: brian_z111 
  To: [email protected] 
  Sent: 8. ožujak 2009 13:55
  Subject: [amibroker] Re: Whats wrong with this formula for Average Price 
Composite


  Hello Drazen,

  Have a look in the Information window ..... are the indexes in your Yahoo DB 
set to IsIndex? == Yes

  If it is not categorised as an Index excluding from the scan won't help.

  If it is categorised as an Index it will also be listed in the Index folder 
in the symbol tree hierachy.

  You can manually set them in the Information 'cell' OR use the Category() 
functions to do this from a list.

  --- In [email protected], "DStricek12" <dstrice...@...> wrote:
  >
  > Hello,
  > 
  > Im building the average price composite of whole US stocks Yahoo database.
  > Currently I have 5355 symbols in it.
  > In Apply to filter I have excluded indexes and composites from scan.
  > 
  > After running Average composite Scan, the average price result is 9599958 $ 
and clearly this cannot be true.
  > 
  > The formula I m using is:
  > 
  > // ****************************
  > AddToComposite(Close, "~MyIndex", "X" ); 
  > AddToComposite( 1, "~MyIndex", "I" );
  > buy = 0; // required by scan mode
  > 
  > graph0 = Foreign( "~MyIndex", "C" )/Foreign( "~MyIndex", "I" );
  > 
  > // ****************************
  > 
  > 
  > 
  > Any help would be appreciated.
  > 
  > Drazen
  >



  


  __________ NOD32 3917 (20090307) Information __________

  This message was checked by NOD32 antivirus system.
  http://www.eset.com

Reply via email to