Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1262

 
SanAlex:

Can you tell me why the position was not opened, although there was a signal and it should have been opened by the signal

My Expert Advisor wrote something in the log.

No connection has been written to you by your Expert Advisor.

 
SanAlex:

yes this terminal - mute already, sick of searching for the network

-------------------------------------

They are not so bad if they are manually executed, but if they are executed with an expert, then they are better off not messing with such a company.

If you have an error, you should wait a couple of seconds and reopen the order, as Kovalev explains in his tutorial.
 
Valeriy Yastremskiy:
In mt4, the orders open in a loop until they are opened, taking into account error analysis, if there is an error such as a connection failure, then wait a couple of seconds and reopen) this is how Kovalev described it in his tutorial.

Maybe you are right, about the cycles - the function of opening a position, taken from the Expert Advisor from the terminal. - Today I figured it out - it all depends on the broker. of the three terminals from different brokers -

- The Expert Advisor works differently.

 
SanAlex:

Maybe you are right, about the cycles - the function of opening a position, taken from the Expert Advisor from the terminal. - Today I figured it out - it all depends on the broker. of the three terminals from different brokers -

- the Expert Advisor works differently.

In mt5 it is more complicated. Order, validation of order, execution of order-transaction, appearance of position. And all actions have no guarantee of adequacy) but earlier https://www.mql5.com/ru/forum/160683/page1260#comment_18379614 said. Everything has to be monitored.
And here is the problem with the lack of communication. If an error is returned on an order, we can repeat the order-order. And the lack of communication how to catch, and how long to wait adequately?
 
Valeriy Yastremskiy:
In mt5 everything is more complicated. Order, validation of the order, execution of the order-transaction, appearance of a position. And all actions with no guarantees of adequacy) but earlier https://www.mql5.com/ru/forum/160683/page1260#comment_18379614 said. Everything has to be monitored.
And here is the problem with the lack of communication. If an error is returned on an order, then we can repeat the order-order. And the lack of communication how to catch it and how long to wait adequately?

I see it this way ! If the broker has a bad connection - then I don't want to go with such a broker !

 
SanAlex:

My understanding is that if a broker has a bad connection, it's not the way to go with that broker!

Transparency cannot be achieved with a bad connection)))))

Everything is relative... and is relative... and in terms of perishable is also relative))))) And why are there no differential assessments)))))

 
Valeriy Yastremskiy:

With poor communication, transparency cannot be achieved)))))

Everything is relative... and is frail... and in terms of mortality, it's also relative))))) And why are there no difference estimates)))))

MQL4 has the ability to determine server availability

IsConnected()
IsTradeAllowed()
IsTradeContextBusy()
 
Igor Makanu:

MQL4 has an option to determine server availability

Thank you. But in boundary conditions, we have sent an order but it didn't get there, or the order was validated, we got the status of the order, connection was broken, the order was executed, we didn't get feedback, we missed a deal, connection appeared, we have a position . with the position, but it's hard to overload the algorithm and foresee all the options, especially those leading to a loss due to a connection failure... It is better to have good communication.

 
By the way a question, 'in my pocket' clicks and collects what I am interested in on the forum. Where do you watch it?)
 
Valeriy Yastremskiy:
By the way a question, 'in my pocket' click and collect what I am interested in on the forum. Where do you watch it?)

That's not what it's for.