How can I get the time of bar closed to use, for example, as x-coordinate in Draw.Line()?
Draw.Line(NinjaScriptBase owner, string tag, bool isAutoScale, DateTime startTime, double startY, DateTime endTime, double endY, Brush brush, DashStyleHelper dashStyle, int width)
And, how can I achieve that line endTime be, for example, three hours later?
I have read NT8 sample but I have not been able to carry out the code.
Thanks

Comment