inside OnRender, I draw different objects by i.e. `RenderTarget.DrawLine` ,`RenderTarget.DrawTextLayout` etc...
however, on each script change/update, I get the duplicated items drawn (seems, the previous drawings are not removed).
shortly, how to make the OnRender function, to clean/remove all previous execution's drawn items?
(the same result when I remove indicator from chart and re-attach again, then it draws items on clean chart... i want the same to happen on each OnRender re-execution)
Comment