Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Work with an ATM strategy?

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

    Work with an ATM strategy?

    Can the strategy be made to work with an ATM strategy? So I can select a saved ATM template from Ninja from the strategy settings.
    If so I would love some sample code because I have no idea where to start.

    Thanks

    #2
    Hello omribidi,

    You can do that, there is a sample strategy called SampleATMStrategy that comes with NinjaTrader, it can be found in the NinjaScript editor under the strategies folder.

    Comment


      #3
      Thanks for the answer! but I need to combine it with my strategy so it will take effect on the orders that my strategy opens with a few levels of SL and TP. In the built-in ATM strategy, I don't even have the option to choose a saved ATM template.
      please help​

      Comment


        #4
        Hello omribidi,

        ATM's cannot be combined with regular strategy orders. If you wanted to work with regular strategy orders you would have to come up with your own logic and conditions to control the orders and not use an ATM. The sample that comes with the platform shows how to work with an ATM strategy so a NinjaScript strategy will submit the ATM entry and then the ATM will control its targets from that point. In the sample you can change the template being used by editing the code to have a different template name.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        87 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        132 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        65 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        118 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        67 views
        0 likes
        Last Post PaulMohn  
        Working...
        X