Support Board
Date/Time: Sun, 06 Jul 2025 21:01:45 +0000
Changing display value format for a study
View Count: 937
[2019-04-04 22:22:21] |
User787032 - Posts: 37 |
When I plot my custom study on a chart, it outputs a calculated value below certain bars that meet pre-defined criteria. I notice that on my CL chart the study's output value has 2 decimal places, while on a GC chart it has 1 decimal place and on a EURUSD chart it has 5 decimal places. I would like the calculated study value to be displayed with 2 decimal places on all charts. However, when I change the Value Format in the Study Settings window to .01 and Apply, it always reverts to the original price format. Is there a way to set the value format for the study to 2 decimal places while leaving the price display format for the symbol unchanged? |
[2019-04-05 18:29:19] |
|
Does the custom study itself set the sc.ValueFormat? If so, where in the study function is this done? Is it within sc.SetDefaults? 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 |
[2019-04-06 19:16:45] |
Blue Brazilian - Posts: 42 |
Yes, it was in sc.SetDefaults. I thought that's where it should be, but I've moved it out of there now, and it works correctly. Thanks. |
[2019-04-06 19:49:01] |
|
Yes it should be there. If it is in sc.SetDefaults, then you should not have a problem.
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 Date Time Of Last Edit: 2019-04-06 19:49:19
|
To post a message in this thread, you need to log in with your Sierra Chart account: