SetChartOptions(1,chartShowArrows|chartShowDates);
Colorpetd = IIf(RSI(8)>50,colorPaleGreen,colorRed);
Plot( C, "Close", COLORPETD, styleBar, Null, Null, 0, 1, 4 );//5% THICKNESS OF BAR-SEE LAST 4
_SECTION_BEGIN("15m range");
_SECTION_END();
NewDay = Day()!= Ref(Day(), -1);
Plot(NEWDAY ,"vertical line", colorBrightGreen, styleHistogram|styleOwnScale, 0, 1);
breakoutime = 093000;
SetChartBkColor(64);
afterbreakout0 = Cross(TimeNum( ),093000) ;
afterbreakout1 = TimeNum()>=093000;
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);
ORBCOLOR =IIf(C>ORBHIGH,ColorRGB(30,150,50),IIf(C<ORBLOW,colorDarkRed,colorGrey50));
Plot(ORBHigh, "",colorGreen, styleDots) ;
Plot(ORBLow, "",colorRed, styleDots) ;