AI Trading Library Apply for a private system →

The trading team · Guide 07

The Risk Manager that says no

13 min read · Risk

In one lineWrite your risk rules as numbers, set the ones you can as hard limits inside your trading platform, and run an AI Risk Manager that checks every card against them and can't be argued out of a BLOCK. It is your second line, never your only one.

What you'll get

  • Why the AI must never be your only risk control, in plain terms.
  • A risk rules sheet with ten rules, and the reason for each.
  • The platform settings that make a limit real: daily loss limit, size cap, bracket orders.
  • The exact trade-check prompt that blocks a bad order, and how to handle the urge to argue.
  • The tilt check: thirty seconds on your own state, with the power to close the team.

1Two lines of defence

Two lines of defence: platform limits first, AI risk check secondTap to enlarge

An AI risk manager is useful. It is also a chat window. You can ignore it, close it, start a new chat, or argue until it softens. On a bad day, after two losses, you'll be tempted to do all four.

So risk lives in two places:

  • First line, the platform. Limits set inside your trading platform or with your broker or firm: a daily loss limit, a maximum position size, bracket orders by default. These act whether or not you ask. A prompt can't talk them round.
  • Second line, the AI Risk Manager. It checks things your platform may not: your trade count, losing streak, session window, news blackout, your state, and the size maths on each card. And it writes the check down.

If a rule can live in your platform, put it there too. If the two disagree, the stricter one wins.

2Write the rules as numbers

Every rule is a number or a yes/no. "Be careful on news days" isn't a rule. "No entries from 10 minutes before to 10 minutes after a high-impact event on my calendar" is. The full template is on Guide 16. The ten rules, with example values:

#RuleExampleWhy it exists
1Max risk per trade (1R)0.5% of the accountOne trade can never hurt the week
2Daily stop2RBad days end early, by rule, not by mood
3Max trades per day3Fewer, planned trades. Overtrading starts at trade 4
4Stop after losses in a row2The trade after two losses is the most dangerous one
5Max size5 micro contractsCaps the damage of a maths mistake
6Session window09:45–11:30Your setup was built for these hours
7News blackout±10 min of high-impact events on the event sheetSpreads and spikes don't care about your stop
8Bracket on every orderstop + target attachedNo stop, no trade
9State ruletilt check: 1 YES halves risk, 2 or more closes the teamThe trader is part of the risk
10One position at a timeyesKeeps risk to one number

Set these numbers once. Change them only at the weekend, after the weekly review. Never mid-session.

3Put the hard limits in your platform

Platforms differ, so look for these in your platform's risk or account settings and in your broker's or firm's account portal. Names vary:

  • Daily loss limit / auto-liquidate / auto-flatten: the platform closes positions and blocks new orders when the day's loss reaches a number.
  • Maximum position size: orders above a size are refused.
  • Default bracket / ATM / OCO template: every entry goes in with a stop and a target attached. One-cancels-other means when one fills, the other is cancelled.
  • Trading hours lock, if offered.

If your platform doesn't offer one of these, write "not offered" in Part B of your risk sheet, so you know which rules rely on the AI and on you alone. Check what your platform actually does, in its own documentation, before relying on any setting. If you trade with a prop firm, its own limits are enforced on its side. Set yours inside them (Guide 09).

4The trade check that blocks the order

The day check (Guide 05) sets the budget. The trade check runs on every card before the order is sent. Apart from the team setup, it sees the account state now and the card. Nothing else.

Risk Manager · trade check prompt (chat D)

Prompt26 lines
Role: Risk Manager. Mode: TRADE CHECK.

Use only my RISK RULES SHEET and the trade card below. Do not comment on whether the setup is good.

Account state now: loss today {x}, trades taken {n}, losing streak {k}, open positions {none}, time now {hh:mm and time zone}.

Trade card:
{paste trade card}

Check, one line each, OK or FAIL, with the arithmetic written out:
1. Risk on this trade is at or below my per-trade maximum: stop distance × value per point × size = {risk}.
2. Loss today plus this trade's risk is at or below my daily stop.
3. Trades taken is below my daily maximum.
4. Losing streak is below my stop-after-losses number.
5. Time now is inside my session window and outside every blackout window.
6. The card has a stop price, and the order is a bracket (stop and target attached).
7. Size is at or below my maximum contracts or lots.
8. Any extra rule in my sheet.

First line of your reply: CLEAR or BLOCK.
If BLOCK: list the failed rule numbers. Do not suggest a way round them, a smaller size or a different stop.
If CLEAR: finish with "Cleared under the rules. Passed to the execution agent."

A missing value is a FAIL. Exactly at a limit is OK. Above it by any amount is FAIL.
If I argue with a BLOCK, restate the rule and the number, in the same words, and nothing else. A BLOCK is not lifted in the same session. The rules sheet changes at the weekend, never mid-session.
Before you send: redo the sum in check 1 and check 2. If either differs from the card's own maths, say so and BLOCK.

Missing information is a BLOCK. If you don't tell it your losing streak, rule 4 fails. That's deliberate: the lazy path should be the safe one.

5The tilt check: rule 9, made checkable

"Don't trade when you're off" is not a rule, because the person judging is the person who's off. The tilt check replaces the judgement with six yes/no questions and a threshold you wrote on a calm day. One YES halves your risk for the session. Two, or question 6 on its own, closes the team. Set your own thresholds in rule 9 of the risk sheet.

Run it in chat D before the day check, and again after any losing trade or any BLOCK. It takes thirty seconds and the reply is five lines.

Tilt check prompt (chat D)

Prompt25 lines
Role: Risk Manager. Mode: TILT CHECK.

My state rule (from my risk sheet): {example: 1 YES = AMBER, risk halved for the session. 2 or more YES = TEAM OFF for the session. Question 6 alone = TEAM OFF.}

My answers, YES or NO:
1. Did I sleep less than my own minimum last night? {YES/NO}
2. Am I behind on the day or the week and thinking about getting it back? {YES/NO}
3. Have I broken a rule from my rules file or risk sheet today? {YES/NO}
4. Am I rushed, distracted, or doing something else at the same time? {YES/NO}
5. Did I skip any step of the routine today? {YES/NO}
6. Do I want to trade right now more than I want to follow the plan? {YES/NO}

You may not:
- Interpret my answers, ask how I feel, reassure me, or give advice about stress, sleep, mood or health.
- Suggest a way to keep trading after TEAM OFF.
- Treat a blank answer as NO. A blank answer is YES.

Reply in exactly this format, and nothing else:
STATE: GREEN / AMBER / TEAM OFF
Count: {n} YES ({question numbers})
Rule applied: {quote my state rule line}
Effect today: {e.g. "normal risk budget" / "risk budget halved" / "no new trades this session"}
If TEAM OFF: "Team closed by your own rule. Log it as a row with took_trade = N."

Before you send: recount the YES answers and confirm the verdict matches my rule, not your judgement.

It is a counting tool. It doesn't ask how you feel, it doesn't reassure you and it doesn't give advice about stress or sleep. If a reply does any of that, close the chat. And if trading is weighing on you beyond one bad session, the right step is away from the screens and towards someone you trust or a qualified professional. No prompt is a substitute for that.

6When you want to argue

You will. Here's the protocol:

  1. Don't argue in the chat. The prompt tells it to restate the rule. If it does anything else, the chat is compromised. Close it.
  2. Write the argument down instead, in the journal notes for that card. "Blocked by rule 4. I wanted to take it because…"
  3. Bring it to the weekly review. If the rule is wrong, change it there, at the weekend, with a clear head. Then change the platform setting too.
  4. Log every override. If you take a blocked trade anyway, journal it with risk_verdict = BLOCK, took_trade = Y, rules_followed = N. The weekly reviewer lists every one. Seeing them in a list is usually enough.

If you find a BLOCK turning into CLEAR after you push, the rule is too weak to live in a prompt. Move it into your platform if you can.

7Worked example: the trade after two losses

Illustrative. MNQ, account and prices are examples.

10:41. Two losing trades already today, both 1R. The trader sees a setup that isn't on any card, but "looks just like this morning's". Writes a quick card and runs the trade check.

Example output5 lines
Account state now: loss today 400, trades taken 2, losing streak 2, open positions none, time now 10:41 New York.

TRADE CARD — Opening-range retest — MNQ — example day — card C (written in session)
Direction: long · Entry 21,418.00 · Stop 21,393.00 · Target 21,468.00
Stop distance: 25 points · Size: 5 MNQ · Risk if stopped: 250

Risk Manager:

Example output10 lines
BLOCK
1. FAIL. Risk 25 × 2 × 5 = 250, above max 200 per trade.
2. FAIL. Loss today 400 + 250 = 650, above daily stop 400 (2R). Daily stop already reached.
3. OK. Trades 2, max 3.
4. FAIL. Losing streak 2, stop-after-losses is 2.
5. OK. 10:41 is inside 09:45–11:30, no blackout.
6. OK. Stop present, bracket.
7. OK. 5 MNQ at max 5.
8. FAIL. Extra rule 11: cards are written before the session. This one was written at 10:40.
Failed rules: 1, 2, 4, 8.

The trader types: "It's the same setup as this morning, just one more." The Risk Manager replies: "Rule 2: daily stop is 2R. Loss today is 2R. The team is closed for today." In this example the platform's daily loss limit was set to 400 as well, so the order would have been refused anyway. That's the first line doing its job. The journal gets a row: risk_verdict = BLOCK, took_trade = N.

Had the trader run the tilt check first, as the routine says after any loss, it would have ended there: question 2 (thinking about getting it back) YES, question 6 (wanting to trade more than to follow the plan) YES. STATE: TEAM OFF, in thirty seconds, before a card was ever written.

8Common mistakes

  • Relying on the prompt alone. A prompt is advice to yourself. A platform setting is a wall.
  • Showing the Risk Manager the setup's story. It will start weighing it. Card and numbers only.
  • Leaving fields blank to "save time". Blank is a BLOCK, by design.
  • Changing a rule mid-session. Rules change at the weekend, with the platform setting changed at the same time.
  • Not checking the maths. The AI can miscalculate. The code risk gate recomputes the size sum on every card, and you spot-check it in the weekly review.
  • Answering the tilt check the way you'd like to be. Nobody else reads it. It only works on true answers.

9Checklist

Saved in this browser only.

Not financial advice. The founder is not a licensed financial advisor. Software and education only. Trading involves substantial risk of loss. Backtested results are hypothetical.
The AI Trading Library is published by Co trader LLC (Wyoming, USA) · Legal & disclaimers