Announcement

Collapse
No announcement yet.

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.

    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.

        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.

            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
            335 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            102 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