PureBytes Links
Trading Reference Links
|
Thank you Graham...this is exactly what I was looiing for.
Dennis
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> Here are a couple of things you can try
>
> you can code in the intraday times with AFL
> dayStart = cross(timenum(),062959);
> dayFinish = cross(timenum(),125959);
> eg these can be used to find the days open and close prices with
valuewhen
> Dayopen = valuewhen( daystart, O );
> DayClose = valuewhen( dayfinish, C );
>
>
> or use this condition
> MarketOpen = timenum()>=63000 and timenum()<=130000;
>
> If you are using a chart you can set the market times into either day
> or night session and use that for the chart, or as above use the aFL
>
>
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://e-wire.net.au/~eb_kavan/ab_write.htm
>
>
> On 10/5/05, Dennis And Lisa <dennisandlisa@xxxx> wrote:
> > I'm trying to calculate pivot points and I need info from the previous
> > day session for the YM futures contract. I know that futures trade 24
> > hrs, thus AFL assumes that the previous day's trading session is 24
> > hrs. I need to code into AFL that the previous day's trading session
> > is from 6:30 AM to 1:00 PM pacific time only for the YM. Is there a
> > way I can do this with the "TimeframeSet in Daily" or similar function
> > to specify a limited session range?
> >
> > Thank you
> > Dennis
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|