Hi, 
I do it like this:

breakoutime = 101500;
afterbreakout0 = Cross(TimeNum(),101500);
afterbreakout1 = TimeNum()>=101500;
NewDay = Day()!= Ref(Day(), -1);
highestoftheday = HighestSince(newday,H,1);
Lowestoftheday =LowestSince(newday,L,1);
ORBHigh = ValueWhen(afterbreakout0,highestoftheday,1);
ORBLow = ValueWhen(afterbreakout0,lowestoftheday,1);
Buy= Cross(C,orbhigh) AND afterbreakout1;
Sell = Cross(orblow,C) AND afterbreakout1;

Plot(C,"",colorYellow,styleBar);
PlotShapes( shapeUpArrow * Buy, colorGreen,0,L,-12);
PlotShapes( shapeDownArrow * Sell, colorRed,0,H,-12);
Plot(afterbreakout0,"",colorBlue,styleHistogram|styleOwnScale);
Plot(ORBHigh,"",colorGreen,styleDots);
Plot(ORBLow,"",colorRed,styleDots);




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


Reply via email to