Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 07:21:33 +0000



Post From: Reading the Intraday chart data file records from the chart data file

[2022-03-14 06:18:30]
User891636 - Posts: 5
Hi,
Thank you for your answer. Indeed I had to explain better my strategy.
I'm using “sc.Autoloop = 0” and no actions taken when sc.UpdateIndex==0 (first function call) then, at the others call I have two approaches: the first time where the function reads the historical data, calling sc.ReadIntradayFileRecordForBarIndexAndSubIndex(), from the last bar index (sc.ArraySize-1) to 0 but it stops when the amount of data requested is reached; and then the "normal call" to get the updates where is used sc.UpdateIndex.
I have issues only during the historical data loading and only if the chart has many bars. As I said, I realized that at the end the number of intraday records got after the first load is the same and it does not depends on chart settings. I can post part of the code later during the day.
Thank you.