Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 05:20:36 +0000



Decimal cut off for indicators and calculations to reduce cpu usage

View Count: 915

[2019-04-11 14:57:32]
User450179 - Posts: 105
Hi,
I was wondering if there was a global setting tha would allow me to pick and choose or set (GLOBALLY) how many decimal places to use for calculations in the charts. If stochastics or moving averages or any other math intensive process. Can i set it to use say 2 decimals or 3 if I am not that concerned about having it so precise? is there already a DEFAULT number of decimals used in the program or a "ROUNDING " function?

I.e

1 divide by 3 = .33333333333333333333333
if I could set it to 2 decimal places I would get
.33

3 decimals .333
4 decimals .3333
Obviously depending on what is being calculated perhaps it would be a detriment to do this

Would this make any difference do you think for computation times and cpu usage?

Thank you and keep up the great work over there!
[2019-04-11 17:38:43]
Sierra Chart Engineering - Posts: 104368
No, there is no way to control this. The full precision is always used.

It will not make any difference in CPU usage.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account