How to remove all objects when indicator is unloaded

Created at 01 Feb 2024, 15:10
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!
MI

mihlali700

Joined 22.12.2023

How to remove all objects when indicator is unloaded
01 Feb 2024, 15:10


I have made an indicator that creates objects on the chart and I need it to remove all objects when the indicator is unloaded , like when settings in the indicator are changed for example the indicator is unloaded and then loaded again which causes a overlap with objects that's why I need the objects removed.


@mihlali700