What's New in cTrader Automate API 3.01

Matt 's avatar
Matt  since: 11 Dec 2015; 
 10 Jun 2019, 02:29
What's New in cTrader Automate API 3.01

What does this mean? under Bars on the chart ... Chart.BarsTotal - gets the number of the bars on the chart.

Can this be used to minus 1 live bar off a chart, for instance the new live renko bar, i would love to be able to remove the live bar.

Panagiotis Charalampous's avatar
Panagiotis Charalampous since: 13 Jan 2017; 
 10 Jun 2019, 10:21

Hi Matt, 

This property tells you how many bars are on the chart. You cannot use it to dictate which bars will be shown. 

Best Regards,

Panagiotis

Head of Community Management at cTrader
RayAdam since: 02 Jun 2019; 
 10 Nov 2019, 08:27
ChartObject property access

Hi Support,

Is there a way to update object name which is drawn manually on chart like a trendline. if yes could you please provide an example.

Thanks in advance

Panagiotis Charalampous's avatar
Panagiotis Charalampous since: 13 Jan 2017; 
 11 Nov 2019, 08:53
RE: ChartObject property access

RayAdam said:

Hi Support,

Is there a way to update object name which is drawn manually on chart like a trendline. if yes could you please provide an example.

Thanks in advance

Hi RayAdam,

At the moment names are read-only therefore you cannot change a name of an object drawn on the chart.  

Best Regards,

Panagiotis

Head of Community Management at cTrader