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

[amibroker] Re: Timeframe question for AB Ver.5.xx



PureBytes Links

Trading Reference Links

I downloaded the trial version (latest version v.5.20 official 
release) to find out whether this latest version supports the 
Quarterly, Yearly or maybe 'BiWeekly' timeframe.
And it looks like it doesn't. Question for TJ, Do you plan to add 
these timeframes in the future version of AB?

Does anyone know how to code this in afl, I need the bi-weekly 
function (TimeFrameSet) for Mon-Fri (1st week and 2nd week) and Mon-
Fri (3rd week and 4th week).

Thanks,
Gary.


--- In amibroker@xxxxxxxxxxxxxxx, "Gary" <ghost200_2000@xxx> wrote:
>
> Hello,
> 
> I am still using AB Version 4.9 and have a question regarding 
> TimeFrameSet.
> 
> Does the newest version of AB support the following timeframes:
> - BiWeekly (Monday-Friday)
> - Quarterly (1st January - end of March)
> - Yearly (1st January - 31st December)
> 
> I feel the need of these timeframes for longer time frame investing 
> style and backtesting purposes.
> 
> I know, so far, AB has the following timeframes supported:
> in1Minute = 60 
> in5Minute = 5 * 60 
> in15Minute = 15 * 60 
> inHourly = 3600 
> inDaily = 24 * 3600 
> inWeekly = 5 * 24 * 3600 + 1 = 432001 
> inMonthly = 25 * 24 * 3600 + 1 = 2160001
> 
> But I am not sure if 'inBiWeekly', 'inQuarterly' and 'inYearly' 
> constants have been defined in the newer versions of AB.
> Of course I could use the formula of 2 * 5 * 24 * 3600 for 
BiWeekly, 
> but then it won't necessarily cover Monday-Friday case.
> 
> Thanks,
> Gary
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/