MikeM: There is a function: TimeCurrent(). When opening a position, remember the value of this function, and when you want to open a new position, check the difference between the current value and the remembered value of this function.
Be more specific. Maybe you want to open a new position after a certain time, e.g: 15 min / 4 hours / 10 hours, 17 minutes and 38 seconds?
paladin80: Ok. Click on "reply" in the post, I didn't realize it was an answer to my question. But the advice is good, I will do as you suggested. Thank you.
My understanding is that if you have more than one EA and there is no overlap in sending trade orders,
Good day! Question about trawl: I put a trailing stop of 25 pips. In the evening I come home from work, and the deal was not closed, although the day price was 70 pips away.
demid61: Good day! Question about trawl: I put a trailing stop of 25 pips. In the evening I come home from work, and the deal was not closed, although the day price was 70 pips away.
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.
There is a function: OrderOpenTime().
You can compare its value for the last opened order with TimeCurrent() before opening a new position.
There is a function: TimeCurrent().
When opening a position, remember the value of this function, and when you want to open a new position, check the difference between the current value and the remembered value of this function.
That is not my wish. It is an answer to your question of 12:08.
Ok. Click on "reply" in the post, I didn't realize it was an answer to my question. But the advice is good, I will do as you suggested. Thank you.
My understanding is that if you have more than one EA and there is no overlap in sending trade orders,
you can use this:
insert it before OrderSend();
Better still, here's a function for opening positions.
Good day! Question about trawl: I put a trailing stop of 25 pips. In the evening I come home from work, and the deal was not closed, although the day price was 70 pips away.
Where is the code? Without the code - here.
Good day! Question about the trawl. I set a trailing stop of 25 pips.
There's probably a little "and I'm turning off the computer" opus going on here.
there's probably a little "and shutting down the computer" opus going on here
:)) I thought it would work without a computer