Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
drawn objects into the foreground
Collapse
X
-
-
Hello sidlercom80,
Thank you for your post.
Drawing objects could be brought into the foreground by specifying the ZOrder for an indicator by using SetZOrder.
SetZOrder represents the index in which chart objects are drawn on the chart's Z-axis (front to back ordering). Objects with a higher ZOrder are drawn first. If you want to draw your objects on top of the bars, you could assign SetZOrder to use the index int.MaxValue.
Please note that assigning specific ZOrder indices to draw at should be done once the State has reached State.Historical. All drawing objects drawn by the indicator will have the same relative ZOrder.
The following help guide link demonstrates how SetZOrder could be used - https://ninjatrader.com/support/help...?setzorder.htm
Let us know if we may further assist.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
- Likes 1
-
Hi _BrandonH, great thanks a lot that helped me ;-)
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
41 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment