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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        569 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        548 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        548 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X