Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Adding a tooltip to a Draw.*
Collapse
X
-
Adding a tooltip to a Draw.*
Hello, I've searched in the forum but can't find an existing solution. Is there a way to, on hover or on click of a Draw.Dot for example, to have custom structured text? My goal here is that I'm drawing a dot on bars that meet x % of the condition I'm looking for, and I want to put a table of conditions that was met into a popup, for visual debuggability.Tags: None
-
Hello transparenttrader,
Thank you for your post.
There's not a simple way to add a tool tip to a drawing object unfortunately. It could be possible to program that functionality into a new drawing tool. For example, you could have it monitor whether the mouse is over certain coordinates then have some code in OnRender that draws what would be the tool tip.
Here's an older post I found (please excuse the poster's terrible choice in font color, I just selected all the text on the page to make it readable) that shows one user's workaround to display a tool tip:
It's worth noting that the code he supplies is from a significantly older version of NinjaTrader and may need updating to work with the current version - there's been some changes to rendering in newer versions, but this may give you a jumping off point.
Please let us know if we may be of further assistance to you.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
31 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
12 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
18 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
20 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment