Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 12:50:18 +0000



Post From: scid real time file update question

[2017-10-18 19:51:29]
onnb - Posts: 662
We are reading scid files in real time.


The general question we have is this: is it possible that a study function is being called where the scid file is not in sync with the chart arrays? Meaning we have some ticks in memory that have not been written to the scid files.

Is it possible that the following happens?

Using range bars
Live bar is forming (lets say it's index 100)
New tick comes in from the feed that cause the current live bar to close and a new one created (so now we have bar index 101)
Study function is called last time for bar 100 with bar closed status (new ticks that caused the bar to close have not been written to the scid file)
After study function is called, sometime later, scid file gets updated with the tick that caused the bar to close

Does that make sense?