Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 20:32:02 +0000



Custom Study - reading external csv data in real time

View Count: 648

[2023-07-07 11:25:35]
User434158 - Posts: 5
Hi,

I'm not a programmer, but I'm working remotely with someone that is.

We have indicator data in an external csv file that is updated every 1-minute. We'd like to feed the data into SC as a custom study in real time when new data is added to the csv file (in the same way as a MACD indicator would update at the close of a 1-minute candle). We understand that SC can directly read csv data from other sources, but what are our options to import this indicator data? Could you point us to the areas in the documentation that would enable us to do this advanced custom study? Your guidance is appreciated.

Thankyou
Date Time Of Last Edit: 2023-07-07 11:48:20
[2023-07-07 13:47:24]
Sierra_Chart Engineering - Posts: 17161
You need to create an Advanced Custom Study:
Advanced Custom Study Interface and Language (ACSIL)

And simply read that data from the CSV file and place it into the Study Subgraphs. You can use the ACSIL file functions:
sc.ReadFile()

Also refer to:
Working with ACSIL Arrays and Understanding Looping
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-07-07 13:47:41
[2023-07-07 14:01:01]
User584084 - Posts: 262
You can read data every minute from a CSV file using this custom study: https://www.simplesystemtrading.com/autolevels/ . Then you can use the custom study subgraph data in the Study Subgraphs.
Date Time Of Last Edit: 2023-07-07 14:05:08

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

Login

Login Page - Create Account