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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        83 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        45 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        66 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        69 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        58 views
        0 likes
        Last Post CarlTrading  
        Working...
        X