I tried using DrawLine() in my indicator with little success.
For example, what would I do if I it was currently 1:15pm, the bar had just closed and I wanted to draw a line at the high of that bar that lasts for the next 10 bars.
As mentioned above, I tried:
DrawLine("my line" + CurrentBar, false, 0, High[0], -10, High[0], Color.Red, DashStyle.DashDot, 2);
but it doesn't seem to want to work.
Thanks in advance.
Comment