Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Global crosshair doesn't work on one of my charts

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

    Global crosshair doesn't work on one of my charts

    I have three charts open (3, 6, and 15 minute).

    The visual aspect of the global crosshair will work across all three charts when working in the 3 minute chart. When the cursor is in the 6 or 15 minute chart, the crosshair disappears from the 3 minute chart, but is visible in the 6 & 15.

    Scroll to certain date/times are similar. Scrolling to a certain date and time will work across all three charts when working in the 3 minute chart. When scrolling in the 6 or 15 minute chart, the 3 minute chart does not move.

    Instrument link is on and functions properly.

    These charts were built from one original chart, if that gives any insight.

    Any ideas would be greatly appreciated.

    8.0.0.11 (Beta) 64-bit - Windows 7

    #2
    Would you download Jing and make a video to demonstrate?

    Thanks

    It can be had here:

    Screen capture and recording software for Windows and Mac. Quickly get images and videos. Start your free trial today!

    Comment


      #3
      After 2 weeks of this problem, and many reboots, a restart of the app corrected it out of the blue.

      But it was real. And I hope it does't return!

      Comment


        #4
        It has happened again.

        I now realize it appears after an error:

        Unhandled exception: Object reference not set to an instance of an object.

        This appears within 60 seconds after I apply a strategy to a 3 minute chart. After that, the 3 minute chart crosshair is no good, and the data box will not update from the affected chart.

        The 6 and 15 minute chart will continue to work properly.
        Last edited by ArmKnuckle; 07-04-2016, 01:32 AM.

        Comment


          #5
          OK - so eliminate your "Secret" code, get it down to something that will cause the problem, and post it.

          Either your code needs fixing, or there's a bug in Beta11.

          Comment


            #6
            It goes beyond my "secret" sauce.

            The same error happens when I attach the "Sample MA crossover" strategy to the 3, 6, and 15 minute charts.

            The error also occurs when I use Strategy Analyzer with the "Sample MA crossover" and bring up the notated chart once the backtest is complete.

            It is curious.
            Last edited by ArmKnuckle; 07-04-2016, 01:47 AM.

            Comment


              #7
              Hello ArmKnuckle,

              Thank you for your post and additional information.

              Can you send us over the log and trace files from your NinjaTrader 8 installation? You can do this by going to Help > Email Support. Please list 'ATTN: Patrick H - 1538651' in the subject line.

              Comment


                #8
                Originally posted by ArmKnuckle View Post
                It goes beyond my "secret" sauce.

                The same error happens when I attach the "Sample MA crossover" strategy to the 3, 6, and 15 minute charts.

                The error also occurs when I use Strategy Analyzer with the "Sample MA crossover" and bring up the notated chart once the backtest is complete.

                It is curious.
                ArmKnuckle - I got it too.

                World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


                Yikes, Jing didn't keep up to well. I was clicking in each chart with Global Cross Hairs and spinning the mouse wheel forward/backward then going to the next chart, etc.
                Everything was smooth and fast.

                Code:
                2016-07-04 12:28:11:630 (Playback Connection) Cbi.Account.AccountItemCallback: account='Playback101' accountItem=RealizedProfitLoss currency=UsDollar value=*****
                
                2016-07-04 12:28:11:636 ERROR: Chart style 'Candlestick': Error on calling 'OnRender' method: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.    at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)    at System.Collections.Generic.List`1.Enumerator.MoveNextRare()    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()    at NinjaTrader.NinjaScript.ChartStyles.ChartStyle.RenderTrades(ChartControl chartControl, ChartScale chartScale, ChartBars chartBars)    at NinjaTrader.NinjaScript.ChartStyles.ChartStyle.Render(RenderTarget pRenderTarget, ChartControl chartControl, ChartScale chartScale, ChartBars chartBars)
                
                2016-07-04 12:28:11:636 ERROR: Indicator 'SMA': Error on calling 'OnRender' method on bar 0: Object reference not set to an instance of an object.
                2016-07-04 12:28:11:638 ERROR: Indicator 'SMA': Error on calling 'OnRender' method on bar 0: Object reference not set to an instance of an object.
                2016-07-04 12:28:11:644 ERROR: Chart rendering failed. There is likely a problem with a chart object's OnRender method. D2D error = 'Object reference not set to an instance of an object.'
                2016-07-04 12:28:11:702 *************** unhandled exception trapped ***************
                2016-07-04 12:28:11:702 Object reference not set to an instance of an object.
                2016-07-04 12:28:11:704 System.NullReferenceException: Object reference not set to an instance of an object.
                   at NinjaTrader.NinjaScript.ChartStyles.CandleStyle.GetBarPaintWidth(Int32 barWidth)
                   at NinjaTrader.Gui.Chart.ChartControl.<>c.<GetBarPaintWidth>b__398_1(Double current, ChartBars bars)
                   at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func)
                   at NinjaTrader.Gui.Chart.ChartControl.GetBarPaintWidth(ChartBars chartBars)
                   at NinjaTrader.Gui.Chart.ChartControl.GetXBySlotIndex(Double slotIndex)
                   at NinjaTrader.Gui.Chart.ChartControl.GetXByBarIndex(ChartBars chartBars, Int32 barIndex)
                   at NinjaTrader.Gui.Chart.ChartControl.UpdateGlobalCrosshairNow(GlobalCrosshairChangedEventArgs e)
                   at NinjaTrader.Gui.Chart.ChartControl.OnLocalTimerTick(Object sender, EventArgs e)
                   at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
                   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
                   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
                2016-07-04 12:28:12:577 Gui.Chart.ChartPanel.OnRender: System.NullReferenceException: Object reference not set to an instance of an object.
                   at NinjaTrader.NinjaScript.ChartStyles.CandleStyle.GetBarPaintWidth(Int32 barWidth)
                   at NinjaTrader.Gui.Chart.ChartControl.<>c.<GetBarPaintWidth>b__398_1(Double current, ChartBars bars)
                   at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func)
                   at NinjaTrader.Gui.Chart.ChartControl.GetBarPaintWidth(ChartBars chartBars)
                   at NinjaTrader.Gui.Chart.ChartControl.InitSlotsPainted()
                   at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
                Last edited by sledge; 07-04-2016, 10:44 AM.

                Comment


                  #9
                  Originally posted by NinjaTrader_PatrickH View Post
                  Hello ArmKnuckle,

                  Thank you for your post and additional information.

                  Can you send us over the log and trace files from your NinjaTrader 8 installation? You can do this by going to Help > Email Support. Please list 'ATTN: Patrick H - 1538651' in the subject line.
                  I tried to send the log and trace files but the mechanism in NT 8 is giving me an error, both in e-mail and on-screen.

                  Code:
                  A message that you sent could not be delivered to one or more of its
                  recipients. This is a permanent error. The following address(es) failed:
                  
                   [email protected]
                     host mx1.emailsrvr.com [108.166.43.1]
                     SMTP error from remote mail server after RCPT TO:<[email protected]>:
                     550 5.7.1 <[email protected]>: Relay access denied.
                  Reporting-MTA: dns; host1.ninjatrader-support2.com
                  
                  Action: failed
                  Final-Recipient: rfc822;[email protected]
                  Status: 5.0.0
                  Remote-MTA: dns; mx1.emailsrvr.com
                  Diagnostic-Code: smtp; 550 5.7.1 <[email protected]>: Relay access denied.
                  Is there another way to send it?
                  Attached Files
                  Last edited by ArmKnuckle; 07-04-2016, 04:51 PM.

                  Comment


                    #10
                    Any word on an alternate way to send the log and trace files? The email support route is still failing.

                    Comment


                      #11
                      Hello ArmKnuckle,

                      Thank you for your response.

                      You can manually send the files in an email to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H - 1538651' in the subject line.
                      The files are located under Documents\NinjaTrader 8\log and trace folders.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                      0 responses
                      649 views
                      0 likes
                      Last Post Geovanny Suaza  
                      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                      0 responses
                      370 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by Mindset, 02-09-2026, 11:44 AM
                      0 responses
                      109 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                      0 responses
                      574 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by RFrosty, 01-28-2026, 06:49 PM
                      0 responses
                      576 views
                      1 like
                      Last Post RFrosty
                      by RFrosty
                       
                      Working...
                      X