.
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 sjsj2732, Today, 04:31 AM
|
0 responses
20 views
0 likes
|
Last Post
by sjsj2732
Today, 04:31 AM
|
||
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
280 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
279 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
130 views
1 like
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
90 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|

Comment