Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 15:28:14 +0000



acsil study subgraph writing into file

View Count: 1649

[2018-04-28 10:17:25]
User30743 - Posts: 364
hello,
would like to ask if there is a function for writing values of a custom-based study into a .TXT file (and also for reading from it).

i have build a simple study but after each recalculation, the subgraphs dissapear so i dont see the history. i guess i need to somehow save the values into a file (TXT or other type?) so that the data will not get lost.

can you give me a hint of how to do that?

is there any function for it or a documentation please
[2018-04-29 07:58:54]
User30743 - Posts: 364
this only holds data from a main chart, not from a home-made custom study that i need
Date Time Of Last Edit: 2018-04-29 07:59:04
[2018-04-30 19:46:00]
Sierra Chart Engineering - Posts: 104368
From within the study, you can use the function sc.WriteBarAndStudyDataToFile() as described here:
sc.WriteBarAndStudyDataToFile()

From outside the study, you can use the study Write Bar and Study Data to File as described here:
Write Bar and Study Data To File

Also, refer to:
http://www.cplusplus.com/reference/cstdio/
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: 2018-04-30 19:47:06

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

Login

Login Page - Create Account