Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market-if-Touched Order Configuration in Strategy Builder

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

    Market-if-Touched Order Configuration in Strategy Builder

    My Objective:

    1. A strategy that executes all entry orders on the close of candles.
    2. On signal, execute a market-if-touched order "x" ticks from the close of candle.
    3. So for Longs, that would be "x" ticks below the close of the previous candle, and conversely for Shorts.

    This question was asked by johnMoss a few years ago and was answered by Ninjatrader_PaulH who provided several links explaining the solution.

    I was able to find his answer but was not able to access any of the links provided.

    Any help would be appreciated.

    #2
    Hello cortlane,

    Thanks for your post.

    To submit a Market-If-Touched Entry order in the Strategy Builder, you could click 'Add' in the Actions menu, open the 'Order management' folder and select the 'Enter long position by a market-if-touched order' or the 'Enter short position by a market-if-touched order' option.

    To submit a Market-If-Touched Exit order in the Strategy Builder, you could click 'Add' in the Actions menu, open the 'Order management' folder and select the 'Exit long position by a market-if-touched order' or the 'Exit short position by a market-if-touched order' option.

    You would then set the order's 'Stop price' field to the Close price (Price folder > Close) with a Tick offset.

    How to enter a market position: https://ninjatrader.com/support/help...MarketPosition
    How to exit a market position: https://ninjatrader.com/support/help...MarketPosition
    Offsetting a value: https://ninjatrader.com/support/help..._builder.htm#H owToOffsetAnItemValue

    Below is a link to a forum post with helpful information about getting started with NinjaScript.
    https://ninjatrader.com/support/foru...040#post786040
    <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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    55 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    132 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X