PureBytes Links
Trading Reference Links
|
For the bar number instead of the Close, change to:
Valuewhen (t2, BarIndex());
Note: This returns an ARRAY, but you can print the value:
printf ("\nBar of last buy %1.0f\nCurrent bar %1.0f\n",ValueWhen (Buy,
BarIndex()),BarIndex());
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of cstrader
Sent: Wednesday, November 23, 2005 10:23
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] easy question for ami broker users get the bar
number of when the lowest low
Valuewhen (t2, Close);
----- Original Message -----
From: "nickhere" <nickhere@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, November 23, 2005 11:53 AM
Subject: [amibroker] easy question for ami broker users get the bar
number
of when the lowest low
> get the bar number of when the lowestlow occur in 60day.
>
> i have this
> t1=LLV(Low,60); //get the lowest low value in the last 60 days
> t2=???; //get the bar where the lowest low occur
>
> i think i have to write up a faq because it easy to forget the simple
> things.
>
> nick
>
>
>
>
>
>
> 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
>
>
>
>
>
>
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
------------------------ 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/
|