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

As to avoid the double orders of peer price.

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

    As to avoid the double orders of peer price.

    I have realized a strategy that he/she works with ticks by ticks (CalculateOnBarClose = false).
    It sometimes happens that you/they are activated some double orders with the same price, thing that is not anticipated.
    I make sense of me: I am flat, my conditions of entry defined on the Level II of the book activate an order EnterLongLimit with a datum price EntryPrice.
    If the condition of activation of the order remains him active still another order EnterLonLimit with the same price,
    then I am me to have two leaning orders that you/they then arrive to be completed (filled).
    At the end I have two orders to the same price to the place of one. How can I avoid the generation of the double orders? Thanks

    #2
    Hi onurbbruno,

    If you submit a limit order, which has not yet been filled, another limit order can be sent.

    I suggest using TraceOrders to find out what's happening to these orders.
    More info at - http://www.ninjatrader.com/support/f...ead.php?t=3627
    TimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by RubenCazorla, 08-30-2022, 06:36 AM
    3 responses
    77 views
    0 likes
    Last Post PaulMohn  
    Started by f.saeidi, Yesterday, 12:14 PM
    9 responses
    23 views
    0 likes
    Last Post f.saeidi  
    Started by Tim-c, Today, 03:54 AM
    0 responses
    3 views
    0 likes
    Last Post Tim-c
    by Tim-c
     
    Started by FrancisMorro, Today, 03:24 AM
    0 responses
    4 views
    0 likes
    Last Post FrancisMorro  
    Started by Segwin, 05-07-2018, 02:15 PM
    10 responses
    1,772 views
    0 likes
    Last Post Leafcutter  
    Working...
    X