I'm with my drawing tool......
I want to draw some lines, but with Draw.Line, like in an indicator.
Why?
Because:
- I don't need to create the points with SharpDX vectors
- I can create as many lines as needed with iterations:
Draw.Line(this,"ln1"+i.ToString(), false,....... // where "i" is increasing
I don't know how many lines I will need to create
I try to use the Draw.Line sentence like in an indicator,
Draw.Line(this, "ln1"+i.ToString(), false, PivotTime[1], PivotPr[1], PivotTime[2], PivotPr[2], Brushes.DarkGreen,DashStyleHelper.Solid, 1);
but I get some errors:
- I get an error in the "this"
- I get an error in the DateTime parameters, as Ninja tries to get there an integer
Is it possible to use Draw.Line in this manner?
Thanks!
Comment