Once positions close, wait till next hour to restart bot.

Created at 24 May 2023, 01:39
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!
BJ

bjarman16

Joined 18.04.2023

Once positions close, wait till next hour to restart bot.
24 May 2023, 01:39


Anyone have any examples of how i can implement when my positions close, it pauses trading and onstarts again the following hour?


@bjarman16
Replies

firemyst
24 May 2023, 04:49

RE:

bjarman16 said:

Anyone have any examples of how i can implement when my positions close, it pauses trading and onstarts again the following hour?

You need to be a little more specific.

Suppose a trade closes at 12:15:36pm

By "onstarts the following hour", do you mean:

1) on the actual hour? Next trade can occur starting at 1pm?

2) or at least 1 hour from the time of close. Eg,nothing is done until at least 1:15:36pm?


@firemyst