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

Data Series label

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

    Data Series label

    How i can get all data series labels from graphic to my indicator property with ninjascript?

    #2
    Hello Eddard,

    I believe you are looking for the Close, High, Low, Median, Open, Typical, and Weighted Data Series.

    If that is the case then you may use the PriceType variable inside of the Indicator.



    Otherwise, could you clarify a bit more what exactly you are looking for.
    JCNinjaTrader Customer Service

    Comment


      #3
      When the user opens the chart with GBPUSD(for example) data series I must to use this type for data acquisition(see attachments)
      Attached Files
      Last edited by Eddard; 02-24-2014, 10:44 AM.

      Comment


        #4
        Hello Eddard,

        Thanks for the screenshot but could you give me an example of what you are trying to accomplish?
        JCNinjaTrader Customer Service

        Comment


          #5
          My indicator interrogates service. One of parameters of inquiry is the product. At a chart choice for example EUR/USD must to be inserted into inquiry by EURUSD. How to receive USD/EUR in the indicator from the chart which it to treat?

          Comment


            #6
            Hello Eddard,

            I believe I understand what you are looking for. You are wanting some checking to see if a user types in a '/' character which can result in an incorrect call in your code.

            If that is the case then you may want to search the String to see if there is any characters that you do not want in it and handle it accordingly or alert the user of this.

            Learn about two strategies to search for text in strings in C#. String class methods search for specific text. Regular expressions search for patterns in text.


            Let me know if this helps.
            JCNinjaTrader Customer Service

            Comment


              #7
              Originally posted by Eddard View Post
              My indicator interrogates service. One of parameters of inquiry is the product. At a chart choice for example EUR/USD must to be inserted into inquiry by EURUSD. How to receive USD/EUR in the indicator from the chart which it to treat?
              The name of the equity on the chart is a string given by: Instrument.MasterInstrument.Name or by Instrument.Fullname, depending on what you are seeking. Consult the NT Help.

              ref:

              Last edited by koganam; 02-26-2014, 07:00 PM.

              Comment


                #8
                koganam, thank you very much. This is what i need

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by rocketman7, Today, 01:00 AM
                0 responses
                1 view
                0 likes
                Last Post rocketman7  
                Started by wzgy0920, 04-20-2024, 06:09 PM
                2 responses
                27 views
                0 likes
                Last Post wzgy0920  
                Started by wzgy0920, 02-22-2024, 01:11 AM
                5 responses
                32 views
                0 likes
                Last Post wzgy0920  
                Started by wzgy0920, 04-23-2024, 09:53 PM
                2 responses
                74 views
                0 likes
                Last Post wzgy0920  
                Started by Kensonprib, 04-28-2021, 10:11 AM
                5 responses
                193 views
                0 likes
                Last Post Hasadafa  
                Working...
                X