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 RubenCazorla, Today, 09:07 AM
          2 responses
          11 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by i019945nj, 12-14-2023, 06:41 AM
          7 responses
          81 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by timmbbo, 07-05-2023, 10:21 PM
          4 responses
          158 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by tkaboris, Today, 08:01 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by Lumbeezl, 01-11-2022, 06:50 PM
          31 responses
          819 views
          1 like
          Last Post NinjaTrader_Adrian  
          Working...
          X