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

Retrieve workspace name

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

    Retrieve workspace name

    How can I retrieve the workspace name from an indicator?

    I want to capture some data from an indicator in a workspace and write it to a file so I need to know which workspace it came from.
    Last edited by TAJTrades; 09-03-2018, 06:59 AM.

    #2
    Hello TAJTrades. Thank you for the post.

    You can get the active workspace name with this property:

    NinjaTrader.Core.Globals.ActiveWorkspace

    Please let me know if I can help further.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      NT7: NinjaTrader.Gui.WorkspaceOptions.SwitchWorkspace(w s,true);

      NT8: ??

      Comment


        #4
        Hello kenz987,

        Thanks for the note.

        The WorkspaceOption tools can be found under

        NinjaTrader.Gui.Tools.WorkspaceOptions.SwitchToWor kspace

        Please let me know if I may be of any further assistance.
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          Is it possible to have charts from two different workspaces visible at the same time? Thanks, Ken

          Comment


            #6
            Hello Ken,

            Thanks for the reply.

            That is not possible. You would need to replicate the chart in the desired workspace.

            Please let me know if you have any questions.
            Chris L.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Lumbeezl, 01-11-2022, 06:50 PM
            31 responses
            817 views
            1 like
            Last Post NinjaTrader_Adrian  
            Started by xiinteractive, 04-09-2024, 08:08 AM
            5 responses
            14 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by swestendorf, Today, 11:14 AM
            2 responses
            6 views
            0 likes
            Last Post NinjaTrader_Kimberly  
            Started by Mupulen, Today, 11:26 AM
            0 responses
            7 views
            0 likes
            Last Post Mupulen
            by Mupulen
             
            Started by Sparkyboy, Today, 10:57 AM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X