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

Re: [amibroker] Re: Invalid sector id



PureBytes Links

Trading Reference Links

Dick,

Check the image file.....when you run the fromula in the image....what do you get for your indices....as a sector id.....?

Anthony
  ----- Original Message ----- 
  From: areehoi 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Wednesday, October 13, 2004 6:33 PM
  Subject: [amibroker] Re: Invalid sector id



  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]





  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 
                        
                 Select Your State:AlabamaAlaskaArkansasArizonaCaliforniaColoradoConnecticutDelawareFloridaGeorgiaHawaiiIdahoIllinoisIndianaIowaKansasKentuckyLouisianaMaineMarylandMassachusettsMichiganMinnesotaMissippiMissouriMontanaNebraskaNevadaNew HampshireNew MexicoNew JerseyNew YorkNorth CarolinaNorth DakotaOklahomaOhioOregonPennsylvaniaRhode IslandSouth CarolinaSouth DakotaTennesseeTexasUtahVermontVirginiaWashingtonWashington D.C.West VirginiaWisconsinWyoming

                 PurchaseRefinance 

              
       
       


------------------------------------------------------------------------------
  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/