Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Seeing Manually created objects in script object ToList
Collapse
X
-
Hello kenz987, thanks for your post.
In the past, I made a script that detects horizontal lines on the chart. This demonstrates how to read all horizontal lines on the chart:
https://ninjatraderecosystem.com/use...izontal-lines/
See the OnRender method for the draw object detection.
Kind regards,
-ChrisL
-
Hello, thanks for your reply.
We do have the RemoveDrawObject method but it will only work for NinjaScript drawn objects, manually drawn objects can not be removed through a script.
https://ninjatrader.com/support/help...drawobject.htm
Kind regrards,
-ChrisL
Comment
-
One more note: It would really help us struggling to find help and save you guys lots of time helping guys like me that know something should be there but is not, if you would just stop hiding things from the Editor . . . like for the HorizontalLine ,StartAnchor , , , and IsLocked !!
Comment
-
Hello, thanks for your reply.
The ChartObjects array will hold user drawn and manually drawn items:
https://ninjatrader.com/support/help...artobjects.htm
Intellisense in the editor will show all the properties of the assembly you are working with as well.
Kind regards.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 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
545 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