Abhi issi se kaam chala lo, baad me expert will give you nice afl........
BT = ParamTime ("YDAY OR", "09:29:59");
NewDay = Day()!= Ref(Day(), -1);
highestoftheday = HighestSince(newday,H,1);
Lowestoftheday =LowestSince(newday,L,1);
Closeoftheday=ValueWhen(TimeNum()==092959,C);
DayH = TimeFrameGetPrice("H", inDaily, -1); DayHI = LastValue (DayH,1);// yesterdays high
DayL = TimeFrameGetPrice("L", inDaily, -1); DayLI = LastValue (DayL,1); // yesterdays low
DayC = TimeFrameGetPrice("C", inDaily, -1); // yesterdays close
DayO = TimeFrameGetPrice("O", inDaily); // current day open
do1=TimeFrameGetPrice( "O", inDaily, -1);
Plot(do1,"",colorGreen,styleDots);
_SECTION_END();