Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 plots different from NT6.5 !!! Problem Here!!!

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

    NT7 plots different from NT6.5 !!! Problem Here!!!

    NT,

    Below is a simple code that plots volume bars.


    if (netVol < 0) DeltaDown.Set(netVol);

    else

    DeltaUp.Set(netVol);


    In version 6.5,

    With the code " if (netVol < 0) "

    Only DeltaUp or DeltaDown is displayed.


    In version 7.0,

    NT disregards the code " if (netVol < 0) " When it displays plot values.

    And both DeltaUp or DeltaDown are displayed continuously.

    Most of the time one or the other plots zero and the other the correct value.

    Intermittently, I get two separate non zero values of netVol displaying at the same time.

    Ex DeltaUp netVol = 127 at the same time DeltaDown netVol = -7 .


    The problem is easily identifiable by observing the numeric position tags on the right side of the indicator panel.

    Both tags are displayed continuously even though only one is being called at a time by the program.

    RJay
    RJay
    NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

    #2
    RJay,

    I believe the issue you are running into is that if no value is set (NT7 new behaviour) for a DataSeries, some dummy value is used...Going from memory here. Try something like:

    if (netVol < 0)

    DeltaDown.Set(netVol);
    DeltaUp.Set(0);

    else

    DeltaDown.Set(0);
    DeltaUp.Set(netVol);
    RayNinjaTrader Customer Service

    Comment


      #3
      OK, If I'm understanding this correctly,

      Each programmer is responsible for forcing unused plotting DataSeries to a specific value, in this case zero???

      RJay



      Originally posted by NinjaTrader_Ray View Post
      RJay,

      I believe the issue you are running into is that if no value is set (NT7 new behaviour) for a DataSeries, some dummy value is used...Going from memory here. Try something like:

      if (netVol < 0)

      DeltaDown.Set(netVol);
      DeltaUp.Set(0);

      else

      DeltaDown.Set(0);
      DeltaUp.Set(netVol);
      RJay
      NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

      Comment


        #4
        Originally posted by rt6176 View Post
        OK, If I'm understanding this correctly,

        Each programmer is responsible for forcing unused plotting DataSeries to a specific value, in this case zero???

        RJay
        I believe so but will double check and get back to you. I was assuming that you are plotting a histogram thus, setting a value to zero might give you the effect you desire.
        RayNinjaTrader Customer Service

        Comment


          #5
          Actually, if you don't stuff in a value, we do set a dummy value to the Close however, this does not come through on the plots. If you don't set a value, the plot is ommited just like NT6.5.

          I suspect I likely am not following your issue about a "continuous plot" so an image example could help clarify it.
          RayNinjaTrader Customer Service

          Comment


            #6
            V7 displays 2 values for one variable.
            Attached Files
            RJay
            NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

            Comment


              #7
              Will have someone look into this based on the code you provided in post #1.
              RayNinjaTrader Customer Service

              Comment


                #8
                Will attempt to reproduce here, are you sure this on the latest NT 7 beta 6 (7.0.0.6)?

                I believe we had an issue with similar appearance in a earlier one thus checking off this first, thanks.

                Comment


                  #9
                  Originally posted by NinjaTrader_Bertrand View Post
                  Will attempt to reproduce here, are you sure this on the latest NT 7 beta 6 (7.0.0.6)?

                  I believe we had an issue with similar appearance in a earlier one thus checking off this first, thanks.
                  Yes, I am using 7.0.0.6
                  RJay
                  NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  597 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  343 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  103 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  556 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  555 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X