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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            32 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, Yesterday, 02:41 AM
            0 responses
            14 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            23 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            40 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            34 views
            0 likes
            Last Post CarlTrading  
            Working...
            X