A sample code for forming Sector Composites,

// Sector Composites:

sym="~"+SectorID(1);
AddToComposite(L,sym,"L", 1 + 2);
AddToComposite(O,sym,"O", 1 + 2);
AddToComposite(H,sym,"H", 1 + 2);
AddToComposite(C,sym,"C", 1 + 2);
AddToComposite(V,sym,"V", 1 + 2);

Cheers

Prashanth


On Tue, Aug 10, 2010 at 10:44 AM, sohamdas <soham...@yahoo.co.in> wrote:

> The Problem is I dont really understand how AddtoComposites can help me in
> forming such a portfolio.
>
> Any help would be appreciated
>
> Soham
>
> --- In amibroker@yahoogroups.com, Prashanth K <prash454...@...> wrote:
> >
> > Have you tried AddtoComposite ?
> >
> > Cheers
> >
> > Prashanth
> >
> > On Tue, Aug 10, 2010 at 10:02 AM, sohamdas <soham...@...> wrote:
> >
> > > Hi Folks any help on this
> > >
> > > Soham
> > >
> > > --- In amibroker@yahoogroups.com, "sohamdas" <sohamdas@> wrote:
> > > >
> > > > Hi Folks,
> > > >
> > > > I have got my universe of stocks classified into different
> industries. I
> > > intend to generate, hypothetical index reflecting the growth of those
> > > industries, in Amibroker.
> > > >
> > > >
> > > > Can you help me out in this. If possible I would like each one of
> them to
> > > start from a common number, say 100 or 1000. It will be like VAMI, but
> of a
> > > portfolio consisting of a particular set of companies belonging to a
> > > particular Industry.
> > > >
> > > > Would appreciate your help
> > > >
> > > > Soham
> > > >
> > >
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > > **** IMPORTANT PLEASE READ ****
> > > This group is for the discussion between users only.
> > > This is *NOT* technical support channel.
> > >
> > > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > > SUPPORT {at} amibroker.com
> > >
> > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > > http://www.amibroker.com/feedback/
> > > (submissions sent via other channels won't be considered)
> > >
> > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > > http://www.amibroker.com/devlog/
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
>
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>

Reply via email to