Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Update ATM Strategy Template parameters programmatically

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

    Update ATM Strategy Template parameters programmatically

    How can i update an existing ATM Strategy Template parameters from within a custom DrawingTool?
    Template name TestATM for example.

    I want to access programmatically to:
    1) Order quantity
    2) Parameter type (Currency)
    3) Target 1 - Quantity, Stop loss, Profit
    4) Target 2 - Quantity, Stop loss, Profit

    And update them before order (buy or sell) is sent by the user.

    Screenshot attached.

    Click image for larger version

Name:	Screenshot 2023-12-30 at 21.57.37.png
Views:	141
Size:	28.1 KB
ID:	1284261

    #2
    Hello xfactscout,

    Thanks for your post.

    There are no supported or documented NinjaScript methods or properties to update an existing ATM Strategy Template through code.

    This forum thread will be open for other community members to share their insights on possible unsupported code you could use.
    <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
      Thanks BrandonH.

      Is there a way to switch Templates in ChartTrader programmatically then? (selecting by AtmStrategy Template name I mean)

      Happy New Year.

      Comment


        #4
        Hello xfactscout,

        Thanks for your note.

        There are no documented/supported NinjaScript methods or properties available for changing the Atm Strategy Template drop-down menu in Chart Trader to select a specific ATM Strategy Template.

        The ATM Strategy Template would need to be manually selected in Chart Trader.

        This forum thread will be open for other community members to share their insights on possible unsupported code to accomplish this.
        <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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        590 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        342 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        555 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