PureBytes Links
Trading Reference Links
|
Can anyone help with this problem?
I am trying to populate a watch list with tickers using JScript, and
I'm not sure if the problem is with the script or with the data file.
In the JScript I have the lines:
stock = AmiBroker.Stocks.Add( fields[ 0 ] );
stock.FullName = fields[ 1 ];
Stock.WatchListBits = 0; (To populate List 0)
One line of the data file reads:
XYZ,XYZ Corporation,0
Should I be using the List# or list name in the datafile? Do I need a
field# in the script file?
Keith B
|