Login Page - Create Account

Support Board


Date/Time: Wed, 30 Apr 2025 07:27:09 +0000



[Programming Help] - Time and sales structure, records from begging of chart

View Count: 86

[2025-04-21 02:41:06]
robrg2675 - Posts: 13
When an ASCIL study uses the time and sales structure, is there a way to cycle through the records that exist from the chart's beginning when the study is initialized? For example, if an intraday chart is set to load 3 days, could the custom study download and process the time and sales records from the beginning date/time and then continue processing the current records as they come in? This would be similar to replaying a chart, but done from within the program and without having to be in simulation mode.
[2025-04-21 10:05:25]
User431178 - Posts: 656

When an ASCIL study uses the time and sales structure, is there a way to cycle through the records that exist from the chart's beginning when the study is initialized?

No


There are other ways of accessing equivalent data though, one is linked in the docs for sc.GetTimeAndSales:
ACSIL Interface Members - Functions: Alternative Way For Obtaining Time and Sales Data

The other is reading the data file directly:
ACSIL Interface Members - Functions: sc.ReadIntradayFileRecordAtIndex()
ACSIL Interface Members - Functions: sc.ReadIntradayFileRecordForBarIndexAndSubIndex()
[2025-04-21 20:45:22]
Sierra_Chart Engineering - Posts: 19383
Regarding post #2, yes that is exactly what our response would be.
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:

Login

Login Page - Create Account