Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Will NT7 allow for "future" bars plotting?

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

    #31
    Hello,

    I will have someone reply to you on Monday. Thank you for your patience.
    DenNinjaTrader Customer Service

    Comment


      #32
      Wessel,

      Consider you are using a tick chart. Tick bars close at uneven intervals. One bar may close 1min after the previous bar and another may close 5mins after the previous. Because of this behavior there is no way we can just say draw a dot on the future bar because we have no idea where the future bar is going to be. Since we do not know where the future bar is going to be the only way to draw into the future is to draw on an exact time and this is what is available in NT7.
      Josh P.NinjaTrader Customer Service

      Comment


        #33
        Thanks Josh
        Ok I get that now,

        Any simple example how to do that? I am stucked with the plot array that has the last bar on [0] and since it is not possible to do a [-1] I am kinda clueless how to proceed from here.

        Some back ground, I am plotting on my chart a dot on the point where the MACD Histogram is reversing direction based on the close of the previous bar.
        That will give me an the last bar the price for tomorrow at which the MACD will change direction. I want to have this dot plotted on the spot of the next future bar.
        I shifted the plot, but that erases the value of the last dot that is shifted into the future ( see other post about this ).
        I attached a picture for an example what I am trying to archive
        Click image for larger version

Name:	Wessel.png
Views:	1
Size:	38.7 KB
ID:	855991
        It's done in trade station. Clicking on the dot will give the actual value of this future dot.
        Doing in Ninja trader a shift of the chart will not allow you to click on the future dot and read the correct value of this dot. It reports the value of the previous dot. I asked if this is a bug but this was by design ( see other post )
        So :-) Still trying to get a dot plotted in the future that has it's own value if I move my mouse over it.


        Many thanks for your help

        Wessel
        Last edited by Wessel; 03-15-2010, 10:33 AM. Reason: Additional info

        Comment


          #34
          Wessel,

          All of the draw objects now have DateTime signatures you can use instead of bar indexes.

          For example, DrawDot().

          DrawDot(string tag, bool autoScale, int barsAgo, double y, Color color)
          DrawDot(string tag, bool autoScale, DateTime time, double y, Color color)


          DrawDot("someTag", true, new DateTime(2010, 3, 15, 12, 30, 0), Close[0], Color.Blue);
          Josh P.NinjaTrader Customer Service

          Comment


            #35
            Ok,

            Thanks Josh, you where just to quick i just compiled a message with an example ( see quote below or the message before your reply ) . From what I see your example might solve it.

            Wessel

            Originally posted by Wessel View Post
            Thanks Josh
            Ok I get that now,

            Any simple example how to do that? I am stucked with the plot array that has the last bar on [0] and since it is not possible to do a [-1] I am kinda clueless how to proceed from here.

            Some back ground, I am plotting on my chart a dot on the point where the MACD Histogram is reversing direction based on the close of the previous bar.
            That will give me an the last bar the price for tomorrow at which the MACD will change direction. I want to have this dot plotted on the spot of the next future bar.
            I shifted the plot, but that erases the value of the last dot that is shifted into the future ( see other post about this ).
            I attached a picture for an example what I am trying to archive
            [ATTACH]10110[/ATTACH]
            It's done in trade station. Clicking on the dot will give the actual value of this future dot.
            Doing in Ninja trader a shift of the chart will not allow you to click on the future dot and read the correct value of this dot. It reports the value of the previous dot. I asked if this is a bug but this was by design ( see other post )
            So :-) Still trying to get a dot plotted in the future that has it's own value if I move my mouse over it.


            Many thanks for your help

            Wessel
            Last edited by Wessel; 03-15-2010, 10:38 AM.

            Comment


              #36
              Wessel,

              Dots drawn in the future should be movable once you switch the Locked property of it to false.
              Josh P.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              606 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              353 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              105 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              560 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              561 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X