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

Re: [amibroker] Value InBetween



PureBytes Links

Trading Reference Links

Just add the conditions as you want them

eg

bar1 = 2000;
bar2 = 1500;
bar3 = 1400;

RangeHHV = iif( selectedvalue( barindex() )==bar1, ref( HHV( C,
bar2-bar3+1 ), bar2-bar1 ) , null );

there are other ways, this is just one

On 6/15/05, jay_podda <jay_podda@xxxxxxxxx> wrote:
> How can I find value from any array when some condition is valid
> inbetween some range? I want to find HHV of close inbetween barindex
> 1400 and 1500, when total barcount is 2000(say when my
> lastvalue(barindex()) is 2000 or selectedvalue(barindex()) is 2000).
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/