Thanks!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to tell whether a draw object exists?
Collapse
X
-
How to tell whether a draw object exists?
Let's say I do a DrawRay("ABC"...) on my chart so that I have a draw object created. Is it possible to query to see if that object exists on the chart? I just want a true/false property or method to tell me if it exists or not.
Thanks!Tags: None
-
Originally posted by cassb View PostLet's say I do a DrawRay("ABC"...) on my chart so that I have a draw object created. Is it possible to query to see if that object exists on the chart? I just want a true/false property or method to tell me if it exists or not.
Thanks!
I looked for that too, but I ended up creating a tag (string or numeric) that I then check the value of to see if an object currently exists.
I would really like to access a manually drawn object's properties (start/end value, bar numbers, date and time, etc) through program code - hoping that is possible in ver 7.
(edit - looks like my wish comes true in 7!)
Comment
-
If a new thread is started elsewhere, it would be nice to have a link there...Originally posted by NinjaTrader_Josh View Postcassb,
Please make a new post in the V7 section of the forums and we can help you out there. That way other people looking for it can also find the answers. Thank you.
Comment
-
Hello,
The post you revived is about 2 years old.
There is a lot more up to date information available on our forum then this thread.
Please be sure to search our forums or feel free to open a new ticket and one of our NinjaScript techs will help you find the information you need.
In your case please see the below references and let me know if any questions:
-BrettBrettNinjaTrader Product Management
Comment
-
Thank you for the response. I got here from a search only to find the user to be directed to take the thread somewhere else. Which was a frustrating dead end on this topic without a resolution.Originally posted by NinjaTrader_Brett View PostHello,
The post you revived is about 2 years old.
There is a lot more up to date information available on our forum then this thread.
The question I was looking to have answered is if there was an easy way to check if an object exists... in particular in v7. It seems that just looping through all objects is the only way.
Thanks for the links! I will check them out.
DanielLast edited by neoikon; 04-02-2012, 12:43 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
562 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
325 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
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment