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

[amibroker] Seasonal Charts



PureBytes Links

Trading Reference Links

I am wanting to code a seasonal chart where I can over lay three over 
four months on one chart from sequential years.  Say September 1st of 
the last 3 years all starting at the same location on one chart.  (I am 
looking at plotting bar ranges from one array.)  Any suggestions or 
examples would be appreciated...

I have used the following and it seems close...

DaysPerYear = 252;

CurrentYear = C;
LastYear = Ref(C,-dayperyear);
2YearsBack = Ref(C,-dayperyear*2);
3YearsBack = Ref(C,-dayperyear*3);

My problem is I want to trim the beginning day of the chart to start on 
the same day of the year. Been looking and I just have not found a 
simple solution so I ask for help.

Randall



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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/