CExpert has some event handler methods, namely TradeEventPositionOpened, TradeEventPositionVolumeChanged, TradeEventPositionModified, among others.
The question is: when these methods are called? Taking TradeEventPositionOpened as example, in my tests this method is never called, even when the EA opens new positions. Is it necessary to provide some flag or some specific configuration in order to be notified about these events on these methods?
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.
CExpert has some event handler methods, namely TradeEventPositionOpened, TradeEventPositionVolumeChanged, TradeEventPositionModified, among others.
The question is: when these methods are called? Taking TradeEventPositionOpened as example, in my tests this method is never called, even when the EA opens new positions. Is it necessary to provide some flag or some specific configuration in order to be notified about these events on these methods?