I developed a simple indicator here that shows the high and the low of the current bar or any other prior bar.
I have had a request to reduce the footprint of this indicator.
so.. if I have a price of say 4006.5 what I want to do is to show 06.5.
How do I measure the string length please and how do I access the correct characters?
I use the following in a DrawText line curently.
string decstr = "N" + Decimal.ToString();//Dec places string lowstr = " " + (Low[NBar] - TickSize).ToString(decstr);
Comment