The same link suggests that you can use multiples of the existing constants, 
e.g 12 * inMonthly. Give that a try.

Mike

--- In [email protected], Inquisitive Voyager <hedonist2...@...> wrote:
>
>  Thanks mike,
> any solution for 5.1 users except upgrade?
> 
> On Tue, Jun 1, 2010 at 10:17 AM, Mike <sfclimb...@...> wrote:
> 
> >
> >
> > As of 5.20 it does.
> > http://www.amibroker.com/guide/afl/afl_view.php?id=242
> >
> > Mike
> >
> >
> > --- In [email protected] <amibroker%40yahoogroups.com>,
> > Inquisitive Voyager <hedonist2008@> wrote:
> > >
> > > IMO,
> > > TimeFrameSet does not have "inYearly" option.
> > > Even by default AB has no option for yearly candles.
> > >
> > > for that prashanth has made an AFL,but never used that.
> > >
> > > regards
> > >
> > >
> > > On Tue, Jun 1, 2010 at 10:03 AM, radmobile_radmobile <danv83@>wrote:
> >
> > >
> > > >
> > > >
> > > > You are trying to get the (H+L+C)/3 for each year for different stocks?
> > > > Maybe just use TimeFrameSet(inYearly) . Not clear on what you want to
> > do.
> > > >
> > > >
> > > > --- In [email protected] 
> > > > <amibroker%40yahoogroups.com><amibroker%
> > 40yahoogroups.com>,
> >
> > > > Inquisitive Voyager <hedonist2008@> wrote:
> > > > >
> > > > > (1)requirement: I want to create dynamic variables for each tickers
> > > > > according to data it possess.
> > > > >
> > > > > (2)details:suppose there is EOD data from 2000 to 2010.I have to
> > > > calculate
> > > > > suppose average pivot(H+L+C)/3 etc per year.
> > > > >
> > > > > Every ticker doesn't have same data bars.some were listed in
> > 2000,some in
> > > > > 2004,some in 2008 and like this.
> > > > >
> > > > > (3)point of application:
> > > > >
> > > > >
> > > > > _fd=WriteVal(BeginValue(DateTime()),formatDateTime );// first date
> > > > > _ld=WriteVal(LastValue(DateTime()),formatDateTime) ;//last date
> > > > >
> > > > > _fy=StrToNum(StrRight(_fd,4));// first year
> > > > > _ly=StrToNum(StrRight(_ld,4));// last year.
> > > > >
> > > > >
> > > > > now I have to create dynamic years between _fy and _ly.
> > > > >
> > > > > suppose _fy=2002 and _ly =2010,then AFL should create variable years
> > > > between
> > > > > these two ,so that avg value per year could be calculated.
> > > > >
> > > > > (4)I went for -
> > > > >
> > > > > for(i=_fy;i<=_ly;i++)
> > > > > {
> > > > >
> > > > > VarSet("_year"+i,i);
> > > > >
> > > > > }
> > > > >
> > > > > but it is not working .
> > > > >
> > > > > does any body shall come up with the solution ?
> > > > >
> > > > > regards
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >  
> >
>


Reply via email to