Method to get all user drawn object types across charts

Created at 24 Oct 2021, 23:21
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!
MU

MuttleyBerks

Joined 19.03.2021

Method to get all user drawn object types across charts
24 Oct 2021, 23:21


Good evening,

This enhancement request is based on my forum indicator posting...

https://ctrader.com/forum/indicator-support/37014

In a nutshell, I'm writing a serious of robots and indicators that operate over varying charts and timeframes. I would like get user drawn objects for each chart, i.e. horizontal lines to indicate a SR zone, and use the price of that line.

One problem I can see with this is that cTrader seems to store user drawn objects within a single chart instance. If I open another copy of the chart even with the same timeframe I won't see the user drawn objects. This seems odd, so may be tied up in another enhancement request?

Look forward to some feeback on this.

Regards,

MuttleBerks

 


cTrader Automate
@MuttleyBerks