ChartObjects - Query chart objects on the chart in a cBot ?

Created at 08 Feb 2016, 09:52
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!
AD

adheer

Joined 13.05.2014

ChartObjects - Query chart objects on the chart in a cBot ?
08 Feb 2016, 09:52


Is it possible to query the objects on a chart in a cBot ?

After a cBot is attached to a chart (or in the course of running the cBot), I want to find if there are horizontal lines drawn by the user on the chart - so that certain trading decisions can be taken based on that information. 

 

I searched the documentation and could not find any reference to query chart objects.

So, is it possible ? (I understand it is not possible in backtesting).
 


@adheer
Replies

BeardPower
08 Feb 2016, 15:50

Unfortunately the current API does not support object queries.

You can only delete all objects or objects with a given object name.


@BeardPower

cre8iveq
09 Feb 2016, 15:35

For what it's worth, I would love to see this functionality too!!!


@cre8iveq

Spotware
17 Feb 2016, 10:25

Dear Trader,

Currently there is no way to access chart objects through the code. We will consider providing users with this ability in the future.

Additionally, you can post your ideas/suggestions to http://vote.spotware.com/


@Spotware