Not sure, but I'd start with this:
Barspassed = BarIndex() - ValueWhen(Condition,ARRAY,Nth = 1);
--
Terry

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of idaytrader
Sent: Wednesday, May 10, 2006 09:07
To: [email protected]
Subject: [amibroker] How do you get the bars since the nth occurance of
a condition

Hi all,

I am drawing a blank.  How can I get the number of bars that have
passed since the nth occurance of a condition?  Thanks for your help.

Jerry L.



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




Reply via email to