Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can not project Line or VerticalLine into future beyond current bar

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

    Can not project Line or VerticalLine into future beyond current bar

    In a Strategy it ends the Line at the current bar, however I have done this in an Indicator and it worked just fine. Is this a built in restriction? Thanks.

    #2
    Hi Kenz. Thanks for posting. The most simple way to do this is to use a Ray drawing tool to draw the line into the future timestamps, otherwise, you will need to use OnRender and draw the graphics using SharpDX:



    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      This works in Indicators, Not in Strategies. Why do you make everything so hard?
      Draw.Line ,,, Back-Date, .. Future-Date
      And a Ray goes on forever, I want it to stop after a certain number of bars.
      I consider this a bug.

      Comment


        #4
        Hi, thanks for the follow up. Please post your test script that reproduces and I will have a look at it on my end.

        Kind regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,404 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by Shai Samuel, 07-02-2022, 02:46 PM
        4 responses
        95 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        8 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        159 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        8 views
        0 likes
        Last Post Belfortbucks  
        Working...
        X