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:
    Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.


    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 TAJTrades, Today, 09:46 AM
          0 responses
          4 views
          0 likes
          Last Post TAJTrades  
          Started by rhyminkevin, Yesterday, 04:58 PM
          5 responses
          62 views
          0 likes
          Last Post dp8282
          by dp8282
           
          Started by realblubb, Today, 09:28 AM
          0 responses
          8 views
          0 likes
          Last Post realblubb  
          Started by AaronKoRn, Yesterday, 09:49 PM
          1 response
          19 views
          0 likes
          Last Post Rikazkhan007  
          Started by ageeholdings, Today, 07:43 AM
          0 responses
          12 views
          0 likes
          Last Post ageeholdings  
          Working...
          X