I have an indicator which uses 2 time frames The chart time frame Bars[0] and an added 1 tick time frame bars[1]. I do all my calculations on the 1 tick time frame but then display the results on whatever time frame the user has selected for the chart. All this works well as I have done it for many years, the only nuance is I need at least 1 chart bar before I try to draw anything. So before I draw anything on the chart I make sure I have at least 1 chart bar, no big deal.
Issue:
I recently moved my account from Rosenthal-Collins to Ninja Trader. Both use the Continuum data feed so no change there. I have noticed an issue of late. Sometimes I will not receive data for my added time frame on an F5 refresh. Also on the bottom right corner of the control center displays "abort" when this occurs. If I shut down ninja trader and delete the DB folder everything is fine again for a while but will reoccur. I realize this is a bit drastic but it does seem to bring everything right.
Question:
I think I understand what is going on. My question is there anything I can do to prevent this or at least reduce the occurrence of it happening.
I hope all of this makes sense.
Cheers
Comment