Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Well, not really... Maybe(?) a histogram by thickness of a candle. Otherwise, the object will be between two candlesticks.
A line, not necessarily a rectangle. But a histogram is also an option.
Canvas.mqh can also be used, I guess. It depends on what you want to do.
Good day everyone! Can you please advise how to set the deletion of an order in an EA?
The situation is as follows:
We place 2pending orders in different directions, as soon as one of them triggers, the other is removed and is no longer exhibited.
I would be very grateful for any help.
I would be very thankful for it.
Good day everyone! Can you please advise how to set an order deletion in an EA?
The situation is as follows:
We place 2pending orders in different directions, as soon as one of them triggers, the other is removed and is no longer exhibited.
I would be very thankful for any help.
I would be very thankful for it.
Do you need mql4 ?
Yes
Have you tried anything yourself?
I am just learning, I am trying to use the handbook, but I realise it turns out to be absurd.
Look, here is your condition:
we place 2pending orders in different directions, as soon as one of them triggers, the other one is deleted and is not placed again.
If I set two pending orders in different directions, I understand, but when, in what situation? (because it is recurring, not just once).
As soon as one of these two triggers, the one that didn't work is deleted immediately - I see.
... And never set it again - this is not quite clear. It will never be displayed again? We have a cycle of EA operation.