Discussing the article: "Trade transactions. Request and response structures, description and logging" - page 9

 

A closer observation of the work of 2 Expert Advisors, which have different algorithms for searching for a signal to determine the direction of trade, but the same algorithm for adding positions, SHOWS!!!!

  1. Even after 2 trading sessions, the OnTradeTransaction() function still "saw" the previously opened position and the Expert Advisor added another one without any problems, as it was assigned by the algorithm.
  2. Rollover, most likely, could not influence the algorithm of the Expert Advisor, because it has its own ticket.
  3. The only thing I didn't have time to do was to check with a script and see what was in the history of an already open position before the EA opened an additional position.

I was wondering how it can be - there is information about an already open position in the history, and then there is no history. Well, time will tell.

Regards, Vladimir.

 
Denis Kirichenko #:
Vladimir, I recommend you to study the material in the article. Then many questions will answer themselves ))

Hello, Denis! Thank you for the recommended article! Yes, there was a time when I read this article, but a lot of things in my memory are already wiped out. Age has its effect...

Regards, Vladimir.