This is a general question regarding removing history draw objects created by an indicator. For example the RSI will draw an object (an up or down arrow on price bars when price is above or below the 30 or 70 RSI levels. That leaves many arrows if price stays below or above these levels for a long time.
The question is how to remove all the past signals and leave just the most recent draw object?
Using the RemoveDrawObject("my Tag") under the OnBarUpdae and before a draw statement does not seem to work and leaves all past draw objects on the chart.
Thanks.
Comment