close an open order at 21:00
-
Can anyone help me how to close an open order at 21:00?
my robot is based on the strategy of pending orders, I have already created the command that after 20 hours the pending orders are closed, but I would also like to close the open order at the same time that the pending is canceled.
thanks
https://fxdreema.com/shared/o82I58jT -
-
@q8carpenter 2 once for day?

-
Yes that is supposed to work.
If the future or on other strategies, you may also need to be aware of the block numbers, as the EA will run the blocks in order of their numbers and it may screw things up, however, I don't see a need to change the order here.
-
@q8carpenter said in close an open order at 21:00:
Yes that is supposed to work.
If the future or on other strategies, you may also need to be aware of the block numbers, as the EA will run the blocks in order of their numbers and it may screw things up, however, I don't see a need to change the order here.
is ok?

-
If blocks 6 and 7 are pending orders, then i would say yes that is ok.
But if they were Market orders (just buy or sell block) and if both (once per day) times are 21:00, then let the (once pre day/close trades) block numbers be first
-
@q8carpenter
yes pending order -
@q8carpenter
is ok?

-
Yes I guess that's ok my friend.
