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

    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

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        110 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        59 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        37 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        41 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        78 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X