• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    Patrick H.NinjaTrader Customer Service

    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?
        Patrick H.NinjaTrader Customer Service

        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.
            Patrick H.NinjaTrader Customer Service

            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.
                Patrick H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by GMiller64, Today, 05:56 PM
                0 responses
                1 view
                0 likes
                Last Post GMiller64  
                Started by rickyblah12, Today, 05:01 PM
                1 response
                3 views
                0 likes
                Last Post NinjaTrader_ShawnB  
                Started by jtrading82, 10-11-2019, 05:07 PM
                8 responses
                80 views
                1 like
                Last Post sledge
                by sledge
                 
                Started by MARTIN MARTIN, Yesterday, 01:01 PM
                3 responses
                41 views
                0 likes
                Last Post MARTIN MARTIN  
                Started by NickyD, Today, 11:42 AM
                1 response
                10 views
                0 likes
                Last Post NinjaTrader_Jim  
                Working...
                X