Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Delete line

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

    Delete line

    Hi,
    i would like to ask if is there any function which can delete line.
    For example:
    I used DrawLine("id1",...); and after two bars i would like to delete the specific line with the tag "id1".

    Thank you.

    #2
    Originally posted by zooinek View Post
    Hi,
    i would like to ask if is there any function which can delete line.
    For example:
    I used DrawLine("id1",...); and after two bars i would like to delete the specific line with the tag "id1".

    Thank you.
    This what you are lookng for?

    // Removes a draw object with the tag "tag1"
    RemoveDrawObject("tag1");

    Regards,
    Guy
    TraderGuy
    NinjaTrader Ecosystem Vendor - EMS

    Comment


      #3
      Yes, thats exactly what i was looking for..
      thank you

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      36 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      14 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      19 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      22 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X