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

[amibroker] Re: AdvIssues over WatchList



PureBytes Links

Trading Reference Links

Phsst,
there was a recent Tomasz suggestion to avoid using CategoryGetSymbols
() function for great WatchLists [more than 100 tickers or so]. 
Unfortunately I do not have WLs with 500 or 1000 stocks to check if 
it is just slow or if it becomes wrong as the population increases.
The results for my N100 database [101 tickers] were correct in 
repeated uses.
Anyway, all these examples may be treated through AddToComposite() 
scans and I hope you are familiar with this technique.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Phsst" <phsst@xxxx> wrote:
> Dimitris,
> 
> I had tried your IB version earlier tonight and had mixed results.
> 
> When I ran it against a WL that contained 600+ issues, it failed to
> produce any results.
> 
> Then when I ran it against WL's that contained 3 and 130+- issues
> respectively, it worked.
> 
> Now, when I run your new EXPLORE, I am having the same issue. 
> 
> When I run it against the 3 and 130+- issue WL, it works fine.
> 
> But when I run it against the larger 600+ WL, I get no results in 
the
> Results window at all.
> 
> Sorry that I cannot give you any more info than that.
> 
> Getting late here. I'll look at it some more tomorrow. The reason 
I'm
> interested is that I am having a similiar problem with another 
explore
> using the same 600+ issue WL that is not producing any results.
> 
> Regards,
> 
> Phsst
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" 
<TSOKAKIS@xxxx>
> wrote:
> > John,
> > The formula was for Indicator builder.
> > You should add some lines to make it work in AA.
> > Here is the adv/unch/dec/total for WL20.It will work in either IB 
or 
> > AA windows.
> > 
> > WLno=20;
> >    Adv = 0; Dec=0;unch=0; 
> >    for( i = 0; ( sym=StrExtract(CategoryGetSymbols( 
> > categoryWatchlist, WLno)
> >  , i ) ) != ""; i++ ) 
> > {
> >    SetForeign(sym);
> > r=ROC(C,1);
> > adv=(r>0)+adv;
> > unch=(r==0)+unch;
> > dec=(r<0)+dec;
> > }
> > Plot(adv,"adv",colorBlack,1);
> > Plot(unch,"unch",colorRed,1);
> > Plot(dec,"dec",colorGreen,1);
> > Plot(adv+dec+unch,"total",colorIndigo,8);
> > Filter=1;
> > AddColumn(adv,"adv",1.0);
> > AddColumn(unch,"unch",1.0);
> > AddColumn(dec,"dec",1.0);
> > AddColumn(adv+unch+dec,"total",1.0);
> > 
> > Now, for the exploration part,
> > Select any stock, no matter if it belongs to WL20 or not, select 
a 
> > date [or a range of dates] and explore. The result will be 
> > independent of the selected stock.
> > Dimitris Tsokakis
> > --- In amibroker@xxxxxxxxxxxxxxx, "john gibb" <jgibb1@xxxx> wrote:
> > > Hi DT,
> > > 
> > > I got a blank panel using an N100 Watchlist (WLno=0), and 
from/to =
> > > 12/12/2003?
> > > 
> > > What are your 'Apply To', 'Range' (and/or any other 'Settings') 
> > values here?
> > > 
> > > thanks
> > > 
> > > -john
> > > ----- Original Message ----- 
> > > From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Sunday, December 14, 2003 8:16 AM
> > > Subject: [amibroker] Re: AdvIssues over WatchList
> > > 
> > > 
> > > > For WatchList12
> > > >
> > > > WLno=12;
> > > >    Adv = 0; Dec=0;unch=0;
> > > >    for( i = 0; ( sym=StrExtract(CategoryGetSymbols(
> > > > categoryWatchlist, WLno)
> > > >  , i ) ) != ""; i++ )
> > > > {
> > > >    SetForeign(sym);
> > > > r=ROC(C,1);
> > > > adv=(r>0)+adv;
> > > > unch=(r==0)+unch;
> > > > dec=(r<0)+dec;
> > > > }
> > > > Plot(adv,"adv",colorblack,1);
> > > > Plot(unch,"unch",colorred,1);
> > > > Plot(dec,"dec",colorgreen,1);
> > > > Plot(adv+dec+unch,"total",colorindigo,8);
> > > > Dimitris Tsokakis
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "salil_gangal" 
> > <salil_gangal@xxxx>
> > > > wrote:
> > > > > Friends,
> > > > >
> > > > > Functions AdvIssues/Decssues/UncIssues work over 
the 'Market' in
> > > > > which the current Issue exists.  However, are there any 
> > functions
> > > > > similar to this that work over the 'WatchList' instead 
> > of 'Market' ?
> > > > >
> > > > > Regards,
> > > > > - Salil V Gangal
> > > >
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > 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 ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/