• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Moving Limit Order

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

    Moving Limit Order

    How do I keep a limit order from moving? I have a strategy that submits a limit order at the bid/ask price -1/+1; since the strategy recalculates at each tick, the limit orders are also recalculated which cause them to move, and in some instances, a popup is received informing me that i cannot move a limit order. Is there a way to include in the strategy builder something to the effect of Pending Orders == 0?

    #2
    Hello Renorail,

    Thanks for your post.

    The limit order is moving because your entry conditions remain true which continues resubmitting the limit order.

    What you could do is to create a bool variable in the "Inputs and Variables" page of the strategy builder. Set the bool's default to true. In the set where you place the limit order, add the condition to check that the bool is true and in the "do the following" section, set the bool to false. This way the order is placed one time only. You will need to likely add another set and create a new condition to reset the bool to true when you want to again place the limit order.

    Please note that if a limit order is not filled on the entry bar, it will be automatically cancelled as this is an automatic function in the "Managed approach" that the strategy builder must use, here is a link to further information on the Managed Approach: https://ninjatrader.com/support/help...d_approach.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thank you Paul. I'll give it a try.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by epitoma, Today, 05:21 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by BatBart, Today, 01:24 PM
      1 response
      22 views
      0 likes
      Last Post NinjaTrader_Melissa  
      Started by ezrakoper, Today, 03:05 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by asmmbillah, Today, 02:23 PM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by steveg, Today, 02:44 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Heath  
      Working...
      X