BrioQuant Break Even
- Indicateurs
-
Mitchell Dean Ede
Trader and toolmaker, working with the markets since 2010. BrioQuant builds clean MetaTrader 5 chart tools for traders who want useful context without clutter. Each indicator does one job properly, exposes every setting in plain language, and leaves the trading decisions to you. Every tool is - Version: 1.0
One line showing where every open trade on this symbol, taken together, comes out flat. Scale into a position five times and the line tells you the price you need back, with the live P&L beside it.
It is the break-even, not the average entry
Averaging the entry prices is not the price that makes you flat. Swap accrues nightly and commission is charged on every lot, so the real break-even sits above the average entry on a long book and below it on a short one, and it drifts as swap builds. This solves for the price where the total is actually zero.
How it is worked out
- The price is solved with MetaTrader's own profit calculation, so it follows each symbol's calculation mode rather than assuming one
- A long closes on the bid and a short closes on the ask, and each is priced on its own side, so the line means what the chart shows
- The result is checked before it is drawn. If it cannot be verified on your symbol, no line appears rather than a wrong one
- The price is rounded to a tick you could actually trade
Hedged books
If your buys and sells cancel out there is no price that makes you flat, and the indicator says so instead of drawing a line that cannot be right. A genuine residual of one lot step still gets a line.
The label
Floating beside the line, offset clear of it so both stay readable: break-even price, net lots and number of trades, distance from the current price in points, and live P&L in your account currency. It turns green in profit and red in loss.
Notes worth reading
Commission is taken from the input rather than read from the position, because current MetaTrader builds no longer expose a position's commission. Set it to your broker's round-turn cost per lot and the line accounts for it. Leave it at zero and the line is swap-adjusted only.
Spread is taken as it is now. On a hedged book the two sides close on opposite sides of the quote, so a widening spread moves the line slightly.
Read-only. It never places, modifies or closes a trade, and it gives no entry or exit signals. It shows you where you stand.
Related
How to work out your lot size from your stop loss in MT5 covers the arithmetic behind that, and why spread and commission belong in the number. Hedging and netting accounts in MT5 explains why the same set of entries is one net position on some accounts and several ticketed legs on others, which is exactly what this line has to price correctly either way.
Inputs
What counts
- Include accrued swap - on by default. Swap is real money already charged or paid on the open legs, so leaving it in is what makes the line the price you actually get out flat rather than the price the entries average to.
- Round-turn commission per lot - your commission in account currency. It is an input rather than read from the position because MetaTrader deprecated the per-position commission field. Default 0.00.
- Also show with a single open trade - keep the line and label visible when only one position is open.
Line
- Break-even line colour (lime by default), line style and line width.
Label
- Show the label, and independently show live P&L, show distance to break-even and show net lots and trade count - so you can trim the readout to just the part you watch.
- Label font size - default 10.
- Bars past the newest candle to float - how far right of price the label sits. Default 2.
- Gap between line and label - in pixels, so the offset holds its spacing at any zoom level. Default 10.
- Put the label above the line - or below it, if price usually sits above.
Colours
- Label colour in profit, in loss and when flat - so the state reads at a glance without checking the number.
Instance
- Unique tag - set a different tag on each copy when running two or more on one chart. Default BE1.
