In Ninjascript there is a DrawLine function to draw lines.
DrawLine(string tag, int startBarsAgo, double startY, int endBarsAgo, double endY, Color color)
On a chart,which has some blank space before the right margin,how does one drawlines using ninjascript? Should one use negative values for DrawLine function?
DrawLine("tag1", false, -30, 695, -10, 695, Color.LimeGreen, DashStyle.Dot, 2);
So, that lines look like this:
Thanks
PatientTrader
Comment