Can't replicate the error after I closed the chart - it screamed about DisplayInDataBox set from the wrong state- but I don't recall making any changes in this regard.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Exception - couldn't remove offending indicator
Collapse
X
-
Exception - couldn't remove offending indicator
After an unhandled exception - I couldn't remove offending indicator from the chart as I kept getting notified about the exception:
Can't replicate the error after I closed the chart - it screamed about DisplayInDataBox set from the wrong state- but I don't recall making any changes in this regard.Last edited by gregid; 05-09-2015, 04:05 PM.Tags: None
-
OK, the obstructing exception pop up occured again - these are the steps:
1. Create custom indicator (eg. copy of SMA)
2. Add newly created indicator to the chart
3. Remove(Delete) new indicator in the NinjaScript editor
4. Click on Indicators Button on the chart to remove the deleted indicator
Even though I had different exception this time ("object reference not set....") the behaviour is still the same - I can't open Indicators list to remove the offending indicator.
I suppose the first time it occured I simply made changes to the indicator while it was on the chart and after compilation the error occured (from log: Object of type 'System.Double' cannot be converted to type 'System.Int32').
As a side note - I was able to remove the indicator directly from the chart (right click on SMA line -> remove)Last edited by gregid; 05-11-2015, 11:09 AM.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
673 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
379 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
111 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
578 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
582 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment