If it trades on the minutes - on the first tick it sends a request, the next tick comes a minute later. And the price is not yet out of date and is within the slippage. Or is it?
If it trades on the minutes - on the first tick it sends a request, the next tick comes a minute later. And the price is not yet out of date and is within slippage limits. Or is it?
Plus, if the instrument is illiquid, the first tick of the minute may not be on the first second.
If trades on minutes - on the first one sent a request, the next tick came after a minute. And the price is not yet out of date and is within slippage limits. Or is it not?
By the way, for the minutes I dropped, I haven't opened a single trade there in 10 years)
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.
Hello! Is this situation possible for an EA :
1. The Expert Advisor receives a signal to open a position on bar N
2. The Expert Advisor sends a request to the server and a delay (slippage) occurs, and the deal is opened on bar N+1
3. The conclusion is that in the chart we see the signal on bar N, while the position is opened on bar N+1.
Is this possible?
Hello! Is this situation possible for an EA :
1. The Expert Advisor receives a signal to open a position on bar N
2. The Expert Advisor sends a request to the server and a delay (slippage) occurs, and the deal is opened on bar N+1
3. The conclusion is that in the chart we see the signal on bar N, while the position is opened on bar N+1.
Is this possible?
The delay may be up to a second. Can it happen that a new bar appears within this time frame?
The delay can be up to a second. Can it happen that a new bar will appear within this time frame?
If the delay is up to a second or less, then the trade cannot be outside this bar
If the delay is up to a second or less, then the trade cannot be outside this bar
It cannot. Show a screenshot of what you have wrong
It can't. Show me what's wrong with your serine
Why can't it?
If it trades on the minutes - on the first tick it sends a request, the next tick comes a minute later. And the price is not yet out of date and is within the slippage. Or is it?
Why can't it?
If it trades on the minutes - on the first tick it sends a request, the next tick comes a minute later. And the price is not yet out of date and is within slippage limits. Or is it?
Plus, if the instrument is illiquid, the first tick of the minute may not be on the first second.
Why can't it?
If trades on minutes - on the first one sent a request, the next tick came after a minute. And the price is not yet out of date and is within slippage limits. Or is it not?
By the way, for the minutes I dropped, I haven't opened a single trade there in 10 years)
Hello.
Maybe there is already a ready-made function - in which bar is the time?
For example if the time is 11.47 then :
М1==11.47
М5==11.45
М15==11.45
М30==11.30
Hello.
Maybe there's already a ready-made function - in which bar is the time?
For example if the time is 11.47 then :
М1==11.47
М5==11.45
М15==11.45
М30==11.30
WouldiBarShift work?
WilliBarShift work?
Yes, exactly, thank you!