NexusFi: Find Your Edge


Home Menu

 





NT Overfilling


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 1 posts (1 thanks)
    2. looks_two zeller4 with 1 posts (0 thanks)
    3. looks_3 togier with 1 posts (0 thanks)
    4. looks_4 sam028 with 1 posts (1 thanks)
    1. trending_up 3,452 views
    2. thumb_up 2 thanks given
    3. group 6 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 togier 
Boston, MA
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB
Trading: EUR/USD
Posts: 42 since Apr 2010
Thanks Given: 1
Thanks Received: 3

I'm in the process of testing an automated strategy and I've run into a problem with NT. I don't fully understand what is going on other than to say that it's an overfill issue. The strategy that I am running only trades long but some how after overfilling places a short trade in an attempt to correct things. Has anyone run into this before and if so, how did you fix it? What are your order handling options? Thanks


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The Backwardation Signal: How the CL Futures Curve Tells …
Commodities
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
CFTC Advances Prediction Markets Regulation -- Chairman …
Prediction Markets & Event Contracts
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632


The best way to avoid this behavior is use "unmanaged orders" instead of "managed orders".
The Ninja logic during backtests or realtime simulation with a demo account is sometimes not very reliable.


Success requires no deodorant! (Sun Tzu)
Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,557

Here are some examples:





Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #5 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 478 since Jun 2009
Thanks Given: 1,419
Thanks Received: 404

Hello,

I wrote an NT Support Forum post to further my education on solving Overfills in NT strategies.

Cancelling Target Orders when Stops are filled/Overfill/OCO handling - NinjaTrader Support Forum
Post #13.

Any programmers who understand the Managed method for avoiding Overfill? I'll do another version to check OnExecution as I suspect the problems could surface there too. I want to force overfills in this trial so I can understand how to code around the potential problem...

Thanks for any help you can offer.

kz


Reply With Quote
  #6 (permalink)
 erk707 
Irvine, CA
 
Experience: Intermediate
Platform: Ninjatrader
Trading: Piano, ES, GC, CL, NQ, 6E
Posts: 21 since Feb 2011
Thanks Given: 5
Thanks Received: 4


zeller4 View Post
Hello,

I wrote an NT Support Forum post to further my education on solving Overfills in NT strategies.

Cancelling Target Orders when Stops are filled/Overfill/OCO handling - NinjaTrader Support Forum
Post #13.

Any programmers who understand the Managed method for avoiding Overfill? I'll do another version to check OnExecution as I suspect the problems could surface there too. I want to force overfills in this trial so I can understand how to code around the potential problem...

Thanks for any help you can offer.

kz

zeller4, were you successful with creating a strategy that forced overfills with a sim account. I'm working on a similar problem and saw you posted on NT forum. If you have any examples of how you wrote your OnExecution overfill handling I would really appreciate it.


Reply With Quote




Last Updated on August 29, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts