Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Clear All Lines on Chart

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

    Clear All Lines on Chart

    Hi,

    Is there a way to remove all the lines painted on an chart? I know it can be done with enumeration as well as with reflection but I was wondering whether there is a built-in way such as DeleteAllLines() to do this in NT. Thank you.

    #2
    Hello Zeos6,

    Thanks for your post.

    The only supported methods are RemoveDrawObject() for individual removal or RemoveDrawObjects() which will remove everything drawn by the indicator or strategy.





    Please let me know if I can be of further assistance.

    Comment


      #3
      Hi Paul,

      Thank you. The RemoveDrawObjects() did the trick.

      As an aside, it would be nice if NT had a native way to remove all lines/objects, including manually drawn lines/objects, without having to resort to Reflection.

      Comment


        #4
        Hello Zeos6

        Thanks for your reply and suggestion.

        I will submit a feature request.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        153 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        306 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        244 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        345 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        176 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X