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 Mizzouman1, Today, 07:35 AM
                0 responses
                0 views
                0 likes
                Last Post Mizzouman1  
                Started by i019945nj, 12-14-2023, 06:41 AM
                6 responses
                65 views
                0 likes
                Last Post i019945nj  
                Started by aa731, Today, 02:54 AM
                1 response
                8 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by BarzTrading, Today, 07:25 AM
                0 responses
                3 views
                0 likes
                Last Post BarzTrading  
                Started by ruudawakening, Today, 12:58 AM
                1 response
                8 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Working...
                X