Indicator Events

Created at 07 Nov 2023, 09:41
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!
EY

eynt

Joined 08.05.2020

Indicator Events
07 Nov 2023, 09:41


Hello

 

  1. Does an indicator has an event similar to a bot's OnStop?
  2. Does and indicator has an event when the chart's symbol is changed?

 

Thanks


@eynt
Replies

PanagiotisCharalampous
07 Nov 2023, 11:05 ( Updated at: 07 Nov 2023, 11:06 )

Hi eynt,

  1. There is OnDestroy()
  2. No, the indicator is reinitialized

Best regards,

Panagiotis


@PanagiotisCharalampous