Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

using wildcards when using RemoveObjects

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

    using wildcards when using RemoveObjects

    Hi,

    Can I use wildcards to remove drawn objects from a Strategy?
    I want to remove objects that have the tag "temp" in it, so all the other objects stay in the chart.

    Tia.

    Anne

    #2
    Hi Anne,

    Thank you for posting.

    You will need to reference the whole Tag name for the draw object in order to remove it. You will not be able to reference a portion of the Tag name.
    http://www.ninjatrader.com/support/h...drawobject.htm

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by trail View Post
      Hi,

      Can I use wildcards to remove drawn objects from a Strategy?
      I want to remove objects that have the tag "temp" in it, so all the other objects stay in the chart.

      Tia.

      Anne
      They are not called wild cards in this instance. You will have to use the substring methods to isolate the parts that you want.

      ref: http://msdn.microsoft.com/en-us/libr...vs.110%29.aspx
      Last edited by koganam; 12-12-2013, 08:40 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cre8able, Today, 09:15 PM
      1 response
      1 view
      0 likes
      Last Post bltdavid  
      Started by cummish, Today, 08:43 PM
      0 responses
      6 views
      0 likes
      Last Post cummish
      by cummish
       
      Started by Option Whisperer, Today, 07:58 PM
      4 responses
      18 views
      0 likes
      Last Post Option Whisperer  
      Started by ETFVoyageur, 05-07-2024, 07:05 PM
      13 responses
      86 views
      0 likes
      Last Post ETFVoyageur  
      Started by cupir2, Today, 07:44 PM
      0 responses
      11 views
      0 likes
      Last Post cupir2
      by cupir2
       
      Working...
      X