• 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

  • NinjaTrader_Jim
    replied
    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.

    Leave a comment:


  • ttodua
    replied
    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?

    Leave a comment:


  • NinjaTrader_Jim
    replied
    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.


    Leave a comment:


  • 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).

Latest Posts

Collapse

Topics Statistics Last Post
Started by fredrikn, 05-08-2019, 04:01 AM
17 responses
668 views
1 like
Last Post emtrader  
Started by zacharydw00, Yesterday, 10:19 PM
0 responses
2 views
0 likes
Last Post zacharydw00  
Started by chafan11, Yesterday, 09:28 PM
0 responses
6 views
0 likes
Last Post chafan11  
Started by GreenspanAlec, Yesterday, 05:32 PM
0 responses
7 views
0 likes
Last Post GreenspanAlec  
Started by mrwarkhan, Yesterday, 03:45 PM
0 responses
18 views
0 likes
Last Post mrwarkhan  
Working...
X