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 gravdigaz6, Today, 11:40 PM
          0 responses
          6 views
          0 likes
          Last Post gravdigaz6  
          Started by MarianApalaghiei, Today, 10:49 PM
          3 responses
          10 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by XXtrader, Today, 11:30 PM
          0 responses
          4 views
          0 likes
          Last Post XXtrader  
          Started by love2code2trade, Yesterday, 01:45 PM
          4 responses
          28 views
          0 likes
          Last Post love2code2trade  
          Started by funk10101, Today, 09:43 PM
          0 responses
          9 views
          0 likes
          Last Post funk10101  
          Working...
          X