Help me very urgent

#1
i have AFL to define previous day High, as bellow line
SelectedValue( TimeFrameGetPrice( "H", inDaily, -1 ) );
but i need previous day final hour's High(2.30 to 3.30), can you help me?

thanks
 
#3
Hi,
check this

Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );

HLstartTime = TimeNum() >= 143000 AND TimeNum() <= 152900;
HLendTime = TimeNum() >= 153000 ;
HLstartTime = ExRem(HLstartTime,HLendTime);
HLendTime = ExRem(HLendTime,HLstartTime);
High1 = HighestSince(HLstartTime,H);
High1 = IIf(TimeNum() <= 143000, ValueWhen(HLendTime,High1),High1);


Low1 = LowestSince(HLstartTime,L);
Low1 = IIf(TimeNum() <= 143000,ValueWhen(HLendTime,Low1),Low1);

GfxSetTextColor(colorGreen);
GfxTextOut("lH - " + WriteVal(High1) ,200,65);
GfxTextOut("lL - " + WriteVal(Low1) ,200,80);
Plot(High1,"high230",colorGreen,styleNoTitle);
Plot(Low1,"low230",colorRed,styleNoTitle);
 

Similar threads