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

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 Shansen, 08-30-2019, 10:18 PM
        24 responses
        938 views
        0 likes
        Last Post spwizard  
        Started by Max238, Today, 01:28 AM
        0 responses
        3 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by rocketman7, Today, 01:00 AM
        0 responses
        2 views
        0 likes
        Last Post rocketman7  
        Started by wzgy0920, 04-20-2024, 06:09 PM
        2 responses
        27 views
        0 likes
        Last Post wzgy0920  
        Started by wzgy0920, 02-22-2024, 01:11 AM
        5 responses
        32 views
        0 likes
        Last Post wzgy0920  
        Working...
        X