DrawText("BarTimeDn", String.Format("{0:m mm}",ElapsedTime),-2,Volume[0]/2,Color.Black); // Write BatTime to chart
In the attached picture you can see the output is of the form: 00:00:00 - or hh:mm:ss. I actually want mm:ss.
The variable "ElapsedTime" is a TImeSpan variable. Is that the problem? Does the String.Format() only work on DateTime variables?
regards,
taddypole...
Comment