decimals in amibroker - help

#1
i do the following calculation in excel.

a =2455044.5+487+INT(30.6001*(10+1))+3+(10+9/60)/24
= 2455870.92291667000

but if i calculate in afl i get only 2 decimals ie., 2455870.92.

i need atleast 6 digits for other calculations.

kindly help.
 
#2
Hi,

Navigate to Tools>>Preferences>>Misc tab
Adjust the number in 'Decimal places in chart title / tools' as per your requirement. Default is 2.

Hope this helps.

Thanks,
CA



i do the following calculation in excel.

a =2455044.5+487+INT(30.6001*(10+1))+3+(10+9/60)/24
= 2455870.92291667000

but if i calculate in afl i get only 2 decimals ie., 2455870.92.

i need atleast 6 digits for other calculations.

kindly help.
 
#3
I have a similar query. To trade currency I need the prices to be displayed upto four decimal places. I have made the changes as suggested in the post above. But still I am not getting the prices to four decimal places. The price on the right hand axis is upto three places. The prices displayed in the chart title and tool tip box are upto two places. Any horizontal lines that I draw on the chart shows the price upto four places. Any help?

Thanks,
Amit
 

mastermind007

Well-Known Member
#4
I have a similar query. To trade currency I need the prices to be displayed upto four decimal places. I have made the changes as suggested in the post above. But still I am not getting the prices to four decimal places. The price on the right hand axis is upto three places. The prices displayed in the chart title and tool tip box are upto two places. Any horizontal lines that I draw on the chart shows the price upto four places. Any help?

Thanks,
Amit
I normally use NumToStr or WriteVal and specify the format.
 

Similar threads