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 nandhumca, Yesterday, 03:41 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by The_Sec, Yesterday, 03:37 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by vecnopus, Today, 06:15 AM
        0 responses
        1 view
        0 likes
        Last Post vecnopus  
        Started by Aviram Y, Today, 05:29 AM
        0 responses
        5 views
        0 likes
        Last Post Aviram Y  
        Started by quantismo, 04-17-2024, 05:13 PM
        3 responses
        27 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X