NT7's DrawText method does not offer the ability to draw text in a fixed location using an offset from the right margin.
Studying the CustomPlotSample indicator I see that custom location prints on the chart may be performed via the Graphics.DrawString method.
I am trying to do this directly from my strategy. I'm calculating volume at price but would like to print it via a Right margin offset.
Would sincerely appreciate anyone's help me with this?
This is what I've got so far, but not sure how to determine the X & Y values:
I've defined the Graphics graphics object and the Fontname & VolAtPriceColor variables earlier in the code.
graphics.DrawString(CurrBidTradedVol.ToString(),Fontname,VolAtPriceColor,X, Y)
Comment