ChartObjects - Query chart objects on the chart in a cBot ?
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).
Replies
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
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