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

Re: [amibroker] 'Range' parameter in AA



PureBytes Links

Trading Reference Links

Barcount already has a set value and you cannot change it. It is
always the last br of your data if counted from 1. [Barcount-1] iF
using barindex()

One method to limit the values to what you have sleectd in AA window
is to use Status function
status("firstbarinrange") and status("lastbarinrange")

lastbar = status("lastbarinrange") * barindex();

so you would call the last value of close C[lastbar]

--
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 1/6/06, jnz88 <jnz88@xxxxxxxxx> wrote:
> Just notice that even though I set a range, for example, from 6/1/2004
> to 10/1/2004, but the Close[Barcount-1] and other arrays variable
> still point to the latest data like 1/4/2006
>
> How do I set to make the Close[Barcount] point to 10/1/2004?
>
> 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
>
>
> 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/