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.
> 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
>
>
>
>
> > --- In
amibroker@xxxxxxxxxxxxxxx <amibroker%
40yahoogroups.com>, "Mike"
> > > --- In
amibroker@xxxxxxxxxxxxxxx <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
>