Trading a Topstep Trailing Drawdown With an Automated Strategy
To handle Topstep's trailing drawdown with automation, you have your code track the account's peak value in real time, calculate the current loss floor from it, and flatten before price can push you below that floor. Topstep's trailing drawdown is a moving loss limit. As your account makes new highs, the floor trails up under you by the same amount, so your maximum allowed loss follows your best point. Once you've banked enough profit, the floor stops trailing and locks, often at your starting balance. If your account value touches that floor, the account fails. Automation helps because software can watch the peak and the floor every tick and act faster than you can. The exact mechanic can change, so confirm Topstep's current rules before you code the guardrail.
The trailing drawdown changes how an automated strategy has to size and exit. How traders account for Topstep's drawdown mechanics before letting a strategy run on a funded account.
Key points
- A trailing drawdown is a moving loss limit that follows your account's highest value up, so your maximum allowed loss is measured from your best point, not your starting balance.
- On Topstep the floor typically trails the account's peak, including open profit, and then locks once it reaches the starting balance, though the exact basis can change.
- Because the floor moves with your peak, giving back a big open profit can fail the account even if you're still above where you started.
- Automation helps by tracking the peak and recalculating the floor on every tick, then flattening and stopping before the floor is touched.
- A good automated guardrail keeps a buffer above the floor, so slippage and fast markets don't push you through it.
- The trailing drawdown rule and how it's calculated can change, so you confirm the current version before you trust any automation to it.
Frequently asked questions
What is a trailing drawdown in simple terms?
It's a loss limit that moves up with your gains. If your account climbs to a new high, the limit trails up under it, so you're always measured against your best point, not your starting balance. Drop to that trailing line and the account fails.
Why did my account fail even though I was still in profit?
Because the trailing drawdown follows your peak. If you were up a lot and then gave a chunk back, you can hit the trailing floor while still being above your starting balance. The limit remembers your high point.
Does the trailing drawdown ever stop moving?
Usually yes. On Topstep the floor commonly stops trailing once it reaches your starting balance, after which it stays fixed. From that point you have a static loss limit instead of a moving one. Confirm the current rule, since firms adjust this.
How can automation help with a trailing drawdown?
Software can watch your peak account value and the floor every tick, then flatten your position and stop trading before you get close. It reacts faster than a person and doesn't forget the rule mid-trade, which is exactly where manual traders slip up.
How do I see if my strategy survives the trailing drawdown before going live?
You can run a full backtest with AlgoAgent and have it apply a trailing-drawdown floor to the equity curve, so you see where a strategy would have failed. It does the simulation and shows the detailed results, so you learn the weak spots on history instead of on a live account.
Related on Agenticks
This content is for educational purposes only and does not constitute financial advice. Trading involves risk, including possible loss of capital.