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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      173 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      90 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      129 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      208 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      186 views
      0 likes
      Last Post CarlTrading  
      Working...
      X