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

Chart Identifier

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

    Chart Identifier

    Hi

    Is there any unique ID I can reference that identifies a chart programmatically ?

    Let's say I have 5 charts in a workspace - 1,2,3,4,5. I want to save some data in an indicator and then re-use that next time I open this workspace.

    One way to do this would be for me to put in an indicator parameter with a user-defined id number and then use that as a reference key. What would be better would be if there is any reference id allocated to a chart that I could reference from Ninjascript. I could save my data based on that reference and then when the workspace is open again, I could use that same reference id.

    So - does such a thing exist ?

    Thanks

    Pete

    #2
    Pete, unfortunately this would be unsupported.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Austin

      I understand that what I am doing is outside of what you can support and I'm not asking for you to support what I am writing. I am asking if there is a unique chart id available.

      Can you forget for a moment what I want to use it for and just let me know if such a thing exists ?

      Many thanks

      Pete

      Comment


        #4
        Hello Pete,

        We support documented NinjaScript. Since you're working with C# there is a lot more you are capable of doing than we can offer support for. Unfortunately we are unable to offer support for identifying a unique chart ID.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Try this:

          ChartControl.ChartPanel.TabIndex

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by mjairg, 07-20-2023, 11:57 PM
          3 responses
          213 views
          1 like
          Last Post PaulMohn  
          Started by TheWhiteDragon, 01-21-2019, 12:44 PM
          4 responses
          544 views
          0 likes
          Last Post PaulMohn  
          Started by GLFX005, Today, 03:23 AM
          0 responses
          3 views
          0 likes
          Last Post GLFX005
          by GLFX005
           
          Started by XXtrader, Yesterday, 11:30 PM
          2 responses
          12 views
          0 likes
          Last Post XXtrader  
          Started by Waxavi, Today, 02:10 AM
          0 responses
          7 views
          0 likes
          Last Post Waxavi
          by Waxavi
           
          Working...
          X