I have some lines drawn by indicator. I have set draw.locked to false. This allows the user to move them. But, I also want to allow the user to delete them. This seems to want to remove the indicator. I do not want this. I cannot see a draw property to set to allow this. Is it possible? Thanks.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Allowing a user to remove an indicator drawn object, whilst leaving indicator present
Collapse
X
-
Allowing a user to remove an indicator drawn object, whilst leaving indicator present
Hello,
I have some lines drawn by indicator. I have set draw.locked to false. This allows the user to move them. But, I also want to allow the user to delete them. This seems to want to remove the indicator. I do not want this. I cannot see a draw property to set to allow this. Is it possible? Thanks.Tags: None
-
Add this to State = State.Default in OnStateChange:Originally posted by pjsmith View PostI have some lines drawn by indicator. I have set draw.locked to false. This allows the user to move them. But, I also want to allow the user to delete them. This seems to want to remove the indicator. I do not want this. I cannot see a draw property to set to allow this. Is it possible? Thanks.
Code:AllowRemovalOfDrawObjects = true;

Comment
-
What!?Originally posted by -=Edge=- View Post
Add this to State = State.Default in OnStateChange:
https://ninjatrader.com/support/help...rawobjects.htmCode:AllowRemovalOfDrawObjects = true;

Where did that come from? I guarantee features don't go through that fast 
@Edge, you are the man! Thank you.
Comment
-
Originally posted by pjsmith View Post
What!?
Where did that come from? I guarantee features don't go through that fast 
@Edge, you are the man!Youjizz Pornhub Tubegalore Thank you.
I have some lines drawn by indicator. I have set draw.locked to false. This allows the user to move them. But, I also want to allow the user to delete them. This seems to want to remove the indicator. I do not want this. I cannot see a draw property to set to allow this. Is it possible? Thanks.Last edited by mopakarim; 06-19-2019, 01:20 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
176 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
331 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
254 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
356 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
184 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment