You can run a simple test:
DrawLine("test1", true, 2, High[0], 0, Low[0], Color.Red, DashStyle.Solid, 3);
DrawLine("test2", true, 2, High[0], 0, Low[0], Color.Blue, DashStyle.Solid, 3);
Sometimes the line is red, sometimes it is blue. Shouldn't it always be blue, since that is the second line being drawn? That is what I want, but that is not what is happening. How can I make it so the above code always renders a blue line? Or, what should I add to the code to make it so the line is always blue in this case?
Comment