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

RE: [amibroker] Re: Timeframe seting.



PureBytes Links

Trading Reference Links

4*inHourly.

TIMEFRAMESET
- switch price arrays to a different time frame Time Frame functions
(AFL 2.5)


SYNTAX  TimeFrameSet( interval)
RETURNS NOTHING
FUNCTION  The TimeFrameSet replaces current price/volume arrays: open, high,
low, close, volume, openint, avg with time-compressed bars of specified
interval once you switched to a different time frame all calculations and
built-in indicators operate on selected time frame. To get back to original
interval call TimeFrameRestore() function. Before calling TimeFrameSet again
in the same formula with different interval you have to restore original
time frame first using TimeFrameRestore.
interval defines time frame interval in seconds. So 60 means 1-minute. For
the convenience the following interval constants are pre-defined:

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
To get other intervals you can use multiple of pre-defined intervals, for
example: ( 3*in1Minute ) gives 3 minute bars. Or you can use 3 * inDaily for
3-day bars.




-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf
Of Mohammed
Sent: Wednesday, May 30, 2007 12:14 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Timeframe seting.

Hello to all,

Please help guys, No one know how to setup this??

I would like to use this in forex 4hours Timeframe

regards,



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






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/