Break-Even and PnL Panel shows where all your open trades on a symbol break even, and what they are worth right now, in one compact panel on the chart. It is designed for traders who scale in with several positions and need one clear number instead of adding trades up by hand.
The indicator is read-only. It never opens, modifies or closes a trade.
WHAT THE PANEL SHOWS
- Account: account type detected automatically (Cent, Standard, or Raw + commission).
- Net PnL: combined profit or loss of all open trades on the symbol, after swap and commission.
- If closed: Net PnL after the commission charged on exit (shown only on commission accounts).
- Today: trades closed today plus open trades, using the broker's server day.
- Pips: lot-weighted pips across all trades, plus the simple total.
- Break-even: the price at which all trades together net to zero after costs, with net lots.
- Buy avg / Sell avg: lot-weighted average entry of each side.
- Distance: how far the current price is from break-even, in price and points.
- At SL: total result if every stop loss is hit, with % of balance. Warns when any trade has no stop loss.
- At TP: total result if every take profit is hit. Each trade is calculated at its own level.
- Liquidation: estimated price at which the account reaches the broker's stop-out level, and the distance to it.
ON THE CHART
- A dashed break-even line that moves only when trades are opened, closed or charged swap.
- Optional buy and sell average lines.
- An optional dark red dashed line at the estimated liquidation price.
FEATURES
- Updates on every tick and every half second.
- Handles buys and sells together (hedging), partial closes and different SL/TP per trade.
- Cent accounts show values in cents with the USD amount alongside.
- Commission is read from your actual deals, so no manual input is needed. Exit commission is detected from your trade history.
- Colours adapt automatically to light and dark chart backgrounds.
- The panel has a title bar and can be dragged anywhere on the chart. Its position is remembered per chart.
- Rows can be switched on or off in the inputs.
- Magic number filter to track a single EA's trades, or -1 for all trades including manual.
NOTES
- In the Strategy Tester the panel shows "no open positions" until trades are opened. Its values appear as soon as positions exist.
- Default pip size for gold is 0.10 and can be changed in the inputs.
- The indicator does not use DLLs or internet connections.
- The liquidation price is an estimate. It assumes only the chart's symbol moves; open trades on other symbols also affect equity. Brokers close positions one at a time at stop-out, and spreads can widen or prices gap during news, so stop-out may occur earlier than shown.
It's a useful kit that provides quick results for your trades, including intraday performance. One suggestion is to allow resizing of the box, enabling users to adjust it as needed.
Well done, Mr Masood.