Install and set up Prop Rule Guard

For NinjaTrader 8 (8.1 or later). Prop Rule Guard only sounds alarms. It never places, changes or closes an order. You decide what to do.

1. Install

  1. Open NinjaTrader 8.
  2. In the Control Center, click Tools → Import → NinjaScript Add-On…
  3. Pick the file you downloaded, PropRuleGuard.zip, and click Open. Don't unzip it first.
  4. NinjaTrader says the import worked. Click OK.
  5. If it says it can't import, close every chart and try again. Still stuck? Send us a screenshot of the message.

2. Put it on a chart

  1. Open a chart of the contract you trade (for example MNQ 12-26). Any time frame works.
  2. Right-click the chart and choose Indicators…
  3. In the list on the left, double-click Prop Rule Guard.
  4. Fill in the settings (section 3) and click OK.
  5. A box appears at the top left of the chart: "Prop Rule Guard 1.0.0 (alarms only; you decide what to do)". It starts checking

once the chart has live data.

Put it on one chart for each contract you trade. All charts share their alarms, so each problem sounds once.

3. Settings

Every limit is yours. Each one is off (0 or blank) until you set it. Use the numbers from your firm's rules page and your own plan.

GroupSettingWhat to enter
1. AccountsAccounts to watchAccount names exactly as NinjaTrader shows them, separated by commas. Blank = every connected account
Ignore simulation accountsTick to skip accounts whose name starts with "Sim"
2. Your limitsMax loss for one trade, $The most one trade may lose
Warn at this % of a loss limitA first warning before the limit (default 75%)
Daily loss limit, $The most the account may lose today, closed plus open
Contract limit, minisThe most contracts the account may hold. Micros count as part of a mini
Micros per miniUsually 10. Check your firm's rule
Minutes a losing trade may stay openYour own time limit
3. Drawdown floorDrawdown floor per accountAccount = balance; Account2 = balance. Copy the floor (liquidation threshold) from your firm's dashboard. A trailing floor moves, so update this when your firm's number changes
Alarm when this many $ are left above the floorDefault $500. A warning comes at twice this
4. Give-backGive-back alarm once a trade has been up $Off unless set
Alarm when this % is given backDefault 50%
5. Long/short across accountsAlarm when one account is long and another shortOn by default. Many prop firms prohibit this
Count all US stock-index futures as one marketOn = long MNQ in one account and short MES in another also alarms. Turn off if your firm only counts the same contract
6. AlertsSound fileA file in NinjaTrader's sounds folder, or a full path. Blank = no sound
Repeat a limit alarm every N secondsDefault 20. 0 = once
Phone alerts: your ntfy topicOptional, see section 4

Important:

  • Daily P&L and net liquidation come from NinjaTrader's account data. Check once that they match your firm's dashboard. Firms compute drawdown in their own ways (end of day, intraday, trailing), and only your firm's number counts.
  • With several account types, add the guard twice with different "Accounts to watch" and different limits.
  • Alarms need NinjaTrader open, connected and with a live chart. They can't fire if NinjaTrader, your connection or your computer is down.

4. Phone alerts (optional)

  1. Install the free ntfy app on your phone (from ntfy.sh).
  2. In the app, subscribe to a topic name that's hard to guess, for example guard-k7q2-yourname. Anyone who knows a topic name

can read it.

  1. Type the same topic into Phone alerts: your ntfy topic and click OK.
  2. Each alarm is sent once to your phone. Prop Rule Guard sends only the alarm text: the account name, the contract and the P&L.

5. What the colors mean

  • Black box: no alarms.
  • Yellow (WARNING): you're near a limit, or past a limit with no position open.
  • Red (LIMIT): a limit is reached while a position is open. It repeats until the cause is gone.

6. Remove it

Right-click the chart → Indicators… → select Prop Rule Guard → Remove. To uninstall, use Tools → Remove NinjaScript Assembly… and pick PropRuleGuard.