Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Close Order with no reversal and keep strategy active.

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

    Close Order with no reversal and keep strategy active.

    I am not able to find a way in strategy builder to execute at order management for a close position without reversing the position. I also want to be able to keep the strategy I'm running active after executing the close. I believe it can be done in the SuperDOM in manual by clicking the center scroll button of the mouse on the close button. There should be a way to do this in a strategy.

    #2
    Hello ggehringer,

    Thanks for your post and welcome to the NinjaTrader forums!

    The only strategy order that would reverse your position would be for example if you were long and entered a Sell Market order called EnterShort(). The EnterShort() and EnterLong() methods will detect an order in the opposite direction and issue an order to first close the position and then one more to put the strategy in that direction.

    In the strategy builder you can exit a position with either the Stops and target section which uses OCO based orders or in another set within the strategy builder you can use for example ExitLong() or ExitShort() which will only issue a market order if there is a position but would not put you in the opposite position.

    Strategies are intended to run standalone if you are placing manual orders on the same instrument and the same account then this can contribute to the strategy being out of sync with your account position as it would be unaware of your manually placed orders (or orders placed by another strategy) The strategy will continue running and placing orders according to its coding.

    Here are some reference links to information on the strategy builder:
    "How to exit a market position": https://ninjatrader.com/support/help...s/?actions.htm
    Webinar of StrategyBuilder 301: https://www.youtube.com/watch?v=HCyt...We0Nf&index=11

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    43 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    65 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