Built a risk management add-on that locks you out when you break your own rules — looking for feedback

Hey everyone,

I’ve been trading NQ on NinjaTrader 8 across prop firms for a while, and my biggest problem was never finding setups — it was stopping myself from breaking my own rules after a bad trade.

I’d set a mental daily loss limit, hit it, and then keep trading trying to make it back. One revenge session would wipe a week of discipline. NT8’s built-in risk settings only work with automated strategies, so manual traders are on their own.

So I coded KosyGuard — an add-on that runs as a standalone window alongside your charts. Every order you submit gets checked against your active rules before it hits the market. If any rule is violated, the order is cancelled instantly.

Here’s what it enforces:

Core rules (trigger full lockout until 5 PM EST):

  • Daily Loss Limit — flattens positions and locks you out when your realized + unrealized PnL hits your threshold

  • Daily Profit Target — locks you out when you’ve hit your goal so you don’t give it back

  • Max Trades Per Day — hard cap on round-trip trade count

  • Max Contracts Per Order — prevents accidental oversizing or frustration-sizing

  • Consecutive Loss Limit — X losses in a row = done for the day

  • Intra-Day Trailing Drawdown — tracks your session peak and locks you out if you pull back more than your threshold (similar to how prop firm trailing drawdowns work)

  • Blocked Symbols — block specific instruments you know are bad for you

  • Allowed Trading Days — uncheck any day you consistently lose on

Behavioral controls:

  • Self-Lockout — a “I know I’m tilting” button with 15 min, 30 min, 1 hour, custom time, or “Touch Grass Till EOD” options

  • Emergency Unlock — you can request an unlock, but KosyGuard adds a 15-minute penalty first. If you still want in after 15 minutes, you probably have a clear head. If not, it just saved your account.

  • News Blocking — automatically flattens 5 min before and blocks new entries until 3 min after high-impact events (CPI, FOMC, NFP). Downloads the calendar automatically. Block all countries or USA only.

  • Session Blocking — block Asian, London, NY AM, or NY PM sessions. Only trade during your best hours.

Works with any NT8 account — sim, live, Rithmic, Tradovate, prop firms . Settings survive restarts and the lockout state persists — if you were locked out before closing NT, you’re still locked out when you reopen.

It’s listed on the NinjaTrader Ecosystem search KosyGuard and there’s a 14-day free trial. I built this for myself first, but I think a lot of manual traders deal with the same problem.

Would love feedback from the community — what rules would you add? What’s missing?

Link: https://kosyguard.potomactriangle.com

Discord: discord.gg/DQj6dfyAgs

Copying it here too… If you have to pay $30 a month for some app to prevent you from trading then you probably should not be trading.

1 Like