Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

closing a manually opened position

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

    closing a manually opened position

    Can a Strategy close a position that has been manually opened?

    Is it possible to code an ATM Strategy? (that can manage a position that has been manually opened)

    #2
    Hello NinjaCustomer,
    Thanks for your post.

    It is not supported in NinjaTrader 7 to close a manually opened position with a strategy. You can however code an ATM strategy with the ATM Strategy NinjaScript methods. I will link the documentation for those methods below.

    Help Guide- ATM Strategy Methods

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

    Comment


      #3
      crap, I meant to post in the NT 8 forums - would the answer be the same for NT 8?

      Comment


        #4
        No problem . I have moved your post to the appropriate section of the forum.

        In NinjaTrader 8 your strategy can manage a manually opened position with start behavior called Adopt Account Position. You need to specifically add a line to your strategy to enable it (IsAdoptAccountPositionAware = true).

        Please see the documentation below and let me know if you have any questions on how to use it to program a strategy to manage the exit of a manual entry.

        Help Guide- Syncing Account Positions
        Help Guide- StartBehavior
        Help Guide- IsAdoptAccountPositionAware

        Additionally, I am including a link to the NinjaTrader 8 ATM Methods below.
        Help Guide- ATM Strategy Methods
        Josh G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

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