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 CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        32 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        184 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        342 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        264 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X