MQL5
gave a mass of innovations, including work with events of various types
(timer events, trade events, custom events, etc.). Ability to handle
events allows you to create completely new type of programs for
automatic and semi-automatic trading. In this article we will consider
trade events and write some code for the OnTrade() function, that will
process the Trade event.
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.
New article Processing of trade events in Expert Advisor using the OnTrade() function is published at mql5.com:
Author: KlimMalgin