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.

    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).

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        670 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X