ChartArea.RemoveAllObjects
method · ChartArea · cAlgo.API
DesktopCLICloud
Removes all interactive and non-interactive objects available for the cBot or Indicator.
Definition
void RemoveAllObjects()
chartArea.RemoveAllObjects() -> None
Examples
Chart.RemoveAllObjects();
Print("Objects left on the chart: {0}", Chart.Objects.Count);
api.Chart.RemoveAllObjects()
api.Print(f"Objects left on the chart: {api.Chart.Objects.Count}")