Hi All,

  When I execute this code, it imports a bunch of new symbols and assigns them 
to a watchlist, but 
the chart in the price pane jumps to a new symbol. 

Does anyone have a suggestion on how to prevent this jumping effect.
I am running AB 5.2

Thanks
Rajiv

AB=CreateObject("Broker.Application");
AS=AB.Stocks;
for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ )
{
     //CategoryAddSymbol(sym,categoryGroup,0);
     AS.Add(sym);
     CategoryAddSymbol( sym, categoryWatchlist, wlnew ); 
}
AB.refreshall();                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/

Reply via email to