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

Using 3rd party indicators in another indicator

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

    Using 3rd party indicators in another indicator

    If I want to use the data from a 3rd party indicator, which I can't see in "Tools/Edit NinjaScript/Indicator", but can access to apply to my chart, that has a name preceded by a blank space, how would I do it? A statement like this: Print( NameHere(6,12).Values[0]); returns an error "The name 'NameHere' does not exist in the current context" when I try to compile. How do I insert the space character?
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    #2
    eDanny,

    You will need to ask the author who created that indicator. We would not know how the author has named his indicator.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      So you are saying this:

      public class NameHere : Indicator

      may be a different name than the one I see in the Indicators window from the chart?

      The author may not be happy to share that kind of info with me even though I have paid good money for it.
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        eDanny,

        Display name can be different. That is correct.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Thanks Josh. Still the question is, if the name is like I said, with a blank space as the first character, how could I access that?
          eDanny
          NinjaTrader Ecosystem Vendor - Integrity Traders

          Comment


            #6
            How are you determining there is a blank space? You can't create an indicator with a blank space anywhere in the name.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              It is in the beginning of the list alphabetically and is indented one character size.

              It must have a line similar to this:
              [Gui.Design.DisplayName(" GlueSwing (High/Low)")]
              eDanny
              NinjaTrader Ecosystem Vendor - Integrity Traders

              Comment


                #8
                The list does not display indicator names. It displays whatever they set it to display. If you are seeing a white space we know they are already using a GUI display name so that is not the name of the indicator file. Unfortunately I cannot assist you any further. You will just need to ask the original author.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Ok thanks, I understand now how that works.
                  eDanny
                  NinjaTrader Ecosystem Vendor - Integrity Traders

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by DJ888, 04-16-2024, 06:09 PM
                  4 responses
                  12 views
                  0 likes
                  Last Post DJ888
                  by DJ888
                   
                  Started by terofs, Today, 04:18 PM
                  0 responses
                  9 views
                  0 likes
                  Last Post terofs
                  by terofs
                   
                  Started by nandhumca, Today, 03:41 PM
                  0 responses
                  6 views
                  0 likes
                  Last Post nandhumca  
                  Started by The_Sec, Today, 03:37 PM
                  0 responses
                  3 views
                  0 likes
                  Last Post The_Sec
                  by The_Sec
                   
                  Started by GwFutures1988, Today, 02:48 PM
                  1 response
                  9 views
                  0 likes
                  Last Post NinjaTrader_Clayton  
                  Working...
                  X