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
JesseNinjaTrader Customer Service
- Likes 1
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by MiCe1999, 12-01-2024, 09:01 PM
|
4 responses
44 views
0 likes
|
Last Post
![]() |
||
Started by Darkslide_Tom, 03-23-2025, 11:08 PM
|
2 responses
15 views
0 likes
|
Last Post
![]() |
||
Started by coopgrafik, Today, 07:57 AM
|
1 response
6 views
0 likes
|
Last Post
|
||
Started by luna0074, Today, 06:39 AM
|
1 response
7 views
0 likes
|
Last Post
|
||
Started by rtwave, 03-13-2025, 04:09 PM
|
3 responses
28 views
0 likes
|
Last Post
![]()
by rtwave
Today, 07:57 AM
|
Comment