Partial take profit and scale-out calculator

Split partials. Find your true breakeven.

Enter entry, stop and size. Get exact splits, blended R and the true breakeven stop.

Type the entry, stop and size: your exits show as you type.

Open in Workspace →

  • True breakeven after fees
  • Whole-contract futures splits
  • Pine & MQL5 exits
Details: how it works, sources and FAQ

In short

One plan for every exit: sizes, blended R and the real breakeven

ProEA's Partial TP Planner splits a trade into 2 to 5 take-profit exits in your broker's lot step or whole futures contracts, gives the remainder to the last exit, and shows each exit's profit, the size-weighted blended R-multiple, the profit locked after TP1 and the true breakeven stop after commission and slippage. 2 exits are free without signup.

True breakeven

A stop at your entry still costs money

The part of the position still open pays its commission and gives up the spread or slippage when the stop fills.

Sample data: an XAUUSD long, 0.80 lots at 4000.00, stop 3990.00, $7 commission per lot round turn and 0.2 of spread or slippage on a stop exit, 1.00 lot = 100 oz. TP1 closes 0.40 lots at 4010.00 for +$397.20 after commission.

Move the stop on the other 0.40 lots to 4000.00 and a reversal locks +$386.40: those lots pay $10.80 in commission and slippage on the way out. The true breakeven stop is 4000.00 + 0.2 + 7 ÷ 100 = 4000.27 (+0.03R), and a reversal there locks +$397.20, TP1's whole profit.

TradingView's own Pine Script strategies FAQ makes the same point: a trade's real breakeven price is affected by slippage and commission. On futures the planner rounds the stop to the next tick away from the entry, so the rounded price still covers the costs.

Worked examples

Two plans, as the planner computes them

Sample data with example prices, not market quotes. Commission and slippage as listed.

Plan (sample)SplitShares as filledBlended RTrue BE stopLocked after TP1
XAUUSD long 0.80 lots, 50/30/20 at 1R/2R/3R, $7/lot, 0.2 slippage0.40 + 0.24 + 0.1650% / 30% / 20%+1.70R4000.27+$397.20
MNQ long 4 contracts, 40/40/20 at 1R/2R/3R, $1.5/contract, 0.25 slippage1 + 1 + 225% / 25% / 50%+2.25R21001.00+$38.50

Whole contracts can't split 40/40/20 four ways, so the MNQ plan rounds TP1 and TP2 down to one contract each and the runner takes the rest: 25% / 25% / 50% of the size, which lifts the blended R to +2.25R. MNQ: $2 per point, tick 0.25, from CME's contract specification (checked 2026-10-08).

Honest maths

Scaling out changes the payoff, not the edge

Taking partial profits reshapes a strategy's outcomes; it doesn't make the strategy better. In the gold sample, the 50/30/20 plan makes +$1,354.40 if every target fills, where the whole position held to 4030.00 would make +$2,394.40. If price turns after TP1 with the stop at the true breakeven, the plan keeps +$397.20, where the single target ends at its stop (−$821.60) or, with its own stop moved to breakeven, at about nothing.

Which one pays more over many trades depends on how often price reaches each target after your entries. The planner can't know that, and no calculator can: count it in your own journal or backtest, then weigh each exit's R by its hit rate. Blended R is the plan's payoff when every target fills, not a forecast.

All-Access

Exit code written from your plan

Two blocks, made on the server for members from the numbers on screen.

Pine Script v6. One strategy.exit() per exit with the plan's quantity, its limit price and the stop, sent on every bar so the stop moves to the true breakeven once the first exit fills. TradingView's strategy documentation says each strategy.exit() call reserves its own part of the open position, so the quantities must add up to what your entry opens; the planner's always do.

MQL5. A function for your Expert Advisor that reads the position's open volume on each tick, closes each exit with CTrade::PositionClosePartial once its price trades, checks the trade server's return code, and then moves the stop with PositionModify. Volumes are counted in the symbol's SYMBOL_VOLUME_STEP, so an exit is never closed twice. MetaQuotes documents PositionClosePartial for hedging accounts; on a netting account, reduce the position with an opposite deal.

Method

How it works, and what it doesn't do

Sizes are split in whole steps (your lot step, or one futures contract): every exit but the last rounds down and the last exit, the runner, takes the remainder, so the exits always add up. Profit per exit is the move times the money per 1.00 move per lot or contract times the size, less the round-turn commission; take-profits are limit orders, so no slippage is charged on them. Spread / slippage is the price you expect to give up between your stop price and your fill, charged on stop exits only. The true breakeven stop is where the part still open nets zero after its commission and that slippage, rounded to the next tick away from entry. Money is in the symbol's quote currency; swaps, partial fills and gaps through the stop are not modelled.

The math: blended R = Σ(sizeᵢ × Rᵢ) ÷ size · true breakeven stop = entry ± (slippage + commission ÷ money per point)

The planner runs in your browser. For members, the plan numbers on screen are sent to our server to write the Pine and MQL5 exit code; nothing is stored. Your saved items stay in this browser. Updated 19 November 2026.

Questions

Common questions

How do you calculate the blended R-multiple when taking partials?

Multiply each exit's R-multiple by its share of the position and add them up. Closing 50% at 1R, 30% at 2R and 20% at 3R gives 0.5 + 0.6 + 0.6 = 1.7R. The planner uses the sizes after rounding to your lot step or to whole contracts, so the blended R is what your orders would really make if every target fills.

Why is moving the stop to the entry price not breakeven?

Because the part still open pays its commission and gives up the spread or slippage when the stop fills. The true breakeven stop for a long is the entry plus that slippage plus the commission per lot divided by the money a 1.00 move makes on one lot; for a short it is the same distance below the entry. TradingView's Pine Script FAQ makes the same point: the real breakeven price of a trade is affected by slippage and commission.

How do you split partial exits on futures contracts like MNQ, MES or GC?

Only in whole contracts. The planner rounds each exit down to a whole contract and gives the remainder to the last exit, so the exits always add up to your total. Four contracts split 40/40/20 become 1 + 1 + 2, and the planner shows that the shares became 25/25/50. With one contract there is nothing to split: TP1 rounds to zero and the planner says so.

Does scaling out improve expectancy?

Not by itself. Scaling out changes the shape of your results, not your edge: you bank something more often and make less on the trades that run all the way. Whether expectancy rises or falls depends on how often price reaches each target after your entry, which only your own trade records can show. Compare plans with the blended R and your measured hit rate per target.

What does All-Access add to the planner?

Up to 5 exits instead of 2, saved exit playbooks you apply in one click, the multi-account splitter (the same plan across 2 to 10 accounts of different sizes, in whole contracts or lot steps), and copy-ready exit code made from your numbers: a Pine Script v6 strategy.exit block and an MQL5 partial-close function. Playbooks and accounts are saved in this browser.

Is anything I type uploaded?

No. The plan is worked out in your browser, and your last plan, playbooks and accounts stay in this browser's storage. Only a member's request for exit code sends the plan's numbers (prices, sizes and costs) to ProEA's server, which writes the code and doesn't store them.

Related

Data from official sources