I want to have in my indicator
if (BarsSinceDrawObject("My remove draw object") == 3)
{
RemoveDrawObject("My remove draw object");
}
But I get an error-message when compiling.
I know from the videolibrary and strategy wizard how to do "BarsSinceEntry" but not when there is no entry and I want to remove eg an arrow 3 bars after the bar it has been plotted.
Thanks.
Tony
Comment