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 bortz, 11-06-2023, 08:04 AM
                  47 responses
                  1,603 views
                  0 likes
                  Last Post aligator  
                  Started by jaybedreamin, Today, 05:56 PM
                  0 responses
                  8 views
                  0 likes
                  Last Post jaybedreamin  
                  Started by DJ888, 04-16-2024, 06:09 PM
                  6 responses
                  18 views
                  0 likes
                  Last Post DJ888
                  by DJ888
                   
                  Started by Jon17, Today, 04:33 PM
                  0 responses
                  4 views
                  0 likes
                  Last Post Jon17
                  by Jon17
                   
                  Started by Javierw.ok, Today, 04:12 PM
                  0 responses
                  12 views
                  0 likes
                  Last Post Javierw.ok  
                  Working...
                  X