How to use trade events with CExpert?

To add comments, please log in or register
lorenooliveira
62
lorenooliveira  

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? 

To add comments, please log in or register