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,
-ChrisLChris L.NinjaTrader Customer Service
-
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,
-ChrisLChris L.NinjaTrader Customer Service
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.Chris L.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by elliot5, Today, 03:37 AM
|
0 responses
2 views
0 likes
|
Last Post
![]()
by elliot5
Today, 03:37 AM
|
||
Started by Papercut110, Today, 03:17 AM
|
0 responses
3 views
0 likes
|
Last Post
![]()
by Papercut110
Today, 03:17 AM
|
||
Started by max333, Today, 02:22 AM
|
2 responses
8 views
0 likes
|
Last Post
|
||
Started by cincai, Today, 12:55 AM
|
3 responses
12 views
0 likes
|
Last Post
![]()
by cincai
Today, 02:10 AM
|
||
Started by cincai, Today, 12:51 AM
|
1 response
11 views
0 likes
|
Last Post
![]()
by s.kinra
Today, 01:20 AM
|
Comment