Discussion of article "MQL5 Cookbook: The History of Deals And Function Library for Getting Position Properties" - page 2

 
tol64:
I'm getting everything to run successfully. Look at everything in more detail (log output) to find out the cause. Number of orders, tickets, error number, etc.

I see.

Something must be wrong with the broker. I get error number 4755(Deal not found). I will write to Service Desk.
.

Общайтесь с разработчиками через Сервисдеск!
Общайтесь с разработчиками через Сервисдеск!
  • www.mql5.com
Ваше сообщение сразу станет доступно нашим отделам тестирования, технической поддержки и разработчикам торговой платформы.
 
denkir:

Oh, I see.

There must be something wrong with the broker. I get error number 4755(Deal not found). I'll write to Service Desk.
.

Let me know later what was the matter, I'm interested.
 
Interesting article and examples, thank you.
 
Interesting article.
Is there by any chance a function to increase the lot to cover the loss from previous trades, knowing the Take Profit size of the opening trade?