chart's symbol was changed

Created at 28 May 2020, 15:33
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

chart's symbol was changed
28 May 2020, 15:33


Is there a way to know when a chart's symbol was changed?

 

Thanks


@eynt
Replies

PanagiotisCharalampous
28 May 2020, 15:38

Hi Yuval,

You cannot change a symbol when you run a cBot. For indicators, when the chart symbol is changed then the indicator is reinitialized again therefore the Initialize() method will run again.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

eynt
31 May 2020, 10:04

RE:

Thank you

 

Is there a way to change a chart's symbol by code of an indicator?


@eynt

PanagiotisCharalampous
01 Jun 2020, 08:34

Hi Yuval,

Check TryChangeTimeFrameAndSymbol()

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous