My issue occurs when price is also in that same spot, it becomes difficult to read the text. To combat this, I have tried to adjust the margin to allow the text to always be available, but this cuts off quite a bit of my chart. I would much rather be able to add a rectangle background to the text to allow for easy reading and match my charts background color, as the price action doesn't always get in the way.
Is there a way to do this? I haven't seen anything in DrawTextLayout regarding a background color as an overload.

Comment