• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

UpdateDrawObject

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

    UpdateDrawObject

    I see there is a RemoveDrawObject function. Is there a way to update an existing DrawObject?

    For example I would like to change the start point or end point of a line that has already been drawn. Do I have to remove the line and draw it again or is there a way to update the existing line?

    #2
    Originally posted by dbtrader View Post
    I see there is a RemoveDrawObject function. Is there a way to update an existing DrawObject?

    For example I would like to change the start point or end point of a line that has already been drawn. Do I have to remove the line and draw it again or is there a way to update the existing line?
    Reuse its tag, or use an IDrawObject, and simply redraw it with the new parameters.

    ref: http://www.ninjatrader.com/support/h...l?drawline.htm

    Look at the description of the tag parameter.
    Last edited by koganam; 10-15-2012, 04:44 PM.

    Comment


      #3
      Got it. Thank you.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by MARTIN MARTIN, Today, 01:01 PM
      0 responses
      6 views
      0 likes
      Last Post MARTIN MARTIN  
      Started by bouncetherubble, Today, 10:21 AM
      2 responses
      12 views
      1 like
      Last Post bouncetherubble  
      Started by tcbarrow, Today, 10:53 AM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by dmking, Today, 11:31 AM
      2 responses
      17 views
      0 likes
      Last Post dmking
      by dmking
       
      Started by TazoTodua, Yesterday, 03:01 PM
      4 responses
      27 views
      0 likes
      Last Post koganam
      by koganam
       
      Working...
      X