newday= day()!=ref(day(),-1);

highestoftheday=highestsince(newday,H,1);

 

Rajiv
 


To: [email protected]
From: [email protected]
Date: Thu, 21 May 2009 12:48:34 +0000
Subject: [amibroker] Re: find today's dailybar high and low from intraday bar







As per the docs below , it will give the last bar of the range in the AA 
window. I am looking for the highest high of the day from the intraday bars as 
the bar progreses.

http://www.amibroker.com/guide/afl/afl_view.php?name=SELECTEDVALUE

--- In [email protected], "jorgen_wallgren" <jorgen.wallg...@...> wrote:
>
> I am relatively new at this, but shouldn't this give you what you want:
> 
> H0 = SelectedValue(TimeFrameGetPrice("H", inDaily, 0));
> L0 = SelectedValue(TimeFrameGetPrice("L", inDaily, 0));
> 
> Regards,
> 
> Jorgen
>









_________________________________________________________________
Insert movie times and more without leaving Hotmail®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009

Reply via email to