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 NullPointStrategies, Today, 05:17 AM
            0 responses
            50 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            126 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            69 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            42 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            46 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X