• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hiding Indicators

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

    Hiding Indicators

    I have an indicator that I want to be hidden. I use this indicator to be called within another indicator is there a way to lock or hide the indicator?

    #2
    Hello ballboy11,
    Thanks for your post.

    You could just set the indicators plot brush to transparent which would remove anything visible from the UI.

    What specifically do you mean by "locked"?


    JoshNinjaTrader Customer Service

    Comment


      #3
      I don't want the indicator to be displayed when one clicks on the add indicator button.

      Comment


        #4
        I need the indicator to be used for my other indicators.

        Comment


          #5
          There is not a way to do that. If you really wanted it hidden you could mess around with partial classes and just have it inside the primary indicator.

          Code:
          namespace NinjaTrader.NinjaScript.Indicators
          {
              public partial class Indicator
              {
                  public int SomeValue { get; set; }
          
                  public void SomeMethod()
                  {
          
                  }
              }
          }
          JoshNinjaTrader Customer Service

          Comment


            #6
            So instead of an indicator can one build a class for NT indicators to use. I have an algorithm that I use for my indicators but I dont need it public. I need to reference it in order to do the math. Example an ema , swing, bolliinger indicators can be called within an indicator. I have my own algorithm that I use many times that doesn;t need graphical or plotting references.

            Comment


              #7
              I just realized you are asking in regards to NT7. Sorry about any frustration if this was not working for you.

              This would have been done with a "User Defined Method" in NT7. Have you explored this as an option?
              https://ninjatrader.com/support/help...ed_methods.htm
              JoshNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by woodyfox, Yesterday, 08:33 PM
              0 responses
              2 views
              0 likes
              Last Post woodyfox  
              Started by rblunsom, Yesterday, 11:19 AM
              2 responses
              26 views
              0 likes
              Last Post guidoisot  
              Started by drewski1980, Yesterday, 02:38 PM
              1 response
              16 views
              0 likes
              Last Post NinjaTrader_ChrisL  
              Started by jfep1977, Yesterday, 02:31 PM
              2 responses
              13 views
              0 likes
              Last Post jfep1977  
              Started by dmking, Yesterday, 12:39 PM
              6 responses
              24 views
              0 likes
              Last Post dmking
              by dmking
               
              Working...
              X