Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exception - couldn't remove offending indicator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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:
    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


    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.

    #2
    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.

    Comment


      #3
      One more observation:
      DisplayInDataBox unhandled exception occurs many times where an exception occurs - this looks like some hardcoded exception that is used in more generic situations - not related to DisplayInDataBox.

      Comment


        #4
        Thanks for your report, we are looking into - NTEIGHT-8203
        MatthewNinjaTrader Product Management

        Comment


          #5
          gregid,

          the bug you reported is fixed and the fix will be available with the next update of NinjaTrader 8.

          Thanks for reporting!
          Christian
          ChristianSenior Software Developer

          Comment

          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 Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          379 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          111 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          578 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          582 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X