Malcolm, 1. There is no limit (that I know of) to the number of symbols that can go into a composite. I have used over 35,000 in my composites when backtesting against data included delisted stocks.
2. Cover is a 'buy' that is used to close out a short position. The distinction is necessary so that you can deal with both the opening of a long position and the closing of a short position without ambiguity. Mike --- In [email protected], malcolm Crouch <malcolm.crouc...@...> wrote: > > Hi Mike , > > Im busy reading the pdf now . This looks like something very useful . > > Thanks for this . > > basically it telling you to create a composite (as apposed to a sector ) or > even a portfolio and from that you can do wonderful things , for instance > you can calculate your composite RSI or MACD , you can also get your > advance and decline levels for this composite . > > > Some Questions : > 1.How many Stocks can you add to the composite ? The examples dont put > tickers in , but i assumer quite a few . > 2. Whats the difference between Cover and buy ? I always thought they were > the same . > > Buy=Cross(17,StochRsi); > Sell=Cross(StochRsi,83); > Short=Cross(StochRsi,83); > Cover=Cross(17,StochRsi); > > thats it for now . > > Cheers > > Malcolm > > > > > On Tue, Jul 28, 2009 at 5:39 AM, Mike <sfclimb...@...> wrote: > > > > > > > Also look at AdvIssues, AdvVolume > > > > http://www.amibroker.com/guide/afl/afl_view.php?id=15 > > http://www.amibroker.com/guide/afl/afl_view.php?id=10 > > > > Mike > > > > > > --- In [email protected] <amibroker%40yahoogroups.com>, "Mike" > > <sfclimbers@> wrote: > > > > > > Read the excellent guide by Herman on AddToComposite, pages 13, 14 in > > particular should address your needs. > > > > > > http://www.amibroker.org/3rdparty/IntroToAtc.pdf > > > > > > Mike > > > > > > --- In [email protected] <amibroker%40yahoogroups.com>, malcolm > > Crouch <malcolm.croucher@> wrote: > > > > > > > > i am wondering if there is any way to calculate the following in AFL: > > > > 1.Number of Stocks up > > > > 2.Volume up stocks > > > > > > > > Regards > > > > > > > > Malcolm > > > > > > > > > > > > > > > > > -- > Malcolm A.B Croucher >
