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" <[EMAIL PROTECTED]> 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
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
- Visit your group "amibroker" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
