Trade management decides how much of a move you keep. These three tools are the most requested: break-even, trailing stop and partial close. This article explains each one, how they combine, and what to settle before asking for them in an EA.
Break-even
When price moves a set distance in your favour (for example 1R), the stop loss moves to the entry price, plus a small buffer to cover costs. Here R means your initial risk, the distance from entry to the original stop.
The buffer matters. If the stop sits exactly at entry, spread and commission can turn a break-even exit into a small loss. A few points of buffer cover that. The trade-off is that a tight break-even can stop you out on a normal pullback before the trade develops, so the trigger distance needs testing.
Trailing stop
The stop follows price at a distance: fixed points, ATR, a moving average, or the last swing high or low. It only moves in your favour.
- Fixed points: simple, but ignores changing volatility.
- ATR-based: the distance grows in volatile markets and shrinks in quiet ones.
- Moving average: the stop follows a line such as an EMA, which suits trending trades.
- Swing high or low: the stop sits behind the last structure point.
A tight trail locks in gains but gets stopped out often. A loose trail gives the trade room but gives back more. Neither is better in general, and the right choice depends on the strategy.
Partial close
Part of the position is closed at a first target, for example half at 1R, and the rest runs with a trailing stop. This reduces risk early and keeps some exposure to a larger move. The cost is that the remaining part is smaller, so a big winner pays less than it would have with the full size.
How the three work together
A common sequence looks like this: at 1R, close half and move the stop to break-even; then trail the rest. Each step is a rule the EA follows without hesitation. You can also add a time exit, which closes a trade that has gone nowhere after a set number of bars.
- Enter with a fixed stop and a risk-based lot size.
- At the first target, close a set share of the position.
- Move the stop on the rest to break-even plus buffer.
- Trail until the stop is hit or an exit signal appears.
Practical problems to plan for
- Minimum lot size: if you trade 0.01 lots, you cannot close half. The EA has to skip the partial close or round it.
- Stop level limits: brokers set a minimum distance between price and stop. Moves closer than that are rejected.
- Broker modification limits: too many stop updates may be refused, so the EA should update only when the stop moves by a meaningful step.
- Netting accounts: positions merge per symbol, so partial closes work differently from hedging accounts.
Adding these to your EA
If you already have an EA, we can add this logic through our changes and upgrades service. For a new EA, the EA development page lists the scope. Pricing starts at Rs 3,000 for simple work, as shown on the pricing page. Trade management cannot turn a losing strategy into a winning one, it only changes how the same entries are handled, so test each option on long data. You can read about the dangers of loss-averaging approaches in grid and martingale risks.
Choosing values
There are no standard best values. A break-even trigger of 1R may suit one strategy and cut another short. A good way to choose is to test a small set of options on the same long data and compare not only profit but also drawdown and the number of trades stopped at break-even. If a setting only works in one narrow range of values, it is probably fitted to the past, and should be treated with caution.
- Change one setting at a time so you know what caused the difference.
- Keep the same entry rules in every test.
- Include spread and commission in the results.
- Check results in trending and in ranging periods.
Also think about how the settings behave on different symbols. A fixed distance of 50 points means very different things on gold and on a currency pair, which is another reason ATR-based distances are popular. Make the EA settings clear and well named, so you can adjust them later without guessing what each one does.
Frequently asked questions
Does break-even improve results?
Not necessarily. It reduces the chance of a winner turning into a loser, but it can also cut trades that would have recovered. Test it on your strategy.
Can I use all three together?
Yes. Many EAs use a partial close at the first target, move to break-even, and trail the remainder.
Will it work on my account type?
Usually, but netting accounts and some brokers have limits. Send us your broker and account type on the contact page.