Rajiv's code is substantially correct and qavatina's version works fine. To answer your questions:
The code works in any intraday timeframe. It is up to Debdulal Bhattacharyya if he wants to use 1015. I think there is some logic to it in that the intraday high and lows are biased to the start and end of the day, although IMO 1015 isn't anymore relevant than other timenum() in the 'opening bias' window. It looks like the time parameter would be an interesting one to optimise, so that would take care of that query. IMO the 'optimum' time would be non-stationary and somewhere between 0930 and 1130, so 1015 is a reasonable 'guess' for a starting point. brian_z --- In [email protected], H Patel <hareshbh...@...> wrote: > > Hi, > > To Get High and Low values at 10.15 AM you can set your chart in 15Minue Timeframe. In this time frame u will get 1st bar from 9.55 to 10.00 and 2nd bar from 10.00 to 10.15. > I can't understand any deeper logic of 10.15 am High and Low values. If anything is STRONG in these values please share with all group members or don't waste time for that > > Thanking you with Kind Regards, > > Haresh Patel > > --- On Tue, 12/30/08, brian_z111 <brian_z...@...> wrote: > > From: brian_z111 <brian_z...@...> > Subject: [amibroker] Re: high low till 10.15 > To: [email protected] > Date: Tuesday, December 30, 2008, 3:57 AM > > > > > > > Hello > > To get the two variables for 1015 H & L try this: > > IL = LowestSince( DateNum() != Ref(DateNum( ),-1), L, 1 ); > IH = HighestSince( DateNum() != Ref(DateNum( ),-1), H, 1 ); > > Plot(IL,"IntradayLo w",1,1); > Plot(IH,"IntradayHi gh",1,1); > > Then try adding: > > (the value of the IL or IH when, > the time of the 5 min bar == 1015, > the most recent instance should be the current value of the L or H up > until 1015 each day); > > brian_z > > --- In amibro...@yahoogrou ps.com, "Debdulal Bhattacharyya" > <sdebu_2k@ .> wrote: > > > > Thank You very much Rajiv for your reply.But I need high and low > value > > till 10.15 and my buy level and sell level would be that 2 levels > > after 10.15. I want to plot 2 lines (buy line and sell line)for each > > day after 10.15 in 1min or 5 min chart in RTDatabase.When Price > > crosses the two lines signal would be generated. > > Got my point?waiting for your reply. > > Thaxn in advance > > Debdulal Bhattacharyya > > >
