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

Multiple Limit Orders

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

    Multiple Limit Orders

    I'm having an issue with a strategy I built out in Strategy Builder where I have two limit order placed at tick intervals below average position price. When the orders are filled, Ninjatrader is creating a second limit order for each. I end up with 5 contracts when I want 3 to be my limit.

    If I set entry handling to all entries and entries per direction to 3 it will fill correctly the first time the orders are filled but when I hit my profit target it will place 3 market orders on my first order along with the two trailing limit orders. When the limit orders are hit they do not create duplicate orders. If I set entry handling to unique and entries per direction to 1 it will pick up one contract on the first order but then when it hits the limit orders it creates a second limit order with the same criteria. It only does this once for each but I end up with the potential for 5 contracts in either scenario.

    Any help on what I'm doing wrong here would be greatly appreciated.

    #2
    Hello gdoering,

    Thank you for your note.

    Without the full code we're unable to test on our end.

    If you'd like to upload the full code I can take a look and see if anything jumps out. Or if you'd prefer to email a copy, send to platformsupport[at]ninjatrader[dot]com with Attn: Alan P in the Subject line. Also within the email please include a link to this thread, and the files.

    I look forward to your reply.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by quantismo, 04-17-2024, 05:13 PM
    4 responses
    30 views
    0 likes
    Last Post quantismo  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    31 views
    0 likes
    Last Post love2code2trade  
    Started by cls71, Today, 04:45 AM
    2 responses
    10 views
    0 likes
    Last Post eDanny
    by eDanny
     
    Started by proptrade13, Today, 11:06 AM
    0 responses
    5 views
    0 likes
    Last Post proptrade13  
    Started by kulwinder73, Today, 10:31 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X