Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
DrawTextFixed and zorder
Collapse
X
-
I'm not quite clear on what you're saying -- am I still to use DrawTextFixed? It seems as if the interface just exposes whether the zorder can be changed, and it does not allow it to be set, but maybe I'm wrong on this. Can you show a brief example of drawing fixed text, and then using what you say to make it go to the back of the chart?
Comment
-
OK Bertrand, let's approach it this way.
Here's my code in OnStartUp():
Yet, I still am unable to select the object. In the chart properties, the properties that allows selection and dragging of objects is enabled.Code:ITextFixed obj = DrawTextFixed("mytext","Test",TextPosition.Center,Color.Gray,new Font("Arial",48),Color.Empty,Color.Empty,5); obj.SeparateZOrder = true;
What code will accomplish what I want?
Comment
-
-
Here's the promised update : we clarified and unfortunately a separate ZOrder for DrawTextFixed is not possible as it's differently implemented as other drawing objects we offer and could not be selected individually as object. A workaround would be using the more general DrawText() here.
Have a good upcoming weekend,
Comment
-
z-order for DrawTextFixed
Hi,
Further to the below query from a couple of years ago, could you confirm if there has been any further development of Z-order on drawing objects (eg DrawTextFixed) within NT7?
I too would like to have the bars appear in front of the text on a chart (programmatically).
many thanks!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
580 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
336 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
102 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
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment