Support Board
Date/Time: Sun, 24 May 2026 18:24:54 +0000
ReadIntradayFileRecordForBarIndexAndSubIndex always returns 0
View Count: 144
| [2026-04-07 00:14:50] |
| coachted - Posts: 515 |
|
I have a custom ACSIL study built as an external DLL using Visual Studio. I am calling ReadIntradayFileRecordForBarIndexAndSubIndex but it always returns 0 regardless of settings. My diagnostics show: FileRecordIndexOfLastDataRecordInChart = 19307381 (file exists and has records) ArraySize = 1438 ChartDataType = 2 (intraday) IntradayDataStorageTimeUnit = 0 (this seems wrong) Intraday Data Storage Time Unit in Global Settings = 1 Tick Sierra Chart version 2888, revision 55876 Data feed: Rithmic via DTC Symbol: ESM6.CME (non-continuous) The scid file exists at C:\SierraChart\Data\ESM6.CME.scid and is 736MB. Questions: Why does IntradayDataStorageTimeUnit report 0 when Global Settings shows 1 Tick? Is there anything required in SetDefaults to enable intraday file record access for an external DLL? Is ReadIntradayFileRecordForBarIndexAndSubIndex supported for externally compiled DLLs with Rithmic/DTC feeds? |
| [2026-04-07 09:22:02] |
| Sierra_Chart Engineering - Posts: 23844 |
|
Show us the parameters you are using when calling this function: sc.ReadIntradayFileRecordForBarIndexAndSubIndex Why does IntradayDataStorageTimeUnit report 0 when Global Settings shows 1 Tick? This means 1 Tick.Is there anything required in SetDefaults to enable intraday file record access for an external DLL? No definitely not. Is ReadIntradayFileRecordForBarIndexAndSubIndex supported for externally compiled DLLs with Rithmic/DTC feeds? Yes. Nothing special is needed for 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, use 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:
