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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            77 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            40 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            63 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            63 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            53 views
            0 likes
            Last Post CarlTrading  
            Working...
            X