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

Re: [amibroker] Re: Basic AddToComposite Question



PureBytes Links

Trading Reference Links

Use the following custom indicator formula:

graph0 = Close;
graph1 = Foreign("~MyIndex", "C");

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Dennis_33437" <dennis5692@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, April 23, 2002 1:13 PM
Subject: [amibroker] Re: Basic AddToComposite Question


> Tomasz,
> 
> How can I over lay a stock on top of the "my index" to compare them.
> 
> Thnak you in advance,
> Dennis
> 
> 
> 
> --- In amibroker@xxxx, "Tomasz Janeczko" <amibroker@xxxx> wrote:
> > Keith,
> > 
> > You have to create a watch list that includes those 30 symbols.
> > Then you need to write a formula that adds the prices:
> > AddToComposite( C/30, "~MyIndex", "C" );
> > AddToComposite( O/30, "~MyIndex", "O" );
> > AddToComposite( H/30, "~MyIndex", "H" );
> > AddToComposite( L/30, "~MyIndex", "L" );
> > AddToComposite( V/30, "~MyIndex", "V" );
> > 
> > then run this can over the watch list. And go to the Symbol tree
> > and select ~MyIndex symbol - this will be your index.
> > 
> > If you are creating custom composites you have to run scan each day
> > to update it.
> > 
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message ----- 
> > From: "kbennett99" <kbennett@xxxx>
> > To: <amibroker@xxxx>
> > Sent: Monday, April 22, 2002 10:48 AM
> > Subject: [amibroker] Basic AddToComposite Question
> > 
> > 
> > > 
> > > I have some difficulty to follow the (for me) complicated "How 
> to" 
> > > examples which have been given.
> > > 
> > > I have 30 stocks which I track as an artificial index. I produce 
> this 
> > > index by averaging the 30 OHLC and Vol numbers in Excel, and then 
> > > import into AB using the ASCII importer.
> > > 
> > > How can I do this using AddToComposite, and will the artificial 
> index 
> > > be automatically updated each day (I use the TC2000 plugin).
> > > 
> > > Assistance appreciated.
> > > 
> > > Keith (B)
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/ 
> > > 
> > > 
> > >
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>