PureBytes Links
Trading Reference Links
|
got it...works fine now; thanks!
----- Original Message -----
From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, December 14, 2003 8:03 PM
Subject: [amibroker] Re: AdvIssues over WatchList
> 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/
> > >
> > >
> > >
>
>
>
> 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 ---------------------~-->
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/
|