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

Re: [amibroker] ABTool & WatchList



PureBytes Links

Trading Reference Links

Hi Fred,
what is the value of the variable "NDX100" ?
Try this please:

Filter = True;

// define the watchlist number to use
// (not the title of the WL)
WL = 1;   

// Get Number of Tickers
nTickerWL = TickerCount(WL);
AddColumn(nTickerWL, "TickersInWL", 1);

Ticker = TickerFirst(WL);
while (Ticker != "")
{
  _TRACE(Ticker);
  ticker = TickerNext(WL);
}


// UM

----- Original Message ----- 
From: "Fred" <fctonetti@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, May 08, 2003 4:44 PM
Subject: [amibroker] ABTool & WatchList


> Uenal,
> 
> I just noticed something else which is curious.
> 
> In reviewing trades that were made or attempted to be made it appears 
> that something isn't happening correctly in the getting of symbols 
> from the WatchList ...
> 
> See the code below which is pointing at a watchlist containing the 
> NDX and ^NDX and then the results below that from _TRACE in 
> DebugView ... Some of the symbols near the bottom of the list are in 
> the database but NOT in that watchlist i.e. RESREQ, XAU and others.
> 
> ABtoolInit();
> 
> _TRACE("*** B O J ***");
> 
> Filter = True;
> 
> // Set WatchList
> WL = NDX100;
> 
> // Get Number of Tickers
> nTickerWL = TickerCount(WL);
> AddColumn(nTickerWL, "TickersInWL", 1);
> 
> Ticker   = TickerFirst(WL);
> 
> while (!EOTicker)
> {
>     if (Ticker == "")
>         EOTicker = True;
>     else
>     {
>         _TRACE(Ticker + " - " + WriteVal(t1Rows, 1.0, 0));
>     }
>     ticker = TickerNext(WL);
> }
> 
> [600] *** B O J ***
> [600] ^NDX - 0
> [600] AAPL - 0
> [600] ADBE - 0
> [600] ADCT - 0
> [600] ALTR - 0
> [600] AMAT - 0
> [600] AMGN - 0
> [600] AMZN - 0
> [600] APCC - 0
> [600] APOL - 0
> [600] BBBY - 0
> [600] BEAS - 0
> [600] BGEN - 0
> [600] BMET - 0
> [600] BRCD - 0
> [600] BRCM - 0
> [600] CDWC - 0
> [600] CEPH - 0
> [600] CHIR - 0
> [600] CHKP - 0
> [600] CHRW - 0
> [600] CIEN - 0
> [600] CMCSA - 0
> [600] CMVT - 0
> [600] COST - 0
> [600] CPWR - 0
> [600] CSCO - 0
> [600] CTAS - 0
> [600] CTXS - 0
> [600] DELL - 0
> [600] DISH - 0
> [600] DLTR - 0
> [600] EBAY - 0
> [600] ERICY - 0
> [600] ERTS - 0
> [600] ESRX - 0
> [600] EXPD - 0
> [600] FAST - 0
> [600] FHCC - 0
> [600] FISV - 0
> [600] FLEX - 0
> [600] GENZ - 0
> [600] GILD - 0
> [600] GNTX - 0
> [600] HGSI - 0
> [600] HSIC - 0
> [600] ICOS - 0
> [600] IDPH - 0
> [600] INTC - 0
> [600] INTU - 0
> [600] IVGN - 0
> [600] JDSU - 0
> [600] JNPR - 0
> [600] KLAC - 0
> [600] LAMR - 0
> [600] LLTC - 0
> [600] LNCR - 0
> [600] MCHP - 0
> [600] MEDI - 0
> [600] MERQ - 0
> [600] MLNM - 0
> [600] MOLX - 0
> [600] MSFT - 0
> [600] MXIM - 0
> [600] NTAP - 0
> [600] NVDA - 0
> [600] NVLS - 0
> [600] NXTL - 0
> [600] ORCL - 0
> [600] PAYX - 0
> [600] PCAR - 0
> [600] PDCO - 0
> [600] PETM - 0
> [600] PIXR - 0
> [600] PSFT - 0
> [600] PTEN - 0
> [600] QCOM - 0
> [600] QLGC - 0
> [600] RESREQ - 0
> [600] ROEGX - 0
> [600] RUT_390 - 0
> [600] SAGWX - 0
> [600] SANM - 0
> [600] SDSCX - 0
> [600] SHSTX - 0
> [600] SMTVX - 0
> [600] SPEARN - 0
> [600] SPLS - 0
> [600] SSCAX - 0
> [600] STMDX - 0
> [600] SWSSX - 0
> [600] TEMGX - 0
> [600] TIFQX - 0
> [600] TMCGX - 0
> [600] UNSAX - 0
> [600] VLEOX - 0
> [600] VRSN - 0
> [600] WFAGX - 0
> [600] XAU - 0
> [600] XLNX - 0
> [600] XRAY - 0
> [600] *** E O J ***
> 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/