Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Any way to hide indicator programatically in NT7?

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

    Any way to hide indicator programatically in NT7?

    I asked and this was not available in NT8.
    I ask you to disclose the internal platform logic, by which Indicator/Strategy is being shown up in the list:

    I ask this because, I have my custom class of indicator, which is only called programatically, and want to be hidden in list.




    I tried all things, like:
    Code:
    Name="";
    ...
    however, still listed in list.
    Please, tell us how we can unlist it?

    setting `this =null` in Initialize is not possible. I AM SURE that is a property or something, according to that NT lists indi into the all indis list.

    #2
    Hello TazoTodua,

    Thank you for your note.

    This would not be supported in NinjaTrader 7 and it looks like a feature request was already submitted on your behalf for NT8.



    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by TazoTodua View Post
      Please, tell us how we can unlist it?
      This works for me in NT7,

      Code:
      public override string ToString()
      {
          return string.Empty;
      }
      
      protected override void Initialize()
      {
          Name = string.Empty;
      }

      Comment


        #4
        thanks for response. I've used like that, but doesnt that only makes the name empty (but still listed in list)?


        will similar like this work for NT 8 too? I'll test it (but remember did it and couldnt make it).
        Last edited by ttodua; 05-03-2018, 05:09 AM.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        581 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        337 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X