Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to Add Custom ATM to my strategy?

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

    How to Add Custom ATM to my strategy?

    I've written a strategy and I've custom-written my entry and exits. However, I want to just add an ATM that's written by someone else to manage my positions. I am not well versed in logic coding for trailing my entries, exits, and position size. I've seen some great ATMs that I would like to just use when an order is executed. How can I achieve this?


    #2
    Hello priceisking,

    Thank you for your post.

    The following page covers important concepts to keep in mind when using ATMs in your NinjaScript logic:


    The ATM strategy methods may be found here:


    Those methods can be used to submit entry orders that have an ATM strategy template attached. There is also a strategy called "SampleAtmStrategy" that comes with NinjaTrader by default. You may view the source code in the NinjaScript Editor and it works if you save an ATM strategy template named "AtmStrategyTemplate"

    Please let us know if we may be of further assistance.

    Comment


      #3
      Thank you so much. will look into this.

      Comment


        #4
        Originally posted by priceisking View Post
        I've written a strategy and I've custom-written my entry and exits. However, I want to just add an ATM that's written by someone else to manage my positions. I am not well versed in logic coding for trailing my entries, exits, and position size. I've seen some great ATMs that I would like to just use when an order is executed. How can I achieve this?
        I have an example here. https://github.com/WaleeTheRobot/ord...rderFlowBot.cs

        Comment


          #5
          Thank you so much. You have a zip file version of this? This is great!

          Comment


            #6
            Originally posted by priceisking View Post
            Thank you so much. You have a zip file version of this? This is great!
            There is a button to download the file towards the top where the code starts.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            88 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            134 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            68 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