Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawLine into the future?

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

    DrawLine into the future?

    I've been trying to draw a line into the future using DrawLine. I want it to stop a specified number of bars into the future and not continue indefinitely as in the case of a ray or extended line. I've tried passing negative integers into DrawLine for the future ending point but to no avail. Is it possible to exend DrawLine (or any type of line or drawing object) into the future with a specified ending point? Thanks.

    #2
    Its is not possible to draw a line into the future use future bars as an index value.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks. I finally thought not. I'll just use an extended line or ray and keep track of when I cross it.

      Comment


        #4
        I was wondering if this issue has since been resolved or a workaround developed? At session open, I'd like to draw lines on the chart from there to session end.

        Comment


          #5
          You can only draw lines in places where there are bars associated with it. You can try using DrawHorizontalLine. I think it will extend out indefinitely.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by vantojo, Today, 09:32 AM
          0 responses
          2 views
          0 likes
          Last Post vantojo
          by vantojo
           
          Started by FelipeRXP, Today, 08:40 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by petedian, Today, 08:44 AM
          0 responses
          12 views
          0 likes
          Last Post petedian  
          Started by J0shTrader, Yesterday, 12:29 PM
          1 response
          2 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by bc24fl, Today, 08:07 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Working...
          X