Has anyone successfully created a table for the active ticker's 
industry category? I cant make the VarSetText and VarGetText 
functions work:(.  Additionally my table is for one symbol only that 
provides incorrect data regarding sector and industry assignments.  
Most industries have more than stock;).  Below is my first attempt at 
using GFX functions.. Does anyone have any pointers? 


////////////////////////////////////////////////////////////
Row = 1;

FilteredList                            =       CategoryGetSymbols( 
categoryIndustry , 60); 
 
for( i = 0; ( sym = StrExtract( FilteredList    , i ) ) != ""; i++ ) 
{ 
        
SetForeign(sym);

Compname=Name();
VarSetText("sym","Compname");
VarSet("QRS"+i,qrsrank);
VarSet("EpsRank"+i,epsrank);

  PrintInCell( StrFormat("%g",VarGetText("sym" )), row, 0 ); 
  PrintInCell( StrFormat("%g", VarGet("QRS"+i )), Row, 1 ) ; 
  PrintInCell( StrFormat("%g",  VarGet("EpsRank"+i )), Row, 2 ); 
  PrintInCell( SectorID(1), Row, 6); 
  PrintInCell( IndustryID(1), Row,7); 
   
}
RestorePriceArrays();


Reply via email to