Removing indicator when clicked button.
I don't know why the following thing is happening to me:
I have the chart toggled with a button to H4, but if I accidentally click the same button again, it clears the indicator - in this case the MA. It is the same with the Daily chart. If I repeatedly click the D1 button, the IdentifyTrend indicator is cleared. Interestingly, this does not occur with PSAR.
What am I doing wrong?
Sorry, I worded it wrong - "cleared indicator" should be correct - "delete indicator".
So the SAR is not deleted after pressing the button again - i.e.: I have to put MA (or IdentifyTrend) on the chart again if I press the button twice by mistake.