I am trying to develop an indicator that uses multi-series data. My primary bars object is a tick chart and I have added three minute charts, 1, 3 and 9 minute, to create a multi-series environment. I have created several conditions using data from both the primary and secondary objects. I use these conditions to control the background color of the primary bars object, the tick chart and issue an alert.
I followed the data synchronization guidelines shown in the SampleDataSeries, strategy folder/section I found in Ninja support forum. Do these guidelines also work for indicators? I must use an indicator for this because I use Chart Trader.
I tested my indicator on real time replay data. It does not execute correctly on real time data. But, if I pause the replay, re-apply the indicator, the code correctly colors the history bar where the conditions were met.
What must I do to get this code to execute correctly on real time data? Or, does the data synchronization only work in strategies?
Sincerely,
Steve
Comment