Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled exception

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

    Unhandled exception

    OK, I haven't updated to V2 yet and was running an ES chart, 4 Range with Tick Replay enabled and connected to data. In addition to one of my indicators which uses Tick Replay, I added two moving average indicators, and EMA and SMA. Both were mods of the stock indicators for a client. I sent the work to the client, used the remove option in the editor to remove both indicators and then refreshed the chart to remove them there. One indicator was removed but the chart threw an error (Unhandled exception: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: Index) and the remaining MA remained. I refreshed again with the same results. I added a stock EMA and the indicator vanished with no error. I don't know if this is associated with Tick Replay or not.
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    #2
    Hello eDanny,

    Thank you for your post.

    You would want to manually remove the indicators from the chart before reloading the NinjaScript or historical data.

    Comment


      #3
      I know that is the normal way but have been always able to refresh a chart when the indicator has been removed from the indicators folder (if manually with a follow up recompile) and have the indicator(s) remove themselves. Why shouldn't this work now?
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        Hello eDanny,

        Thank you for your response.

        This worked in a prior version of NinjaTrader 8 or are you referring to NinjaTrader 7 where this did in fact work?

        Comment


          #5
          I haven't been doing it with NT8 until today but it has worked with NT7.
          eDanny
          NinjaTrader Ecosystem Vendor - Integrity Traders

          Comment


            #6
            Hello eDanny,

            Thank you for the additional information.

            I will report this to development.

            Comment


              #7
              NT8 crashed today while loading CL in a multi timeframe chart, large minute charts, tick replay unchecked. It loaded with CL, I changed to another instrument, fine, went back to CL and it crashed.

              I got the same error as eDanny in the log.
              Attached Files

              Comment


                #8
                Originally posted by imalil View Post
                NT8 crashed today while loading CL in a multi timeframe chart, large minute charts, tick replay unchecked. It loaded with CL, I changed to another instrument, fine, went back to CL and it crashed.

                I got the same error as eDanny in the log.
                Hello imalil,

                Please send us your log and trace files by going to Help > Email Support. Please list 'ATTN: Patrick H - 1615979' in the subject line and reference this thread in the body of the email.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Tim-c, Today, 03:54 AM
                0 responses
                3 views
                0 likes
                Last Post Tim-c
                by Tim-c
                 
                Started by FrancisMorro, Today, 03:24 AM
                0 responses
                2 views
                0 likes
                Last Post FrancisMorro  
                Started by Segwin, 05-07-2018, 02:15 PM
                10 responses
                1,771 views
                0 likes
                Last Post Leafcutter  
                Started by Rapine Heihei, 04-23-2024, 07:51 PM
                2 responses
                31 views
                0 likes
                Last Post Max238
                by Max238
                 
                Started by Shansen, 08-30-2019, 10:18 PM
                24 responses
                945 views
                0 likes
                Last Post spwizard  
                Working...
                X