Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Overfilling error

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

    Overfilling error

    I have no programming notions but I have learned very well to use the strategy wizard of Ninjatrader 7. I use a strategy that has not given me any problems so far but tonight it gave me an over filling message (and luckily it closed all the orders ). I enter a stop at a certain level and use the barsinceentry(2) exitlongposition to be sure to leave the market (having a take profit and a normal stop loss in the past has given me many problems because I work on breakouts and the movements are so fast that sometimes the system did not have time to place the orders of take profit and stop loss and remained in the market even if not wanting it). Tonight I had set the strategy with 2 contracts. This is a simple strategy that: SET1 enter stop long at a price level; set 2: bar since entry 2 - exit long posistion.
    Can you help me?

    #2
    Hello.

    Thanks for the note, and welcome to the NinjaTrader forum.

    Please see this forum post from my colleague where he explains what overfill is and how to handle overfill in your script:



    The post above contains all the information needed to identify and handle overfill error. Note: you will need to unlock your code to implement overfill handling.

    Please let us know if we may be of any further assistance.
    Last edited by NinjaTrader_ChrisL; 03-26-2018, 12:29 PM.

    Comment


      #3
      Thank you very much. I have read all the Threads with great interest
      I understand more or less what an overfilling is. What I do not understand is why I have this error on my very simple strategy. I go long with a stop order and close at market after 2 bars. What's the problem?

      Comment


        #4
        Hello.

        Thanks for the reply.

        I will need to look at your log files to see why an overfill occurred in this instance.

        Please send me your log and trace files to*platformsupport[at]ninjatrader[dot]com.*
        You can do this by going to the Control Center-> Help-> Mail to Platform Support.
        Please reference the following in the email body:*ATTN ChrisL <Paste forum link here>

        I look forward to your reply.

        Comment


          #5
          Thank you! I sent the trace to support!
          I would like to know how I can do to be sure that after 2 bars (Barsinceentry = 2) all positions are closed regardless of over filling .
          Thank you again!

          Comment


            #6
            Hi Chris! I sent you the trace and the strategy. Have you any news? Thank you!

            Comment


              #7
              Hi Chris! Sent trace, strategy and log! Can you tell me something today?

              Comment


                #8
                Hello.

                Thanks for the follow up.

                I am reviewing now.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by CarlTrading, 03-31-2026, 09:41 PM
                1 response
                43 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 04-01-2026, 02:41 AM
                0 responses
                20 views
                0 likes
                Last Post CarlTrading  
                Started by CaptainJack, 03-31-2026, 11:44 PM
                0 responses
                30 views
                1 like
                Last Post CaptainJack  
                Started by CarlTrading, 03-30-2026, 11:51 AM
                0 responses
                48 views
                0 likes
                Last Post CarlTrading  
                Started by CarlTrading, 03-30-2026, 11:48 AM
                0 responses
                38 views
                0 likes
                Last Post CarlTrading  
                Working...
                X