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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 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
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment