Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Lines drawn from an indicator vanish

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

    Lines drawn from an indicator vanish

    When I draw a line from an indicator, the line does not always appear, depending on the size of the window or the time of the bar at the left border or the scaling of the chart. When I change the horizontal scale using ctrl-left arrow or ctrl-right arrow the line can disappear and reappear on the next zoom step.

    The blue line in the attached images has been drawn manually, it does not show that behavior.

    What are the correct parameters for the DrawLine function?


    The attached indicator has been simplified to just show the problem.

    Version 7.0.1000.25
    Attached Files

    #2
    mithnadril, there are known limitations in the rendering engine for objects with 2 or more anchor points, which would include the line. Are you sure you using the exact same anchors for your comparison testing?

    Enhancements in this area are planned for our next major platform update.

    Comment


      #3
      Thank you for the quick response.

      The anchor points were not the same, I just wanted to try if this is correlated with the visibility of the anchor points.

      So I will modify the code to use a custom plot function.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      608 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      355 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X