Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 01:30:53 +0000



Exporting chart data real time

View Count: 2090

[2017-12-08 05:03:48]
User563013 - Posts: 11
I would like to export data real time. I attempted to write a custom .dll and using a txt file or memory mapped file, however it appears that values to store pointers to the file handles for anything get delteted between function calls. I tried storing these in a persistent variable but had no success there either. Is there any way to call external .dlls or write data from a custom dll OR export data real time from greenchart? I'm looking for a way to analyze data in a scripting language like python real time.
[2017-12-08 18:34:32]
Sierra Chart Engineering - Posts: 104368
In regards to storing data persistently, refer to:
sc.GetPersistentInt()

. I tried storing these in a persistent variable but had no success there either.
You should have absolutely no trouble using the functions for getting and setting persistent data. You must not be doing this properly.

You can write data from the custom study using the standard C++ functions for that.

What we recommend is to use the Write Bar Data to File study:
Write Bar Data to File
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: 2017-12-08 18:34:55
[2017-12-10 08:13:26]
ganz - Posts: 1048
User563013

fyi: Python for Sierra Chart

and

Intraday Data File Format: Data Structures Used

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

Login

Login Page - Create Account