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

Re: [amibroker] Accessing price at a particular time



PureBytes Links

Trading Reference Links

Thanks Graham. Just to clarify, so it's not possible to plot a high/low line correctly on all chart intervals based on the HHV/LLV between two set time periods?
----- Original Message -----
From: Graham
Sent: Wednesday, November 23, 2005 5:54 PM
Subject: Re: [amibroker] Accessing price at a particular time

My understanding is you cannot unless it is realtime occurence, eg
using Cross(Now(4),072929);

valuewhen can only read what time you have set for the bars, is by
start time or end time


--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


On 11/23/05, Steve <avalon-ardy@xxxxxxxxxxxxxxx> wrote:
> I'm plotting the highest & lowest value between 2 time intervals. i.e.
>
>
> AsianH = ValueWhen(TimeNum()== 073000,HHV(H,TP) ); // TP is the lookback
> period
>
> This says that when time equals 07:30 then find the highest value in last
> "x" amount of bars. I use an TP = IIf(Interval() == 1800,8....etc statement
> to change the lookback depending on the current chart interval.
>
> Where it falls over is if the current chart interval is say hourly. Then the
> TimeNum()== 073000 is never true. So how to I access "TimeNum()== 073000" on
> an hourly chart so I can plot a line showing the session high/low? Thanks.
>
>
>


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS