Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Save strategy template from another window

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

    Save strategy template from another window

    Hi, is there any way to save or load the settings of a strategy from another window? I have my own window that I can call up, all properties are displayed there and I can also change them. I would like to save or load the template from this window.

    Click image for larger version

Name:	NinjaTrader_WlTc1neYTz.jpg
Views:	156
Size:	76.1 KB
ID:	1265349
    ​
    sidlercom80
    NinjaTrader Ecosystem Vendor - Sidi Trading

    #2
    Hello sidlercom80,

    Thanks for your post.

    In the Strategies window, you could set your strategy properties for that specific strategy and then click 'template' > 'save' > name the strategy template > and click 'OK' to save the strategy properties in a template.

    To load the template you saved for that strategy you could open the Strategies window, apply the strategy to the Strategies tab of the Control Center or Chart or Strategy Analyzer and click 'template' > 'load' > select the template name you saved > and click 'Load'.

    See this help guide page for more information: https://ninjatrader.com/support/help...meter_temp.htm
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Hi BrandonH, it seems I didn't make myself clear enough. I want to save the properties for this strategy from another window via c#

      Click image for larger version

Name:	NinjaTrader_NkRtXFSorc.jpg
Views:	127
Size:	23.4 KB
ID:	1265396
      ​
      sidlercom80
      NinjaTrader Ecosystem Vendor - Sidi Trading

      Comment


        #4
        Hello sidlercom80,

        Thanks for your notes.

        There are no supported methods or properties available to save a strategy's Properties from another window in a custom NinjaScript like the Strategy Template Save/Load option that comes with NinjaTrader.

        That said, you may find the forum thread linked below to be helpful:
        https://forum.ninjatrader.com/forum/...26#post1055626

        This forum thread will be open for other community members to share their insights on possible unsupported code you could use.
        Last edited by NinjaTrader_BrandonH; 08-20-2023, 03:47 PM.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        61 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        134 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X