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

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



PureBytes Links

Trading Reference Links

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/