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

NT8RC1 - Adding contracts in open ATMstrategy position

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

    NT8RC1 - Adding contracts in open ATMstrategy position

    Using the ATMstrategy methods I programmed a strategy that enters, exits and reverses positions. Now I'm looking how to add contracts to an existing position and keeping the ATM, just the same as in chart trader where you can enter multiple times and exit at once

    If I use ATMAtmStrategyCreate while in an open position the strategy only manages the first entry and does not apply for the next entries keeping open positions without stop or profit targets

    How can I make it work as in Chart trader? Is there a sample available?

    Thanks

    #2
    Hello aog076,

    Thank you for writing in.

    You will be unable to do this from a NinjaScript strategy.

    If you wish to add contracts to an already submitted ATM Strategy, you will need to do this manually any of NinjaTrader's order entry windows.

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Then the only option is using the standard orders on managed approach, Enter/Exit Long/Short. Am I right?

      Comment


        #4
        Hello aog076,

        You can use the managed or unmanaged approach to submit orders when using a NinjaScript strategy.

        Your NinjaScript strategy will be managing these orders.

        There is a clear line between a NinjaScript Strategy and an ATM Strategy. The use model for creating an ATM Strategy within a NinjaScript Strategy is when you want to programmatically monitor and generate an entry signal and then manually manage the resulting open position via an ATM Strategy in one of NinjaTrader's order entry windows.
        Zachary G.NinjaTrader Customer Service

        Comment


          #5
          Now it's clear. My strategy works with Long/Short custom programmed buttons and executes the ATMstrategy when entry conditions are met. The strategy works perfectly in simulation mode. But now I find that not being able to add contracts to an open position may be a limitation.

          Reprogramming the strategy with managed approach and making it behave like an ATM will be a hard work. I was just trying to avoid it

          Anyway, thanks for your help

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by mgco4you, Today, 09:46 PM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by wzgy0920, Today, 09:53 PM
          0 responses
          4 views
          0 likes
          Last Post wzgy0920  
          Started by Rapine Heihei, Today, 08:19 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by Rapine Heihei, Today, 08:25 PM
          0 responses
          6 views
          0 likes
          Last Post Rapine Heihei  
          Started by f.saeidi, Today, 08:01 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X