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 xiinteractive, 04-09-2024, 08:08 AM
            5 responses
            13 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by swestendorf, Today, 11:14 AM
            2 responses
            5 views
            0 likes
            Last Post NinjaTrader_Kimberly  
            Started by Mupulen, Today, 11:26 AM
            0 responses
            2 views
            0 likes
            Last Post Mupulen
            by Mupulen
             
            Started by Sparkyboy, Today, 10:57 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by TheMarlin801, 10-13-2020, 01:40 AM
            21 responses
            3,918 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Working...
            X