• 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, 05:44 PM.

    Comment


      #3
      Got it. Thank you.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by mbell.irves, Today, 12:36 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by blar58, Today, 07:02 AM
      0 responses
      11 views
      0 likes
      Last Post blar58
      by blar58
       
      Started by dadarara, Today, 06:53 AM
      0 responses
      3 views
      0 likes
      Last Post dadarara  
      Started by CoffeeOutlaw, Yesterday, 05:59 PM
      4 responses
      29 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by TrendFollowingCapital, Today, 06:27 AM
      0 responses
      13 views
      0 likes
      Last Post TrendFollowingCapital  
      Working...
      X