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

[amibroker] Re: getting values from multiple stocks at once



PureBytes Links

Trading Reference Links

Since in #38650 I transformed the last N100 values in an array, the 
code "to begin with" may select the top10 with a more convenient code.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx> 
wrote:
> There was a similar discussion last April.
> I posted a proposal at #38650.[The top5 of an exploration]
> Dimitris Tsokakis
> --- In amibroker@xxxxxxxxxxxxxxx, "Dave Merrill" <dmerrill@xxxx> 
> wrote:
> > not that I know everything there is to know about atc, but I am 
> familiar
> > with it, and I don't understand how it can be used to get the 
value 
> of a
> > single field on a single date from multiple tickers at once. for 
> instance,
> > what would I do to create an array containing today's closing 
price 
> for each
> > of the NASDAQ 100 stocks? atc could create a single "index" that 
> was the
> > average of them all, on every date, but that's not what I'm after.
> > 
> > or I'm missing he boat and should re-re-read.
> > 
> > alternatively, the second question I posed, how could I use atc 
to 
> find the
> > 10 NASDAQ 100 stocks with the highest closing price as of today?
> > 
> > dave
> > 
> > 
> > > AddToComposite() function is what your looking for.  This is a
> > > powerfull function useful in lots of different situations, worth
> > > investing the time to read an excellent document written by 
Herman
> > > explaining AddToComposite() at
> > > http://www.amibroker.net/3rdparty/IntroToAtc.pdf
> > > Andrew


------------------------ 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/l.m7sD/LIdGAA/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/