How can I do something everytime a trade closes or opens?

Created at 06 Jan 2018, 00:26
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
AR

aronbara9

Joined 06.01.2018

How can I do something everytime a trade closes or opens?
06 Jan 2018, 00:26


Hi guys,

 

Simple question here:

How can I do something as simple as printing out "Trade Closed" every time a trade closes (event happens)?

 

 

 


@aronbara9
Replies

PanagiotisCharalampous
08 Jan 2018, 10:10

Hi aronbara9,

Thanks for posting in our forum. You can listen to the Positions Opened and Closed events.

Best Regards,

Panagiotis


@PanagiotisCharalampous