Login Page - Create Account

Support Board


Date/Time: Sat, 22 Feb 2025 08:38:00 +0000



Trouble with DRAWSTYLE_CUSTOM_VALUE_AT_Y

View Count: 530

[2021-01-22 20:17:55]
User39772 - Posts: 311
Hello SC I encounter two problems with DRAWSTYLE_CUSTOM_VALUE_AT_Y.

Unfortunately I did not find a solution anywhere else.

My intention is to display an integer value at each bar shown in the chart.

1st Problem: The value is shown as float, e.g. 50.00. I want only 50 to be visible, also because of lack of space.
How can I solve that ?

2nd Problem: On some underlyings it works fine, e.g. NQ, ES. On other underlyings it does not work, e.g. E6, CL.
If it does not work I can see the values on the bottom of the chart in a line and the chart as such disappears.
The values are integers from 1 to 3 digits.
How can I solve that ?

Can you halp me here ?
[2021-01-22 20:53:36]
User39772 - Posts: 311
Re 1st Problem it seems that the number of digits shown after the dot
is equal to the number of digits of the underlying price.

E.G.
If my value is prited for the E6 Future I see e.g. 50.00000.
If my value is prited for the NQ Future I see e.g. 50.00.
[2021-01-22 23:00:32]
John - SC Support - Posts: 38116
In general, the number of digits displayed is controlled by the Value Format for the study. It sounds like you may have this set to Inherited which will use the Value Format of the main chart. Refer to the information here:
Chart Studies: Settings and Inputs Tab >> Value Format
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2021-01-22 23:03:10

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

Login

Login Page - Create Account