Login Page - Create Account

Support Board


Date/Time: Tue, 07 Apr 2026 04:52:32 +0000



ReadIntradayFileRecordForBarIndexAndSubIndex always returns 0

View Count: 9

[2026-04-07 00:14:50]
coachted - Posts: 500
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?

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

Login

Login Page - Create Account