| 
 Hello, 
  
I maintain an EOD database, using the Us stock 
template to populate it...then Yahoo EOD data to maintain it... 
  
I have come across this problem continuously for 
about 2 years( + ) now...I had presented it to support...I believe last 
year...but they had no answer for the problem....so I have come to live with 
it....or not.  
  
Somehow, amibroker changes the 
SectorID.... 
  
For me, when I run this exploration, there will be 
a .... -1....for the sectorID's of all the Index's and .....-1....for some 
stocks.....IMAGE FILE IS ATTACHED... 
  
run this coded In AA window: 
  
Settings: 
all stocks 
n last quotations 
n=1 
explore 
  
Filter=1; 
AddColumn ( SectorID(), "sectorId", 1);
   
Anthony  
  ----- Original Message -----  
  
  
  Sent: Friday, November 18, 2005 1:40 
  PM 
  Subject: [amibroker] Re: Need help with 
  error code 
  
  i am using yahoo EOD for data, so no data plugins 
   however, I was able to run code without errors, what I did was  change 
  each SECTORID from a 1 to a 0  So now, question, what is the 1 and 0 doing 
  different in the 
  code?
  x=SectorID(0); sym="~"+SectorID(0); isym="~i"+SectorID(0); Ad="~AD"+SectorID(0);
 
  --- 
  In amibroker@xxxxxxxxxxxxxxx, 
  "Steve Dugas" <sjdugas@xxxx> wrote: > > What is your data 
  source? > What did you do to assign your sector ID's? > Are you 
  using any data plugins? > It appears you have somehow assigned some 
  sectors an ID number  outside  > 0...63 range. >  > 
  Steve >  > ----- Original Message -----  > From: 
  "goldwing01_1999" <goldwing01_1999@xxxx> > To: 
  <amibroker@xxxxxxxxxxxxxxx> > Sent: Friday, November 18, 2005 
  12:04 PM > Subject: [amibroker] Need help with error code > 
   >  > > How do I fix this problem? > > > > 
  Error 44. SectorID() is outside 0..63 range. > > May occur during 
  call to SectorID() function if external data  plugin > > sets 
  sector IDs incorrectly (outide 0..63 range) > > > > x = 
  SectorID(); // the formula is correct, but may fail with  error > 
  > 44 if data plugin sets sectors incorrectly > > > > 
  Basic Materials > > Capital Goods > > CONGLOMERATES > 
  > Consumer Cyclical > > Consumer/Non-Cyclical > > 
  Energy > > Financial > > Healthcare > > 
  Services > > Technology > > Transportation > > 
  Utilities > > INDEX > > > > > > > 
  > > > > > > > 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 other support material please 
  check also: > > http://www.amibroker.com/support.html > 
  > > > > > Yahoo! Groups Links > > > 
  > > > > > > > > > > 
  > >
 
 
 
  
  
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 other support material please check also: 
http://www.amibroker.com/support.html 
 
  
  
 
  
    
  YAHOO! GROUPS LINKS
 
 
    
  |