.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
3 text fixed on Bottom Right with diferent colors
Collapse
X
-
3 text fixed on Bottom Right with diferent colors
I would like to place three different fixed texts in the form of a box in the lower right corner of the graph, where the positive value the box color is green, the negative value the box color is red and the balance is blue. I'm using “TextPosition.BottomRight”, but one box overlaps another, I would like to position the text boxes according to the attached image. I've already tried to place the results using the same line, but there's no way to change the individual color of each value. Could you please help me with this issue?
.Tags: None
-
Hello octaviolima,
Thank you for your post.
Draw.TextFixed() can only draw one of the pre-defined locations, so it is expected that they will overlap if you add more than one object to the same location. They will not automatically adjust.
You can instead use custom rendering to create these boxes.
SampleCustomRender included in the platform demonstrates how to custom render a box with text on the chart.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
553 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
100 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
543 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
546 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment