PureBytes Links
Trading Reference Links
|
You want something like:
numBars = BarIndex() - ValueWhen(EXPRESSION, BarIndex(), n = 1);
Where EXPRESSION could be BUY or even some marker you set on the screen.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of bruiserbbq
Sent: Saturday, July 22, 2006 02:21
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] trading Bar Counter
Is there anyway to code a Bar Counter...ie: be able to count the
number of trading bars between two points....and display it in a
window or as part of a trendline.
Cheers Mark
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
|