Removing objects by type

Created at 26 Apr 2019, 12:06
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!
alexander.n.fedorov's avatar

alexander.n.fedorov

Joined 02.01.2018

Removing objects by type
26 Apr 2019, 12:06


Hi Pangiotis,

Could not figure out how to remove objects of certain type (rectangles for example) from chart.

 

Best regards,

 

Sasha


@alexander.n.fedorov
Replies

alexander.n.fedorov
26 Apr 2019, 13:30

RE:

alexander.n.fedorov said:

Hi Pangiotis,

Could not figure out how to remove objects of certain type (rectangles for example) from chart.

 

Best regards,

 

Sasha

Sorry for the misprint, Panagiotis :)

 


@alexander.n.fedorov

PanagiotisCharalampous
30 Apr 2019, 12:42

Hi Sasha,

You can use RemoveObject() function and identify these objects by a string.

Best Regards,

Panagiotis


@PanagiotisCharalampous

alexander.n.fedorov
05 May 2019, 11:05

Thanks, I will try it 

 

Regards, Sasha


@alexander.n.fedorov