[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Re: find today's dailybar high and low from intraday bar



PureBytes Links

Trading Reference Links



newday= day()!=ref(day(),-1);
highestoftheday=highestsince(newday,H,1);
 
Rajiv
 

To: amibroker@xxxxxxxxxxxxxxx
From: money@xxxxxxxxxxxxxx
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 amibroker@xxxxxxxxxps.com, "jorgen_wallgren" <jorgen.wallgren@...> 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®. See how.

__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___