Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Orders ignored

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

    Orders ignored

    I am getting multiple orders ignored, not sure why. I have the following set in my Initialize() menthod

    EntriesPerDirection = 1000000;
    EntryHandling = EntryHandling.AllEntries;

    Here are the error messages I get:

    17-May-09 12:33:04 PM Entered internal PlaceOrder() method at 17-May-09 12:33:04 PM: Action=SellShort OrderType=Limit Quantity=25 LimitPrice=53.77 StopPrice=0 SignalName='Target1' FromEntrySignal=''
    17-May-09 12:33:04 PM Entered internal PlaceOrder() method at 17-May-09 12:33:04 PM: Action=SellShort OrderType=Limit Quantity=25 LimitPrice=54.27 StopPrice=0 SignalName='Target2' FromEntrySignal=''
    17-May-09 12:33:04 PM Ignored PlaceOrder() method at 17-May-09 12:33:04 PM: Action=SellShort OrderType=Limit Quantity=25 LimitPrice=54.27 StopPrice=0 SignalName='Target2' FromEntrySignal='' Reason='Exceeded entry signals limit based on EntryHandling and EntriesPerDirection properties'

    What am I doing wrong?

    #2
    Hello,

    How many orders per direction are you using when you attach the strategy?

    Also is your balance getting low? Your target orders take up margin. This link may help:
    DenNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ben View Post
      Hello,

      How many orders per direction are you using when you attach the strategy?

      Also is your balance getting low? Your target orders take up margin. This link may help:
      http://www.ninjatrader-support.com/H...verview36.html

      I am attaching 3 target orders.

      Comment


        #4
        monpere, have you checked you actually use those settings EntryPerDirection settings when you start up the strategy?

        Comment


          #5
          Originally posted by NinjaTrader_Ben View Post
          Hello,

          How many orders per direction are you using when you attach the strategy?

          Also is your balance getting low? Your target orders take up margin. This link may help:
          http://www.ninjatrader-support.com/H...verview36.html
          Here is my Initialize() method. How else do I make sure?

          protected override void Initialize()
          {
          CalculateOnBarClose = false; //### False for tick by tick management
          EntriesPerDirection = 1000000;
          EntryHandling = EntryHandling.AllEntries;

          TraceOrders = true; //### For debugging
          }

          Comment


            #6
            Thanks - when you start the strategy from the strategies tab or chart you want to make sure those settings are used under the 'Order Handling' section of the 'New Strategy' dialog box. Do you see the same issue regardless of which CalculateOnBarClose setting you use?

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            83 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            47 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            66 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X