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

[amibroker] Re: AdvIssues over WatchList



PureBytes Links

Trading Reference Links

Dimitris,

Thanks.  It works.

Regards,
- Salil V Gangal

--- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx> 
wrote:
> 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


------------------------ 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/