Support Board
Date/Time: Sun, 24 Nov 2024 21:45:27 +0000
[Programming Help] - File Handling through ACSIL
View Count: 1165
[2020-01-02 12:11:30] |
User255315 - Posts: 133 |
Hi SC, I recently stumbled upon the functionality of Sierra to handle files, i.e open Files, read the contents, and then close the file handle. I had a few doubts regarding this: 1. What files can be accessed through these ACSIL functions? Are there any specific limitations to accessing a file this way? 2. As per your suggestion in an earlier post: Tick Charts I want to write a custom study that would read a particular .txt file and then using parameters written to the file, execute the instructions/trades in the text file (which i will explicitly decode from the file contents within the custom study itself). Would this be possible? 3. Could we have some sort of example (which are missing for these advanced API functions), illustrating some features, mentioned in 1 and 2? Thanks in advance! |
[2020-01-13 11:57:37] |
User255315 - Posts: 133 |
Can we get slightly illustrative documentation/examples on functions like sc.OpenFile, sc.GetFileErrorMessageCode, sc.ReadFile. There are no instructions on how to use the enumerations that these functions define nor are there any source codes showing any file handling example. It would be really helpful if we could get an ACSIL example for the aforementioned functions. Thanks in Advance! |
To post a message in this thread, you need to log in with your Sierra Chart account: