Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 05:33:17 +0000



Communicating between Sierra Charts and an external application

View Count: 2659

[2013-10-09 14:49:04]
User90630 - Posts: 1
I need to be able to communicate with a C# application on the same computer as Sierra Charts. I need to send a number of data items extracted using the SC function from a DLL to the C#.

Can someone point me to documetation or support board items that address this need?

Clearly I could have the dll create a file with the data and the C# could monitor a specific directory with a SystemFileWatcher to detect new or updated files.

Are there any better approaches?

Ultimately I need to allow the C# application to send data to Sierra Charts. Again the file approach would work other than the DLL would only detect a new file when it was run based upon its being called by a data-related event. During normal market activity this would not be a real problem.


[2013-10-09 17:47:01]
Sierra Chart Engineering - Posts: 104368
The best method to communicate between applications is to use a local network socket. This could either be TCP or UDP. You will need to refer to the Windows API documentation for this:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms740673%28v=vs.85%29.aspx

UDP is a very easy communication method.

To ensure your study is called frequently you will need to set sc.UpdateAlways = 1;.
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
[2014-06-11 22:15:30]
User72496 - Posts: 1
Hello user90630.

Did you get your interface operational?
I too have an external app in Visual Studio (VB) I would like to connect.
[2015-11-09 06:05:51]
User96696 - Posts: 2
Hi there

I encountered a problem with DAX-201512-DTB contract download for the chart. The date feed is from Interactivebrokers.
The last day the chart was updated was 23 Oct @ 3:40am. Each time I tried to "delete and download date", the message was "download failed".

However, the charts for the other contracts; namely ESTX50, GBL and GBM are updated to the current time.
Please help !

Thank you.
Rogerfei
[2015-11-09 07:14:29]
Sierra Chart Engineering - Posts: 104368
Refer to this page for instructions:
Notice: New Interactive Brokers EUREX DAX Symbol Format
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