Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder: Placing an order to execute at a particular price; cancel if not.

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

    Strategy Builder: Placing an order to execute at a particular price; cancel if not.

    Hi, I've noticed that on Strategy Builder, no matter which type of option I choose from the 'Order Management' menu to place the order, it gets executed immediately at the next bar, regardless of what price I wish to have that order executed at.

    Ideally, I'm trying to set an order to execute a few ticks away from close of the bar, and if in the next bar, price does not reach that level, I'd like to take that order off. How can I set that up in Strategy Builder? Does this need code unlocking? Do you have an example or help text you can point me to?

    Much appreciated! Thanks for the support.

    RK.

    #2
    Hello rasdaka,

    Thanks for your post.

    An order will only be filled when the market price reaches the price of the order.

    If you would like to place an entry order a certain number of ticks away from the Close price, you could use a limit order such as EnterLongLimit()/EnterShortLimit(). You would set the Limit price of the Entry order to be the Close price and then Offset the price by a set number of Ticks.

    See this help guide page for more information: https://ninjatrader.com/support/help...MarketPosition

    By default, orders submitted via Entry() and Exit() methods automatically cancel at the end of a bar if not re-submitted. This could be seen on the Managed Approach help guide page linked below.

    Managed Approach: https://ninjatrader.com/support/help...d_approach.htm

    Let me know if I may assist you further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    566 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    329 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X