Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Limit Order Configuration in Strategy Builder

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

    Limit Order Configuration in Strategy Builder

    I'm doing something wrong.
    Objective:
    1. Strategy executes all entry orders on close of candles.
    2. On signal, execute a limit order 4 ticks from close of candle.
    3. So for longs, that would be 4 ticks below close of previous candle, and conversely for shorts.

    I am using the limit order feature in the wizard, it asked for a price point so I chose -4 & +4 respectively long & short. Yet It's still executing as a standard market order on bar close. Obviously I've the wrong nomenclature?

    #2
    Hello johnMoss,

    Thanks for your post.

    I may be misunderstanding but I will reply based on that I think you are using Limit type orders as entry orders.

    For a limit order, you would need to specify the actual price, using +/-4 would be interpreted as the price and in some cases, it would be filled immediate as 4 is likely a better price and a limit order will fill at the specified price or better.

    To place an order 4 ticks relative to the close of the previous bar, you can specify: Close[1] + 4 * TickSize or Close[1] - 4 * TickSize. When you click in the field on "set" select the price folder and choose close, set the bars ago to 1 then click the offset area and change to ticks, for a positive value enter just the number, to subtract 4 ticks use -4 as the value. Reference: https://ninjatrader.com/support/help...MarketPosition

    TickSize is a system value that will provide the tick value of the instrument: https://ninjatrader.com/support/help...l?ticksize.htm

    Here are the educational materials for the strategy builder in case you have not seen them:
    Free live webinar every other Thursday at 4:00 PM EST, through this link to all webinars: https://ninjatrader.com/PlatformTraining
    Previous recording of the Strategy Builder 301 webinar: https://youtu.be/HCyt90GAs9k?list=PL...auWXkWe0Nf&t=2
    Help guide for the strategy builder: https://ninjatrader.com/support/help...gy_builder.htm
    Tutorial using the Strategy Builder (Titled "Creating the Strategy by the Wizard): https://ninjatrader.com/support/help..._cross_ove.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thank you, did the trick

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by rcmcd, Today, 12:31 PM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by 7robert, Today, 11:50 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by ezrollin, Today, 10:40 AM
      8 responses
      14 views
      0 likes
      Last Post ezrollin  
      Started by sidlercom80, Today, 10:20 AM
      2 responses
      6 views
      0 likes
      Last Post sidlercom80  
      Started by TraderElegante, Today, 09:53 AM
      2 responses
      18 views
      0 likes
      Last Post TraderElegante  
      Working...
      X