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

[amibroker] Re: Invalid sector id



PureBytes Links

Trading Reference Links


Anthony,
I tried what you suggested and came up with the same error 
message"Line 13, 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
I reported the Bug and Marcin told me to delete the Broker -Master 
file which I did.  Still same problem. I am using Jasons Sector 
Analysis AFL. This only started after installing 4.63.1

Dick H.

--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx> 
wrote:
> 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 --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/