Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Allowing a user to remove an indicator drawn object, whilst leaving indicator present

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

    Allowing a user to remove an indicator drawn object, whilst leaving indicator present

    Hello,

    I have some lines drawn by indicator. I have set draw.locked to false. This allows the user to move them. But, I also want to allow the user to delete them. This seems to want to remove the indicator. I do not want this. I cannot see a draw property to set to allow this. Is it possible? Thanks.

    #2
    Thank you.

    Comment


      #3
      Originally posted by pjsmith View Post
      I have some lines drawn by indicator. I have set draw.locked to false. This allows the user to move them. But, I also want to allow the user to delete them. This seems to want to remove the indicator. I do not want this. I cannot see a draw property to set to allow this. Is it possible? Thanks.
      Add this to State = State.Default in OnStateChange:

      Code:
       AllowRemovalOfDrawObjects = true;





      -=Edge=-
      NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

      Comment


        #4
        Originally posted by -=Edge=- View Post

        Add this to State = State.Default in OnStateChange:

        Code:
         AllowRemovalOfDrawObjects = true;
        https://ninjatrader.com/support/help...rawobjects.htm



        What!? Where did that come from? I guarantee features don't go through that fast

        @Edge, you are the man! Thank you.

        Comment


          #5
          Originally posted by pjsmith View Post

          What!? Where did that come from? I guarantee features don't go through that fast

          @Edge, you are the man!Youjizz Pornhub Tubegalore Thank you.

          I have some lines drawn by indicator. I have set draw.locked to false. This allows the user to move them. But, I also want to allow the user to delete them. This seems to want to remove the indicator. I do not want this. I cannot see a draw property to set to allow this. Is it possible? Thanks.
          Last edited by mopakarim; 06-19-2019, 01:20 PM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          563 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          329 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
          547 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          547 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X