This should work:
 
startBar=Status("firstvisiblebarindex");

endBar = Status("lastvisiblebarindex");

numVisibleBars = endbar - startbar + 1;

Bill
 
 
---- Original Message -----
From: "suree namsiripongpan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, August 20, 2006 1:29 PM
Subject: [amibroker] how to calculate the number of bars displayed on the screen?

>
> Hi Everyone,
>
> Is there any way to calculate the number of bars
> displayed on the screen especially after zoom in or
> zoom out ?
>
> I need this number to calculate the highest and lowest
> point displayed on the screen....
>
> Thanks in advance.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
>
http://mail.yahoo.com
>
>
> 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:
>   
[EMAIL PROTECTED]
>
> <*> Your use of Yahoo! Groups is subject to:
>   
http://docs.yahoo.com/info/terms/

>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.3/423 - Release Date: 08/18/06
>
>
__._,_.___

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
Software support Small business finance Business finance online
Business finance training Business finance course


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to