• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add some elements from another workspace without complete restore

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

    Add some elements from another workspace without complete restore

    on page:
    https://ninjatrader.com/support/help...t_overview.htm

    it's shown how to save/restore workspace.

    Is there any way, that when you have already open a workspace, and if i want to add only one window from another workspace, how can I do that programatically?

    because what i understand with the above example , is that you fully restore the other workspace (causing to close your current open workspace).


    #2
    Hello TazoTodua,

    Thanks for your message.

    We do not have a documented/supported way to programmatically add specific elements to a workspace in NinjaScript. Since the workspace files are XML files, you may wish to work around this by saving a new workspace file with XML injected into it the file, and adjusting your workflow to use the workspace files that you are saving on your own.

    This would take a fair bit of understanding the XML layout for the workspace file, which we do not document, but observing how NinjaTrader creates these files would be a good way to observe how you may work with these files.

    Please let me know if there is anything else we can do to help.


    JimNinjaTrader Customer Service

    Comment


      #3
      many thanks!
      yes, i was thinking about same. 1 question, is there any way to open another workspace (not partial elements from worskpace, but as NT does normally) BUT without closing the currently opened workspace?

      Comment


        #4
        Hello TazoTodua,

        There is not any documented way to achieve this.

        You may wish to use intellisense/intelliprompt to give some clues for using WorkspaceOptions which offers some methods that may help to achieve the goal, but as this item is not documented, we could not offer any support for its usage.

        We have a feature request to expand documentation on WorkspaceOptions and I will add a vote on your behalf, citing your feedback. The ticket ID is SFT-3346.

        Please let me know if we can be of further assistance.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Gav_G, Today, 02:12 PM
        0 responses
        1 view
        0 likes
        Last Post Gav_G
        by Gav_G
         
        Started by Gav_G, Today, 01:41 PM
        0 responses
        4 views
        0 likes
        Last Post Gav_G
        by Gav_G
         
        Started by kweiss, Today, 01:21 PM
        0 responses
        3 views
        0 likes
        Last Post kweiss
        by kweiss
         
        Started by digibob, Yesterday, 06:45 AM
        2 responses
        13 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by cutzpr, Today, 08:44 AM
        0 responses
        2 views
        0 likes
        Last Post cutzpr
        by cutzpr
         
        Working...
        X