Robot time is not being used by indicators that use the MarketSeries.OpenTime

Created at 26 Aug 2013, 05:30
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
lec0456's avatar

lec0456

Joined 14.11.2012

Robot time is not being used by indicators that use the MarketSeries.OpenTime
26 Aug 2013, 05:30


Ok, so When I set my Robot to use EEuropeStandardTime

My indicator uses MarketSeries.OpenTime[index] 

My indicator checks what session it is in by using the  TimeZoneInfo.ConvertTime function  it crashes complaining about the kind property set to utc

The indicator does not crash if run by its self

.


@lec0456
Replies

cAlgo_Development
26 Aug 2013, 16:06

Which timezone is specified in your indicator? Which TimeZoneInfo do you use for conversion?
 


@cAlgo_Development