Thanks, got it sorted out! The problem was deeper, my misunderstanding of what the output would be in this way of writing, in general expectations did not match the result, screwed the counters - everything now works as I thought it would.
Is it easier to make a screenshot and post it here than to copy the text of the EA? Do you think someone will manually type it into their ME from a screenshot and try to figure it out?
If the compiler says that it should check the result of the function, it must be checked. It's not hard:
if(!OrderSend(Symbol(), OP_BUY, OrderValue, NormalizeDouble(Ask, Digits), 3, SL, TP, NULL, 0, 0,clrBlue)) Print("Opening Buy error #", GetLastError()); //ну и другие действия по усмотрению, в случае ошибки
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.
The figure brackets are missing.
Help , why is the EA not opening orders during testing? (Doesn't do anything?) Please help, please!!!
Help , why is the EA not opening orders during testing? (Doesn't do anything?) Please help, please!!!
Can't you create a correct post?
There is no function call in the Start() function to open orders
Can't you create a correct post?
There are no function calls in Start() to open orders
Brother, how do you add this?
Vinin:
Жалко мне твоих папу и маму. Не научили культуре общения
I'm sorry, I really need help as this is my first experience with EA writing.
Please help please
So I figured it out, no errors, but there are warnings.
This must be why the tester is giving out errors
So I figured it out, no errors, but there are warnings.
This must be why the tester is giving out errors
Guys help please!!!
Is it easier to make a screenshot and post it here than to copy the text of the EA? Do you think someone will manually type it into their ME from a screenshot and try to figure it out?
If the compiler says that it should check the result of the function, it must be checked. It's not hard: