Hi,
In Data Windows, it only shows 2 decimal places for indicator values. How can I change it such that say, 10 decimal places will be displayed ? Thanks.
LMC
To change to have more decimal places for indicator values
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: To change to have more decimal places for indicator valu
Dear LMC,
The number of decimal places in Data Window is set automatically. If the values of your indicator have more than two decimals, all of them will be displayed. If you want to set the number of decimals manually, please submit a feature request in Project Management.
The number of decimal places in Data Window is set automatically. If the values of your indicator have more than two decimals, all of them will be displayed. If you want to set the number of decimals manually, please submit a feature request in Project Management.
Re: To change to have more decimal places for indicator valu
Hi Dave,
I'm sure the indicators have more than 2 decimal places but somehow it seems that they are rounded up to just 2. I export the data for calculation in Excel, there are about 10 decimal places.
Now, both in Data Window and data file export they just show 2 decimal places.
I'm sure the indicators have more than 2 decimal places but somehow it seems that they are rounded up to just 2. I export the data for calculation in Excel, there are about 10 decimal places.
Now, both in Data Window and data file export they just show 2 decimal places.
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: To change to have more decimal places for indicator valu
Dear LMC,
You need to specify this in your code, for example Close:1:5 means 1 integer and 5 decimals.
You need to specify this in your code, for example Close:1:5 means 1 integer and 5 decimals.
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: To change to have more decimal places for indicator values
If I have an indicator in screening with simply:
I'm getting volume with 5 decimals. Is it possible to have just the integer (I have similar problem with other indicators where I just want 2 decimals and get 5).
I read the reference above about Close:1:5 but I don't get how to insert it in the code.
Code: Select all
plot1(v)
plot2(v[5])
I read the reference above about Close:1:5 but I don't get how to insert it in the code.
- Anna MultiCharts
- Posts: 560
- Joined: 14 Jul 2017
- Has thanked: 42 times
- Been thanked: 141 times
Re: To change to have more decimal places for indicator values
Automeq,
"Close:1:5" serves only for the display, it doesn’t affect the number itself. If you need to round off, please use the Round command:
https://www.multicharts.com/trading-sof ... .php/Round
"Close:1:5" serves only for the display, it doesn’t affect the number itself. If you need to round off, please use the Round command:
https://www.multicharts.com/trading-sof ... .php/Round