PureBytes Links
Trading Reference Links
|
Tomasz,
What can I multiply the result buy to re-scale back to get the sameresult for each stock please ?
Geoff
Original Message:
-----------------
From: Tomasz Janeczko tjaneczk@xxxx
Date: Sun, 6 May 2001 22:07:54 +0200
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re: Advance Decline Line Problem ? Attachments.
Hello,
In fact this is not a bug.
A/D line is based on cumulative sum.
This means that absolute value of the indicator
depends on NUMBER OF BARS included in the calculation
while the shape is the same.
Obviously AUD and ARL stocks have different number of quotes
in your database.
Because of this cumulative sum of AD line is calculated
for a different number of bars in each case - so
absolute value differs while the shape remains the same.
Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com
----- Original Message -----
From: "Geoff Mulhall" <gmulhall@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, May 06, 2001 4:47 AM
Subject: [amibroker] Re: Advance Decline Line Problem ? Attachments.
> Oops - now with attachments
>
> ----- Original Message -----
> From: "Geoff Mulhall" <gmulhall@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Sunday, May 06, 2001 12:44 PM
> Subject: Advance Decline Line Problem ?
>
>
> > Tomasz,
> >
> > Is this a bug perhaps ?
> >
> > Please see the two screen shots. Please note the scale on the right for
> each
> > of the two advance decline lines. They are different and I'm expecting
> them
> > to be the same.
> >
> > I've calculated adline() over all stocks the stocks in the all ordinaries
> > using
> > Ami's Stock-->Calculate composites with the options as per the third
> > screen shot.
> >
> > Why are the scales different please ?
> >
> > Below is the afl I'm using and I have Scaling set to automatic and
> Gridlines
> > set to Limits and Middle.
> >
> > I'm looking to have a screen where I can see the divergence or convergence
> > between the index (XAO) and its advance decline line as per Stan
> Weinstein.
> >
> > Thanks,
> >
> > Geoff
> >
> > /* XAO Advance Decline Line - Amibroker Formulae */
> >
> > title = "All Ordinaries Advance Decline Line";
> >
> > graph0 = ma(adline(),10);
> > graph0style = 1;
> > graph0color = 9;
> >
> > graph1 = ma( graph0 ,150);
> > graph1style = 1;
> > graph1color = 7;
> >
> > graphxspace = 10;
> >
> > /* XAO close with 30 week MA */
> >
> > title = "All Ordinaries with 150 period MA ";
> >
> > graph0 = ma(foreign( "XAO", "Close" ),10) ;
> > graph1style = 1;
> > graph0color = 9;
> >
> > graph1 = ma(graph0,150);
> >
> > graphxspace = 10;
> >
> > graph1style = 1;
> > graph1color = 7;
> >
> >
> >
> >
> >
>
>
>
> 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/
--------------------------------------------------------------------
Mail2Web - Check your email from the web at
http://www.mail2web.com/ .
|