Automatic TimeZone

Created at 12 Jun 2020, 08:11
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!
RA

RayAdam

Joined 02.06.2019

Automatic TimeZone
12 Jun 2020, 08:11


Hi Support,

Could you please advise two things regarding TimeZone within Robot/Indicator

[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class TestRobot : Robot

1 - How to update TimeZone via code?

2 - How to update TimeZone to timezone value selected at bottom of cTrader platform?

would appreciate if you can share code snippet or an example

Thanks

Kind regards


@RayAdam
Replies

PanagiotisCharalampous
12 Jun 2020, 08:27

Hi RayAdam,

This property cannot be updated via code.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous