Support Board
Date/Time: Sun, 24 Nov 2024 23:23:31 +0000
[User Discussion] - Receive Data - ACSIL
View Count: 2237
[2013-12-16 20:57:02] |
Lavie - Posts: 10 Invalid SC Account Name. |
Hi, How can I send a message to a Study from External software, in order to do something inside the Study? (Do I use Socket?) Can you provide me a sample code? If not than what is the way to communicate between external program and the Studies? Ariel |
[2013-12-27 07:57:43] |
Sierra Chart Engineering - Posts: 104368 |
The simplest way is to read from a text file written by the external software, from within the ACSIL study function.
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: 2013-12-27 07:58:12
|
[2013-12-27 11:53:11] |
thor - Posts: 6 |
Is there any documentation on how to read a text file from within an ACSIL study function?
|
[2013-12-28 10:04:30] |
Sierra Chart Engineering - Posts: 104368 |
Not exactly, but here is the reference for the file I/O functions you can use: 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 |
[2013-12-28 14:04:10] |
Rusty - Posts: 39 |
Another approach to read external data into your ACS would be to create and update an .scid-file containing the data and open a new chart with that file as input. Then you can read the data arrays from that chart, manipulate the data and use it in an ACS attached to another chart. Code to create the .scid-file is found in the Old Support Board thread "Intraday file generator": http://www.sierrachart.com/supportboard/showthread.php?t=37945 Be sure to open the file in shared mode (Old Support Board thread "Creating my own scid file"): http://www.sierrachart.com/supportboard/showthread.php?t=16221 Hope this helps. |
To post a message in this thread, you need to log in with your Sierra Chart account: