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 AaronKoRn, Yesterday, 09:49 PM
        0 responses
        11 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        10 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        12 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,982 views
        3 likes
        Last Post jhudas88  
        Started by rbeckmann05, Yesterday, 06:48 PM
        0 responses
        10 views
        0 likes
        Last Post rbeckmann05  
        Working...
        X