Break Even and PnL Panel MMS
- Indicadores
- Versão: 2.20
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.
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.
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.
