Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Adjusting/Padding Draw.TextFixed location
Collapse
X
-
Hello RandyT,
The Draw.TextFixed() does not allow for positions other than the preset positions for TextPosition.
You could add a new empty line to the text to move the text up a line.
Or you can render the text with SharpDX instead of using a drawing tool and then you would be able to render the text anywhere you want.
Below is a public link to an example of rending text.
Chelsea B.NinjaTrader Customer Service
-
Thanks Chelsea,
Just a comment on the "moved" post, I note that "Add-On Development" describes itself as "General NinjaScript development questions.", which I thought this question fell into since it really doesn't just apply to Indicators.
Seems that the "General Development" category in the NT7 grouping is now gone from NT8 and was probably renamed to "Add-On" development I am guessing?
I know I have done this for several of my more "general" postings. Apologies if I am creating a mess for you.
Comment
-
Hello RandyT,
It made since to me to move this to the Indicators section because not all scripts can call Draw methods. Specifically, Addon, BarType, DrawingTool, MA Column, Optimizers, PerformanceMetrics, ShareServices, and SuperDOM Column scripts cannot call Draw methods.
Draw methods are only available to indicators and strategies.
I tend to moderately organize the forum in a way I think it will help members find information..
But, in general its fine to post in the Addon section of the forums.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
574 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
332 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
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment