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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
40 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
27 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
45 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
37 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment