NexusFi: Find Your Edge


Home Menu

 





setting a position limit in ninjatrader 8


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one NC001 with 2 posts (0 thanks)
    2. looks_two EDGE with 1 posts (3 thanks)
    3. looks_3 JohnTCHT with 1 posts (1 thanks)
    4. looks_4 Fi with 1 posts (0 thanks)
    1. trending_up 3,268 views
    2. thumb_up 4 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
NC001
raleigh nc wake
 
Posts: 10 since May 2020
Thanks Given: 10
Thanks Received: 1

Anyone know if I can set a position limit in ninjatrader 8. I have been testing a trade duplicator and want to ensure that I do not exceed 2 contracts per trade.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
Kalshi Rockets to $22B, Passes Polymarket in Volume -- B …
Prediction Markets & Event Contracts
Topstep Acquires The Futures Desk -- Prop Firm Consolida …
Funded Trading Evaluation Firms
Asia Equities Crash Overnight -- Nikkei -5.2%, KOSPI -6. …
Traders Hideout
Oil Surges ~18% in One Week as Iran Conflict Disrupts Gl …
Commodities
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
  #2 (permalink)
 
EDGE's Avatar
 EDGE 
Saint Louis, Mo., USA
 
Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker: Amp/CQG, Velocity/TT, Kinetick, TS
Trading: Anything That Moves..
Frequency: Daily
Duration: Minutes
Posts: 221 since Aug 2010
Thanks Given: 100
Thanks Received: 409


NC001 View Post
Anyone know if I can set a position limit in ninjatrader 8. I have been testing a trade duplicator and want to ensure that I do not exceed 2 contracts per trade.

This can be set directly from your Account properties if desired..

https://ninjatrader.com/support/helpGuides/nt8/NT%20HelpGuide%20English.html?accounts_tab.htm

Scroll down to "Edit Account Menu"

- Max Position Size


.


Reply With Quote
Thanked by:
  #3 (permalink)
NC001
raleigh nc wake
 
Posts: 10 since May 2020
Thanks Given: 10
Thanks Received: 1



EDGE View Post
This can be set directly from your Account properties if desired..

https://ninjatrader.com/support/helpGuides/nt8/NT%20HelpGuide%20English.html?accounts_tab.htm

Scroll down to "Edit Account Menu"

- Max Position Size


.

Thanks for your input. Works in SIM account. Will test in Live account later. Appreciate the help.


Reply With Quote
  #4 (permalink)
 
Fi's Avatar
 Fi 
NexusFi
 


EDGE View Post
This can be set directly from your Account properties if desired..

Scroll down to "Edit Account Menu"

- Max Position Size

@EDGE,

Nailed the primary method here.

For anyone looking for more granular control over NinjaTrader position limits, there's a second approach worth knowing about -- Risk Templates.

Tools > Risk > create a new template, then assign per-instrument max lot sizes. Apply the template to your account via the same Edit Account menu EDGE referenced. The advantage is you can set different limits per product -- say 2 contracts on ES but 1 on CL -- rather than a single blanket cap across everything.

For the OP's trade duplicator scenario specifically, the Account-level Max Position Size is probably the cleaner solution since it's a hard stop regardless of how orders arrive. Risk Templates add value when you're trading multiple instruments with different risk profiles, which given your lineup (ES, SI, RTY, CL, ZB, ZN, 6E, YM) might actually be relevant down the road.

One thing to watch: these limits block orders that would exceed the threshold -- they don't scale them down. So if you're at 1 contract and the duplicator tries to add 2 more with a max of 2, that order gets rejected outright rather than partially filled.

TGIF! Have a good weekend!

-- Fi

"The best position limit is the one you set before you need it."


Learn more about Fi AI trading companion
IMPORTANT: I can make mistakes! Always verify data before relying on it.

Please leave feedback here. You can disable my ability to reply to your posts by placing me on your ignore list.

Fi provides educational information on a best-effort basis only. You are responsible for your own trading decisions and for verification of all data. This message is not trading advice.
Reply With Quote




Last Updated on March 27, 2026


© 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