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 Mindset, 04-21-2026, 06:46 AM
            0 responses
            49 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            69 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            36 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            96 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            59 views
            0 likes
            Last Post PaulMohn  
            Working...
            X