An advantage of the Rectangle Tool is that the display of the number of the bars and price change over the enclosed period does not require any special setup. Just draw the rectangle around the price swing and you have the numbers you need. This tool might be better if you have other default settings that you normally use for trendlines for example. Either tool will do the job, take your pick. Also, you could create a drawing tool preset for either the trendline or rectangle drawing tool (or both) and add these buttons to your chart. Setup the button to "Activate Drawing Tool Preset", and specify the named preset settings you want for either tool.
Regards,
Bill
From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf Of Chad Payne
Sent: Friday, June 26, 2009 10:45 AM
To: LinnSoft@yahoogroups.com
Subject: RE: [LinnSoft] Bar counter
Yes, Duke is correct. If you draw a trendline between any two bars...you can then double-click on that trendline, and choose "Label: Number of Bars" at the bottom (or "Change and Bars", etc). Once you've setup your trendline like this, you can right-click on trendline and choose "add button" and add a button to your chart that will initiate the trendline drawing tool, and draw a trendline with the "bars" labelled.
Regards,
Chad
From: LinnSoft@yahoogroup
Sent: Friday, June 26, 2009 9:27 AM
To: LinnSoft@yahoogroup
Subject: Re: [LinnSoft] Bar counter
Not exactly what your looking for but Trendlines will do that...
Regards,
Duke Jones, CMT
On Jun 26, 2009, at 8:06 AM, eurextrader1 wrote:
Chad,
Is it possible to come up with a simple indicator which will count and display the number of bars between 2 points? For instance, user can click on the bar that marks a swing high to mark the start point and the bar marking a swing low/high to mark the end point, indicator then determines and displays the number of bars between the two. Thanks.
Regards,
Duke Jones, CMT