Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Access the properties in the "Drawing Objects" window?
Collapse
X
-
Access the properties in the "Drawing Objects" window?
Tags: None
-
Hello sidlercom80,
You need to store a instance of the object to a variable to do that. There is a sample of using an object as a class level variable in the following link: https://ninjatrader.com/support/help...rawingtool.htm
There is also a sample of using the DrawObjects collection in the following link, its the same basic concept. To get an objects properties you need to know what type of object it is so you can make a correct typed variable from the generic object. Once you have a typed variable like HorizontalLine you can access and public properties the HorizontalLine type has.
https://ninjatrader.com/support/help...ub=drawobjects
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by sjsj2732, Yesterday, 04:31 AM
|
0 responses
24 views
0 likes
|
Last Post
by sjsj2732
Yesterday, 04:31 AM
|
||
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
282 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
280 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
131 views
1 like
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
90 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|

Comment