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

[amibroker] Re: Price one year ago



PureBytes Links

Trading Reference Links

Terry,

Thanks a ton for the help.  I will play around with this and post code and PNG when I have it all set up.  This "Seasonality comparison" is probably only useful to those interested in futures.

Regards
 
--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxxx> wrote:
>
> Yes. Use styleOwnScale for the additional plots beyond today's Close. 
> 
> Use Ref to time shift the year ago chart as in:
> 
> YearOldData = Ref(C,-252);
> 
> Plot(YearOldData,"Last Year's Prices",colorBlue,styleOwnScale); //Could
> use same scale
> 
>  
> 
> 5 year average price is just:
> 
> FiveYearPrice = Sum(C,252*5)/252*5;
> 
>  
> 
> You have the data so you can figure out the probability formula and plot
> it using styleHistogram.
> 
> --
> 
> Terry
> 
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> Behalf Of axle_d
> Sent: Monday, January 23, 2006 13:37
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Price one year ago
> 
>  
> 
> Is it possible to overlay on the current graph or in a subchart the
> following:
> 
>  
> 
> 1.   Price one year ago (ie: a price chart of the data exactly 1 year
> ago)
> 
> 2.  Price chart for 5 year average price data
> 
> 3.  A probability histogram based off the past 5 years if the day's bar
> is gonna be up or down based on the historical data.
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/