Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

AtmStrategy Programmatically

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

    AtmStrategy Programmatically

    Is it possible to create an AtmStrategy programmatically? and use a method AtmStrategy.StartAtmStrategy(myAtmStrategy, order)?

    Thanks!

    #2
    Hello Rudmax,
    Thanks for your post.

    Yes, you can do this. However, the ATM Strategy methods require that you build the ATM Strategy outside of NinjaScript first. Similar to the SuperDOM or Chart Trader, you then call the template by name in the ATM Strategy function CreateAtmStrategy() in order to have it manage the position after the entry fills.

    Below is our help guide documentation on the ATM Strategy Methods. There is a sample ATM strategy available inside your NinjaScript editor as well.

    Help Guide - ATM Strategy Methods

    Let me know if you have any questions.
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Thanks
      Oh, ok, but I'm intent to create a strategy inside NinjaScript.
      Best Regards,

      Comment


        #4
        Originally posted by NinjaTrader_JoshG View Post
        Hello Rudmax,
        Thanks for your post.

        Yes, you can do this. However, the ATM Strategy methods require that you build the ATM Strategy outside of NinjaScript first. Similar to the SuperDOM or Chart Trader, you then call the template by name in the ATM Strategy function CreateAtmStrategy() in order to have it manage the position after the entry fills.

        Below is our help guide documentation on the ATM Strategy Methods. There is a sample ATM strategy available inside your NinjaScript editor as well.

        Help Guide - ATM Strategy Methods

        Let me know if you have any questions.
        Hi,
        just to finish this thought, i want my ATM strategy that i designed to be used for the management after the entry, how do i do that? This works perfectly because i have the strategy and i have the ATM trailing stop set up the way i like but i will be able to tweek it later with out messing with the strategy.

        Comment


          #5
          Hello Snow819269,

          Are you asking how to create an Automated Strategy with the ATM methods? If not, what specifically is your question?
          Josh G.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by funk10101, Today, 12:02 AM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Started by GLFX005, Today, 03:23 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by nandhumca, Yesterday, 03:41 PM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by The_Sec, Yesterday, 03:37 PM
          1 response
          11 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by vecnopus, Today, 06:15 AM
          0 responses
          1 view
          0 likes
          Last Post vecnopus  
          Working...
          X