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 Waxavi, Today, 02:10 AM
        0 responses
        1 view
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        2 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        4 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by gentlebenthebear, Today, 01:30 AM
        0 responses
        4 views
        0 likes
        Last Post gentlebenthebear  
        Working...
        X