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 DJ888, Today, 10:57 PM
          0 responses
          1 view
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by MacDad, 02-25-2024, 11:48 PM
          7 responses
          158 views
          0 likes
          Last Post loganjarosz123  
          Started by Belfortbucks, Today, 09:29 PM
          0 responses
          7 views
          0 likes
          Last Post Belfortbucks  
          Started by zstheorist, Today, 07:52 PM
          0 responses
          7 views
          0 likes
          Last Post zstheorist  
          Started by pmachiraju, 11-01-2023, 04:46 AM
          8 responses
          151 views
          0 likes
          Last Post rehmans
          by rehmans
           
          Working...
          X