Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IOrder value for "Ignored PlaceOrder"

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

    IOrder value for "Ignored PlaceOrder"

    I am having a problem trying to debug some misbehaviour in my strategy. Under certain conditions (yet to be pin pointed), my code that creates stops and targets in OnExecution does not execute. I believe the following scenario may be the cause:


    My question: Assuming the IOrder variable (entryOrder_1) already has a value, is it overwritten with a null value from the line of code below, if that statement resulted in this output message:
    28/10/2009 9:58:41 PM Ignored PlaceOrder() method at 28/10/2009 9:58:41 PM: Action=SellShort OrderType=Limit Quantity=1 LimitPrice=0.9271 StopPrice=0 SignalName='Short_1' FromEntrySignal='' Reason='Exceeded entry signals limit based on EntryHandling and EntriesPerDirection properties'
    entryOrder_1 = EnterShortLimit(0,true, targetQuantity, upperBandEntry, "Short_1");

    Background: The limit order statement above is executed on the next tick after a market order has just been submitted...but before receiving the confirmation that the market order has been filled.

    #2
    astrolobe, no you would set it back to null for example when cancelled without a fill, I believe you run into this as the market order entry is registered and then your new limit entry is ignored as your EntryHandling settings won't permit it - http://www.ninjatrader-support.com/H...yHandling.html

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, Yesterday, 10:06 AM
    0 responses
    22 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    19 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    14 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    10 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    41 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X