Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8b9 Draw.Line with negative index (to the future)

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

    NT8b9 Draw.Line with negative index (to the future)

    In NT7 you could draw a short line with following set up:
    startBarsAgo: 0
    endBarsAgo: -1
    This would draw a line from current bar and end where next bar will happen.

    Tried the same with NT8 but it doesn't understand the negative index for endBarsAgo, and it simply doesn't draw anything. Can this be added in the default drawing tools?

    #2
    Hello gregid,

    Thanks for your post.

    In release 8.0.0.9 the negative index/time will default to the current bar.

    We are currently reviewing this (previously reported) and have assigned it to NT8-9537.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      endBarsAgo <0 and barsAgo > ChartBars.Count-1 would be very helpful... would provide a easier means for extending lines without depending on the RenderTarget approach.

      An alternative might be to provide a Draw.Line method which accepts startX and endX x-axis co-ordinate value or a pixel offset for x-axis.

      Comment


        #4
        Hello CriticalTrader,

        Thanks for your post.

        I will add your suggestion to be able to use coordinates in the draw methods.


        To update gregid, it looks like NT8-9537 will be implemented in the next release (11).
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by futtrader, Today, 01:16 PM
        0 responses
        2 views
        0 likes
        Last Post futtrader  
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,789 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        838 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,294 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        13 views
        0 likes
        Last Post Touch-Ups  
        Working...
        X