[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

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.
>
>
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/