Spin
Well-known member
- Joined
- May 22, 2019
- Posts
- 477
- Likes
- 191
Hello fellow coders,
I was wondering if there was a way to remove Markers (that have been plotted above or below a bar by a study) on specific bars in the past ?
Something along these lines:
I know there is such a thing as 'clearFigures();', but this deletes ALL the Markers on a chart, which is not what I want. I am looking for a more 'granular' approach. Until now my investigations into the SDK API reference manual came up empty
Thanks in advance for your input !
I was wondering if there was a way to remove Markers (that have been plotted above or below a bar by a study) on specific bars in the past ?
Something along these lines:
Java:
IF (currentBar > some value)
{delete all the Markers above the last X bars in the past}
I know there is such a thing as 'clearFigures();', but this deletes ALL the Markers on a chart, which is not what I want. I am looking for a more 'granular' approach. Until now my investigations into the SDK API reference manual came up empty
Thanks in advance for your input !