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 helpwanted, Today, 03:06 AM
      0 responses
      3 views
      0 likes
      Last Post helpwanted  
      Started by Brevo, Today, 01:45 AM
      0 responses
      7 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      5 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      242 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      384 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X