Position Closed Event

Created at 25 Jan 2021, 19:09
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!
CA

calgodemo

Joined 28.05.2019

Position Closed Event
25 Jan 2021, 19:09


Hey all,

 

Is this triggered only on the chart where the bot is active or for any position on the account? 

 

Suppose I have a bot that performs some action on Position close event. I have it on two charts, and each chart has an active trade.

One trade closes. Will this function be hit twice or only once?

 

Many Thanks,

CaD


@calgodemo
Replies

PanagiotisCharalampous
26 Jan 2021, 07:59

Hi CaD,

Yes, this event is called for any position closed on the specific account.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous