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

RE: [amibroker] Re: Overlay price chart of second symbol



PureBytes Links

Trading Reference Links

You could modify that chart and plot multiple years like this or some
variation thereof:

periods = 10;
barsPer = 252;
for (x = 0; x < periods; x++)
Plot(Ref(C,-x * barsPer),"Current data",x + 1);

The above does not doing anything with the Relative part, but you can
get that from the existing code.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of wlandry01
Sent: Friday, October 13, 2006 19:10
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Overlay price chart of second symbol

Tomasz,

Can the Relative Performance Chart be used to plot multiple years for
a single stock on a single chart?

Thanks,


Wayne


--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> wrote:
>
> Yes, the AFL is inside standard "Formulas\Price" folder
>  (accessible from charts tree)
> http://www.amibroker.com/guide/h_dragdrop.html
> 
> (if you don't have it, it means you did not run full setup)
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "J. Biran" <jbiran@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, October 13, 2006 11:12 PM
> Subject: RE: [amibroker] Overlay price chart of second symbol
> 
> 
> > 
> > Can you elaborate? Is this an AFL file somewhere (I can not find)? 
> > 
> > Help lists "Relative Performance Chart" but not how to get to it
> > 
> > 
> > 
> > Joseph Biran
> > ____________________________________________
> > 
> > 
> > -----Original Message-----
> > From: amibroker@xxxxxxxxxxxxxxx On Behalf Of Tomasz Janeczko
> > Sent: Friday, October 13, 2006 1:35 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: Re: [amibroker] Overlay price chart of second symbol
> > 
> > Hello,
> > 
> > Use built-in:
> > Charts->Price->Relative Performance 
> > 
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message ----- 
> > From: "i7505" <i7505@xxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Friday, October 13, 2006 9:30 PM
> > Subject: [amibroker] Overlay price chart of second symbol
> > 
> > 
> >>I have looked through the docs and search the kb & groups and can
not
> >> seem to find the answer to this - how can I overlay the price
charts
> >> of two different symbols in the same chart window? I am coming from
> >> Ensign where this is very easy to do, but I can not find an
> > equivalent
> >> method in AB. For a simple example - to overlay a price chart of
the
> >> NASDAQ 100 and the S&P 100.
> >> 
> >> TIA, Greg
> > 
> > 
> > 
> > Please note that this group is for discussion between users only.
> > 
> > To get support from AmiBroker please send an e-mail directly to 
> > SUPPORT {at} amibroker.com
> > 
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> >
>





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links





Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006