I'm facing an issue with the positioning of text using Draw.Text in my indicator. I'm trying to position the text to the right of a HorizontalLine, but it's not working as expected. I think it's considering the current bar position, but I want it to consider the entire chart
Code:
Draw.Text(this, priceLevel.ToString("F2"), true, priceLevel.ToString("F2"), 0, priceLevel, 8,
null, new SimpleFont(fontName, fontSize), System.Windows.TextAlignment.Right, null, null, 0);
Any help or suggestions would be greatly appreciated. Thank you!
Comment