we are developing an indicator that depends heavily on the correct time whenever OnBarUpdate() is called. However, Time[0] may not return the correct local time, e.g. because the client's system clock may not be synchronized with a time server.
Now I suppose that the realtime stock datafeed must contain not only stock data, but is also aligned with time data, i.e. every single tick coming in should come with a correct time stamp. This would make sense, because historical data are always displayed correctly.
Is there any way to access the tick's time stamp in the indicator code? I tried MarketDataEventArgs.Time, but this also returns the incorrect system time.
Looking forward to any comments on this,
Johannes Neubarth
Comment