I'm not sure if this is an NT8 issue or a problem with my code. I will try to explain best I can!
I have made an indicator that draws text on every price on a bar (I use a range chart). It's just 1 day of data. I have tick replay on. It does take 10-15 seconds or so when you load the chart for the indicator to go through the replay data and update all the bars. This it does fine, i.e. all the historical data is painted over the bars just fine, but it seems that due to the time taken, when the next live bar is painted, when running in real-time, there is a blank gap on the chart where 2-3 bars should be! I do not believe these are actually missing bars/data though. Besides, the chart is a range chart, so no time interval is a problem. Other indicators such as delta are flat lined during this time also, so I don't think it's my code as such, other than it's clogging up NT for that time. It seems related to the delay whilst the indicator processes the tick replay. Once it starts painting the real-time data, it's fine again. You just get this odd 2-3 bar gap in between the historical and real-time, with apparently no real bars missing.
Any suggestions on how to resolve?
Comment