Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Custom Data Box
Collapse
X
-
Custom Data Box
hi, I want to create a custom data box in the upper right portion of my chart (fixed position) to show values I'm calculating in my indicator. It will probably be 3 to 4 lines and fit into my right margin (set at 100). Is there an example you can direct me to that does something like this? thanks
Tags: None
-
Hello,
You can use DrawTextFixed to draw in the TopRight corner of the chart:
To create separate lines, you'd want to use "\n" in between each value which creates a new line
Please let me know if you have any questions.Code:DrawTextFixed("myDataBox", Close[0] + "\n" + High[0] + "\n" + Low[0], TextPosition.TopRight);MatthewNinjaTrader Product Management
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
548 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment