New article Library for easy and quick development of MetaTrader programs (part XXXIII):
Pending trading requests - closing positions under certain conditions has been published:
We continue the development of the library functionality featuring trading using pending requests. We have already implemented
sending conditional trading requests for opening positions and placing pending orders. In the current article, we will
implement conditional position closure – full, partial and closing by an opposite position.
Let's compile the EA and test pending requests in relation to various types of closing positions (partial, full and by an opposite one). To
do this, launch the EA in the visual tester and do the following:
Author: Artyom Trishkin