Login Page - Create Account

Support Board


Date/Time: Wed, 24 Apr 2024 17:24:08 +0000



Send/Received Data

View Count: 869

[2014-07-03 19:24:46]
AC94882 - Posts: 8
Hello,
Is it possible to send a data buffer to a study?
I have a C# module that needs to send data, in order to display it on a SC chart.
Do you have a code sample for a study that waits for a message and handle the data?
If it possible, than where should i put the structure description (*.h) in the SC folder?
Thanks,
Ariel

[2014-07-03 22:19:26]
Sierra Chart Engineering - Posts: 104368
One method to do this is to write the data to a file and have the Sierra Chart study read the data from the same file. When writing to the file, make sure it is locked so that the Sierra Chart study will not read it until the write is complete.

You should use sc.UpdateAlways in the Sierra Chart study so it is continuously being called.

Overall this is the most simplest way of doing this.
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

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

Login

Login Page - Create Account