|
Hello,
Please read carefully what is written in the User's
Guide http://www.amibroker.com/guide/h_timeframe.html
along with TimeFrameExpand, quote:
TimeFrameExpand( array, interval, mode =
expandLast ) - expands time-compressed array from 'interval' time frame to base
time frame ('interval' must match the value used in TimeFrameCompress or
TimeFrameSet)
Available modes: expandLast - the compressed value is expanded starting from last bar within given period (so for example weekly close/high/low is available on Friday's bar) expandFirst - the compressed value is expanded starting from first bar within given period (so for example weekly open is available from Monday's bar) expandPoint - the resulting array gets not empty values only for the last bar within given period (all remaining bars are Null (empty)). Caveat: expandFirst used on price different than open may look into the future. For example if you create weekly HIGH series, expanding it to daily interval using expandFirst will enable you to know on MONDAY what was the high for entire week. Best regards, Tomasz Janeczko amibroker.com
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 other support material please check also: http://www.amibroker.com/support.html YAHOO! GROUPS LINKS
|
- Re: [amibroker] Backtesting and TimeFrameExpand(xxx,inWeek... Tomasz Janeczko
- Re: [amibroker] Backtesting and TimeFrameExpand(xxx,i... Marek Rabas
- Re: [amibroker] Backtesting and TimeFrameExpand(x... Tomasz Janeczko
- Re: [amibroker] Backtesting and TimeFrameExpa... Marek Rabas
- Re: [amibroker] Backtesting and TimeFrameExpand(xxx,i... Ara Kaloustian
- Re: [amibroker] Backtesting and TimeFrameExpand(x... Tomasz Janeczko
- Re: [amibroker] Backtesting and TimeFrameExpand(xxx,i... Tomasz Janeczko
- RE: [amibroker] Backtesting and TimeFrameExpand(x... Nick Ali
- [amibroker] Plotshape Xshift Nick Ali
- Re: [amibroker] Plotshape Xshift wavemechanic
