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

Re: [amibroker] Invalid sector id



PureBytes Links

Trading Reference Links

I just went through this with Marcin and Tomasz.....There is a mix up with your Sector ID's.......

I deleted the database and reloaded a new database and downloaded new history......Then it happened again....I found that the indices in my database were assigned incorrectly....

Run the following and you can stop it after the indices.

settings:
all symbols
n last quotations
n=1
Explore

 Filter=1;
AddColumn(SectorID(),"",1);



What Sector ID is assigned to your indices ?



Anthony

  ----- Original Message ----- 
  From: murthysuresh 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, October 12, 2004 1:30 PM
  Subject: [amibroker] Invalid sector id



  I get the followign error. How do i fix it

  Line 10, Column 20:
  upvol=IIf(up,V/C,0);

  dnvol=IIf(dn,V/C,0);

  x=SectorID(0);

  sym="~"+SectorID(1);
  -------------------^

  SectorID is outside of correct range (0..63), possibly 
  sector/industry assignments are incorrect





  Check AmiBroker web page at:
  http://www.amibroker.com/

  Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 


        Yahoo! Groups Sponsor 
              ADVERTISEMENT
             
       
       


------------------------------------------------------------------------------
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/
      
    b.. To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
      
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/