Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Calculate text height
Collapse
X
-
Calculate text height
I have an indicator that draws an upper and lower bound of a range of prices over a certain period of time. I also use DrawText() to display the price level just above the high and below the low. Depending on the size of the chart the text sometimes overlaps into the text. I'd like to offset the Y position of my text so that the value above the high is above the line and the value of the range low is below the low line, but I need to know how high my text is. How can I compute such an offset?Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment