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 Hwop38, 05-04-2026, 07:02 PM
|
0 responses
152 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
305 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
244 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
345 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
176 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment