Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator Plot Labels
Collapse
X
-
Hello dibDab,
You are wanting to create something like the Add Plot Names indicator?
https://ninjatraderecosystem.com/use.../addplotnames/
You can either custom render text where you would like it in OnRender(), or you can use Draw.Text() which will draw over the bars.
The <Indicator>.Plots[plot index].Name will have the plot name. The .Plots[plot index].Brush will have the color.
Chelsea B.NinjaTrader Customer Service
-
Not quite. One color per draw object. Multiple lines of text in Draw.TextFixed will all be the same color.Originally posted by dibDab View Postok just to clarify, I can use '/r/n' to draw on 2 lines and I can use a brush to define different colours on each line?.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
98 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
143 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
69 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
77 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment