Use TimeNum() something like.. myTimeRule = TimeNum() > x AND TimeNum() < y; Buy = BuyRule AND myTimeRule;
a very similar code was posted recently on the board; search using timenum. -gariki On Fri, 30 Jul 2010 10:02:29 -0700, prasantaroy36 <[email protected]> wrote: > > > Hi, > > pl, pl, help. > > Thanks > > > > --- In [email protected], "prasantaroy36" <prasantaro...@...> > wrote: >> >> Hi, >> >> I want to backtest with intraday data within particular time range say >> 6 pm to 11 pm. But data have 10 am to 11.55 pm. So what will be the afl >> logic to fulfill this critera. Pl,Pl,help. >> >> Thanks >> > > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------ **** IMPORTANT PLEASE READ **** This group is for the discussion between users only. This is *NOT* technical support channel. TO GET TECHNICAL SUPPORT send an e-mail directly to SUPPORT {at} amibroker.com TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at http://www.amibroker.com/feedback/ (submissions sent via other channels won't be considered) For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ 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: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
