Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Place a sell order -5 ticks from market price.

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

    Place a sell order -5 ticks from market price.

    I have written a strategy. I need when the criteria are met to place an order on a pullback. For example, I would like to place a sell order -5 ticks from market price.
    Attached Files

    #2
    Hello Nightmaregpu,

    Thank you for your post.

    To place a sell order 5 ticks below a certain price value using the Strategy Builder, you would need to use an Action of EnterShortLimit() instead of EnterShort() followed by setting the Limit price to something like Close[0] with a -5 Tick offset.

    See the modified version of your shared strategy that demonstrates this.

    Also, see the help guide documentation below for more information.
    Strategy Builder Actions - https://ninjatrader.com/support/help...MarketPosition

    Please let us know if we may assist further.
    Attached Files
    <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


      #3
      I changed your Strategy to -10 tick entry. It entered at the close of the candle instead of placing a sell order 10 ticks above the price.
      Attached Files

      Comment


        #4
        Hello Nightmaregpu,

        Thank you for your note.

        If you would like to place the sell limit order 10 ticks above the close, you would need to set the EnterShortLimit() offset to 10 ticks instead of -10 ticks. When testing the strategy on my end using a 10 tick offset for EnterShortLimit(), I am seeing the sell limit order being placed 10 ticks above the close of a bar as expected. This could be seen by opening a Data Box from the Chart Toolbar and hovering your mouse over the bar that the order was placed, then comparing the Close price to the Sell Limit order price.

        Please let us know if we may assist 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


          #5
          It worked. Thanks so much!!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          80 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          40 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          64 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          64 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          54 views
          0 likes
          Last Post CarlTrading  
          Working...
          X