Hello,

You can use customized chart titles. 
For example 

Title = "Price : " + StrFormat("%g", Close );

%g specification will auto-adjust decimal places and always use the minimum 
number of decimal places
that are required. For example if price is 2.5000 it will display 2.5

You can also use fixed number of decimals:

Title = "Price : " + StrFormat("%.4f", Close );

%.4f gives 4 decimal places, %.6f will give 6, %.2f will give 2.

You can also use Tools->Preferences->Misc "Decimal places in titles" setting to 
control default # of decimal places
in titles.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Rob" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 22, 2006 8:27 AM
Subject: [amibroker] Specifying different number of decimals in title


> Hi,
> 
> Depending on the markets, sometimes we'd want no decimals eg indices 
> and sometimes up to 4 decimal places as in the case for forex.
> 
> How does one change, or specify this in the chart title which seems to 
> have a default of 2 decimal places?
> 
> Thanks
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to