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 usazencort, Today, 01:16 AM
                  0 responses
                  1 view
                  0 likes
                  Last Post usazencort  
                  Started by kaywai, 09-01-2023, 08:44 PM
                  5 responses
                  603 views
                  0 likes
                  Last Post NinjaTrader_Jason  
                  Started by xiinteractive, 04-09-2024, 08:08 AM
                  6 responses
                  22 views
                  0 likes
                  Last Post xiinteractive  
                  Started by Pattontje, Yesterday, 02:10 PM
                  2 responses
                  21 views
                  0 likes
                  Last Post Pattontje  
                  Started by flybuzz, 04-21-2024, 04:07 PM
                  17 responses
                  230 views
                  0 likes
                  Last Post TradingLoss  
                  Working...
                  X