Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 08:35:47 +0000



Write Bar and Study Data to File study incorrect values

View Count: 995

[2019-01-23 17:25:50]
User719310 - Posts: 23
Hi,

I am using the "write bar and study data to file" study to write the numbers bars calculated values to a text file and noticed that the values for 'Point of control value' ''Bid volume per second' and 'ask volume per second' are incorrect.

It writes the wrong value to the text file, the value written is just "1" with no decimal places. It writes just integer part, with no decimal places.

This could also be the case for other values but these are the ones I am collecting for now.

When the numbers bar values are written to a spreadsheet they are correct (using the spreadsheet study), so the issue is with the write bar study only.

Please could you correct this study?

Regards
[2019-01-24 21:16:52]
User719310 - Posts: 23
Any info on this?

The symbol used is eu6 so the poc value should be for instance 1.13505 but the study just writes the 1 to the txt file.

I need to move forward with this or an alternative solution so an answer would be much appreciated.
[2019-01-24 21:56:16]
John - SC Support - Posts: 31704
Sorry for the delay on getting to this.

Just change the Value Format on the Numbers Bars Calculated Values to the number of decimal places that you want output to the file.

Refer to the following for how to change the Value Format:
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

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

Login

Login Page - Create Account