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

[amibroker] Re: How to Reference Market Open in AFL?



PureBytes Links

Trading Reference Links

Hi,

if(timenum == 930000)
{...
}

This should be the first minute in trading and you can reference the
open of this bar in 1 minute frame.
Hope i understood what you try to do.

Regards Robert

--- In amibroker@xxxxxxxxxxxxxxx, "alva.ning" <alva.ning@xxx> wrote:
>
> HI, anybody can help?
> 
> I tried to use this:
> 
> if(timenum>093000 and timenum<160000)
> {...
> }
> 
> It doesn't work.
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "alva.ning" <alva.ning@> wrote:
> >
> > Hello,
> > 
> > Is there a way to reference the market opening time?
> > 
> > As in this:
> > 
> > for(i=1, i<barcount, i++)
> > 
> > I want to use in the intraday 1-minute data, and always count from the
> > very beginning of the day as the first minute, is there a way to
do it?
> > 
> > Thanks.
> >
>



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

**** 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/