Load this on a one minute chart with just a couple days of data.. It will draw a horizontal line and dot 25 bars back from the last bar on the chart. It should also remove both those same objects 10 bars after that, prior to even finishing loading all the bars on the chart. But it doesn't, at least not for me.
It will however delete them at the close of the next 1 min bar.. Which would be expected, if they weren't suppose to be removed earlier.
Also.. for next test.. Refresh the chart after the objects are removed at the close of the bar.. Quickly manually draw a couple drawobjects.. At the close of the next bar everything gets removed.. Both the indy's objects and the manually drawn objects.. Comment line 76 out and the manually drawn objects will no longer be deleted..
Also in the same token as removing both the indy's and the manually drawn objects.. If I apply another totally different indicator to the chart that draws objects.. On the close of that next 1 min bar, those objects, all drawing objects, regardless of what drew them, will be deleted as well..
Could you please confirm you are able to duplicate what I am experiencing?
Comment