Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          580 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          336 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X