• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 lunardiplomacy, Today, 08:09 AM
          0 responses
          3 views
          0 likes
          Last Post lunardiplomacy  
          Started by YevhenShynkarenko, Yesterday, 06:07 PM
          1 response
          13 views
          0 likes
          Last Post NinjaTrader_PaulH  
          Started by akuntysh, 07-23-2019, 09:41 PM
          4 responses
          31 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by Goolden, Today, 05:47 AM
          2 responses
          13 views
          0 likes
          Last Post Goolden
          by Goolden
           
          Started by mestril, Today, 06:00 AM
          4 responses
          17 views
          0 likes
          Last Post mestril
          by mestril
           
          Working...
          X