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 ageeholdings, Today, 07:43 AM
          0 responses
          7 views
          0 likes
          Last Post ageeholdings  
          Started by pibrew, Today, 06:37 AM
          0 responses
          4 views
          0 likes
          Last Post pibrew
          by pibrew
           
          Started by rbeckmann05, Yesterday, 06:48 PM
          1 response
          14 views
          0 likes
          Last Post bltdavid  
          Started by llanqui, Today, 03:53 AM
          0 responses
          6 views
          0 likes
          Last Post llanqui
          by llanqui
           
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          12 views
          0 likes
          Last Post burtoninlondon  
          Working...
          X