PureBytes Links
Trading Reference Links
|
Try
bi = BarIndex()+1;
xx = ValueWhen(Day() !=Ref(Day(),-1),bi);
bar1H = ValueWhen(bi ==XX+1,H,1);
bar2L = ValueWhen(bi ==XX+1,L,1);
bar2H = ValueWhen(bi ==XX+2,H,1);
bar2L = ValueWhen(bi ==XX+2,L,1);
Rick
--- "Clement, Gmail" <manyit99@xxxxxxxxx> wrote:
> I am using 15-minute chart and the first bar started
> at 8:00am. Please tell
> me a way to get the high and low of the first 2 bars
> of current day.
>
>
>
> Thank you.
>
>
>
> Clement
>
>
>
>
Rick Osborn & Associates
885 Sorrento Ave.
Oshawa, Ontario L1J 6V6
(905) 728-8543 fax 728-0815
------------------------ Yahoo! Groups Sponsor --------------------~-->
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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/
|