Thanks for your post.
A common trick to draw on every occurrence of a condition is to use something that is changing every bar in the tag name. I typically use CurrentBar along with my tag name to allow this to happen.
I have modified your snippet below to demonstrate.
if (Open[0] > Close[0]) {[INDENT]Draw.Ellipse(this, "MyEllipse "+CurrentBar, 1, Low[0] -3 * TickSize, -1, High[0] +3 * TickSize, Brushes.Green);[/INDENT] }
Leave a comment: