Login Page - Create Account

Support Board


Date/Time: Mon, 16 Jul 2018 15:52:19 +0000



Exporting chart data real time

Support Request:
[2017-12-08 05:03:48]
User563013 - Posts: 10
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: 61803
In regards to storing data persistently, refer to:
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html#scGetPersistentInt

. 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:
https://www.sierrachart.com/index.php?page=doc/StudiesReference.php&ID=182&Name=Write_Bar_Data_to_File
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2017-12-08 18:34:55
[2017-12-10 08:13:26]
ganz - Posts: 857
User563013

fyi: https://www.sierrachart.com/SupportBoard.php?ThreadID=1570

and

https://www.sierrachart.com/index.php?page=doc/IntradayDataFileFormat.html#DataStructures

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

Login


Login Page - Create Account