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 sjsj2732, Yesterday, 04:31 AM
|
0 responses
39 views
0 likes
|
Last Post
by sjsj2732
Yesterday, 04:31 AM
|
||
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
290 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
289 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
135 views
1 like
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
96 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|

Comment