Yes, it's just a check to see how it works, all that's not clear. The first thing I do is to place a pending bylimit order, 20 pips above the price. Then I immediately check it with OrderType,
and it turns out it's not zero. It's zero!!!!. How can it be zero, it's a bylimit!!! Besides, it's not deleted either, it says some kind of error. In addition, all subsequent orders are corrected as 4 or 5, are deleted normally, behave normally.
Moreover, even the orders opened above the first one behave normally, with the same lot, location, in short, all in one! All except the first.
Here is the problem. When I tried to open an order in my log, I got the message "Requote 1.4589/1.4591 to open buy 0.01 EURUSD at 1.4587". As a result, the order was not opened. Please advise how to fight with this.
Here is the problem. When I tried to open an order in my log, I got the message "Requote 1.4589/1.4591 to open buy 0.01 EURUSD at 1.4587". As a result, the order was not opened. Please advise how to fight with this.
Help me make up a function. I have a signal, but it's duplicated: How do I make a function or something like that to determine if it's the same signal or a new one?
p1>p3 && p2>p1 && (High[1]>(p2+p1)/2)
dimeon:
int schetchik=0;
int start()
if( p1>p3 && p2>p1 && (High[1]>(p2+p1)/2 && schetchik==0) {любое действие; schetchik++;}
Условие для обнуления счетчика; Например:
if (OrdersTotal==0) schetchik=0;
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.
Yes, it's just a check to see how it works, all that's not clear. The first thing I do is to place a pending bylimit order, 20 pips above the price. Then I immediately check it with OrderType,
and it turns out it's not zero. It's zero!!!!. How can it be zero, it's a bylimit!!! Besides, it's not deleted either, it says some kind of error. In addition, all subsequent orders are corrected as 4 or 5, are deleted normally, behave normally.
Moreover, even the orders opened above the first one behave normally, with the same lot, location, in short, all in one! All except the first.
is that the part you're talking about?
It has been pointed out to you repeatedly that the expression
WRONG
let's consider for one order
(i = 1; i>0; i--) - there will be one step for i = 1, well
OrderSelect(i,SELECT_BY_POS )choose an order with position 1 in the list(does NOT exist) there is only one order and its position is NULL
Dear Professionals!
Could you please tell me how to fill in the Server SMTP, etc. fields in the Metatrader 4 mail settings, so that it can send emails to email.
I apologise for the duplication - the opera is glitchy
Opera has nothing to do with it. Just hands and patience. One is in a hurry, the other is lacking
Dear Professionals!
Could you please tell me how to fill in the Server SMTP, etc. fields in the Metatrader 4 mail settings, so that it can send emails to email.
https://www.mql5.com/ru/search?keyword=SMTP
Good day to all!
Here is the problem. When I tried to open an order in my log, I got the message "Requote 1.4589/1.4591 to open buy 0.01 EURUSD at 1.4587". As a result, the order was not opened. Please advise how to fight with this.
Thank you in advance.
Good day to all!
Here is the problem. When I tried to open an order in my log, I got the message "Requote 1.4589/1.4591 to open buy 0.01 EURUSD at 1.4587". As a result, the order was not opened. Please advise how to fight with this.
Thank you in advance.
What's the slipage?
Help me make up a function. I have a signal, but it's duplicated: How do I make a function or something like that to determine if it's the same signal or a new one?