Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8-Beta10 Draw.VerticalLine script stopped working with Beta-10

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

    NT8-Beta10 Draw.VerticalLine script stopped working with Beta-10

    Hello,

    I uploaded a small indicator that draws a vertical line at 12:00 am for each day on a chart.

    I also uploaded a screen capture of a 15 min YM ##-## chart with the indicator loaded. The screen capture also lists all Draw Objects of the chart.

    You can see the indicator draw objects are there. Object DOW182 is a vertical line at 03/20/2016 12:00:00 am.

    Looking at the chart at the red arrow, the vertical line is not drawing on the chart.

    This behavior was NOT happening with NT8-Beta9. It started happening with Beta10.

    Can you please run the indicator on your side to recreate this problem.

    Thank you
    Attached Files

    #2
    Hello Lucius,

    Thanks for your post.

    I believe I am seeing the same thing. When I create a new chart and apply the indicator, no lines are drawn at all and there are no error messages in the log tab of the control center (meaning no run time errors reported). However if on that chart I change to a different instrument the lines are drawn. If I return to the original instrument the lines appear.

    Can you confirm this also Lucius?
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello Paul,

      I just tried the same test as you and I am see that as well.

      1. I loaded the indicator onto a 15 min YM ##-##, and got no lines.
      2. I then toggled the instrument selection drop down to select NQ ##-## and the lines appeared.
      3. I then toggled the instrument selection drop down to select back to YM ##-## and now the lines appear on YM ##-##.

      I also tried another test that may shed some light onto the problem in Beta-10....

      I copied the NT strategy SampleMACrossOver and created MySampleMACrossOv and then added "AddChartIndicator(AuDrawDOW(5));" to event OnStateChanged.

      I compiled and ran MySampleMACrossOv using DebugMode, Strategy Analyzer and Visual Studio to trace the "Object reference not set to an instance of an object" error I received on the NT log.

      Visual Studio traced the error to NT "@Lines.cs" module with an unhandled NullReferenceException.

      I`ve uploaded a screen capture of the Visual Studio trace and NT Log in "DrawVertLine NullRefException Capture.zip".

      I also uploaded an NT export of strategy MySampleMACrossOv used in the test in "DrawVertLineProblem.zip".

      Can you please confirm the behavior on you side. This looks like a bug.

      Thank you
      Attached Files
      Last edited by Lucius; 03-22-2016, 01:54 PM.

      Comment


        #4
        Hi Lucius,

        Thanks for your reply.

        We are investigating and I will update when I have further information.

        Thank-you.
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Hi Paul,

          Any news on this issue ?

          Thank you.

          Comment


            #6
            Hi Lucius,

            Thanks for your question.

            We've confirmed this is a bug and have assigned it a tracking number of NT8-9581. It is currently being worked on. When it is fixed it will likely be in the next release of NinjaTrader8. You will be able to use the tracking number against the release notes to see that it is fixed/completed.

            Thank-you for reporting this.
            Paul H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by bmartz, Today, 09:30 AM
            2 responses
            12 views
            0 likes
            Last Post bltdavid  
            Started by f.saeidi, Today, 11:02 AM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by geotrades1, Today, 10:02 AM
            4 responses
            12 views
            0 likes
            Last Post geotrades1  
            Started by rajendrasubedi2023, Today, 09:50 AM
            3 responses
            16 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by lorem, Today, 09:18 AM
            2 responses
            11 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X