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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        100 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        56 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        24 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        35 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        38 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X