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 [email protected], "alva.ning" <[EMAIL PROTECTED]> wrote:
>
> HI, anybody can help?
> 
> I tried to use this:
> 
> if(timenum>093000 and timenum<160000)
> {...
> }
> 
> It doesn't work.
> 
> --- In [email protected], "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.
> >
>


Reply via email to