As it is said here:
Sets the time zone that NinjaTrader will use. All charts and market data will be displayed in this time zone. Time zones are set to your local PC time by default.
protected override void OnMarketData(MarketDataEventArgs marketDataUpdate) { if (marketDataUpdate.MarketDataType == MarketDataType.Last) Print(string.Format("{0:yyyy-MM-dd HH:mm:ss.fffffff} ({1})", marketDataUpdate.Time, marketDataUpdate.Time.Kind)); }
Everything is correct. But how can I programmatically find out the Control Center's 'Tools/Options/General/Time zone' in the previous case, if it's not set to 'Utc' ? Where can I get its TimeZoneInfo ?
Comment