I have a custom indicator that draws dots under certain conditions. However once the latest dot is drawn, under certain conditions, I need to remove the latest dot drawn. As per the documentation and the example below, I can see RemoveDrawObject() can be used but I would need to create a unique "tag" for each of the dots.
https://ninjatrader.com/support/foru...-chart?t=18995
So, how can I just remove the latest dot without affecting the others? or How can I create a unique tag for each of the dots so that when using RemoveDrawObject it only removes the latest dot? An example would be appreciated.
Thanks in advance!
Comment