Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entering and exiting on same bar in strategy builder

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

    Entering and exiting on same bar in strategy builder

    I have completed a strategy that works good using market orders where when conditions change the strategy reverses. When changing the entries from market to limit orders I can only take long positions.

    What context do i need to add to have my strategy reverse using limit orders? I can use strategy builder or i can hard code it if necessary

    #2
    Hello Teebone21,

    The managed approach (used by the Strategy Builder) automatically reverses the position when an entry is called in the opposite direction.

    NinjaTrader will automatically submit a Close position order to close the previous position before entering the new position.

    Be sure not to call an exit and then an entry on the same bar. This would cause the position to become double the opposite direction or cause an overfill.

    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    43 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    47 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X