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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
68 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
151 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
100 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
288 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment