How to open trade on new york time

Created at 08 Oct 2021, 22:07
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!
PR

progy85

Joined 07.01.2021 Blocked

How to open trade on new york time
08 Oct 2021, 22:07


hello,

i want to open first trade on new york time but if I used:

if (Server.Time.Hour >= 12 && Server.Time.Hour < 12 + 2)

 

robot stopped

 

I used onstart and ontick

 

 


Replies

amusleh
11 Oct 2021, 06:44

Hi,

First of all please create your thread under correct category, open a new thread under Automate API section and post your cBot full code, then we will be able to help you.


@amusleh

... Deleted by UFO ...