ALGOFX / METATRADER 5 UTILITY

Set the risk.
Skip the math.

Set your risk once. The panel sizes every position from your broker’s contract data, places SL and TP for you, and keeps the math off your notepad.

Version 1.0FreeNative MQL5Available on MQL5
Download free on MQL5Free · MetaTrader 5
AlgoFX Risk PanelMETATRADER 5 UTILITY · V1.0
◉ Free on MQL5
XAUUSD M15 / Risk studyRISK FIRST. SIZE SECOND.
2,648.30ENTRY · 2,648.30TP 2,658.30 · +$200.00 · 2.0RSL 2,643.30 · −$100.00 · 500 ptsLONDONNEW YORK
AlgoFX Risk PanelXAUUSD
Lot size
0.20
Risk
$100.00 1.00%
Reward
$200.00
Open P/L
$0.00

Budget $100.00 · SL below entry → BUY

Balance $10,000.00
01 / SETChoose your risk

Balance %, equity % or a fixed amount.

02 / SIZEThe math is done

Lot size from your broker’s contract data.

03 / EXECUTEOne click. SL & TP on.

Breakeven and close-all stay one step away.

TYPEMT5 Utility
PRICEFree
VERSION1.0 · Nov 2026
MARKETSFX · Gold · Indices · Crypto
THE MATH

Risk first. Lot size second.

Pick how much you are willing to lose: a percent of balance, a percent of equity, or a fixed amount. Set the stop in points or drag the SL line. The panel turns that into a volume using your broker’s own contract data.

lot = risk money ÷ (SL points × point × tick value ÷ tick size)
→ rounded down to the lot step, checked against min/max lot and free margin

Rounding down means the order never risks more than your budget because of the lot step. If the risk is too small for the minimum lot, no order is sent.

THE WORKFLOW

Four steps. One click.

  1. Choose a risk basis and enter the value.
  2. Set the stop loss in points, or show the lines and drag SL.
  3. Set the reward:risk ratio, or drag the TP line.
  4. Click BUY or SELL. Lot, SL and TP are applied automatically.

Direction follows the SL line: drag it below price for a buy, above price for a sell. Try it in the preview above.

WHAT IT HANDLES

The details that cost money.

  • Lot size from balance %, equity % or a fixed amount
  • Broker contract data for forex, gold, indices and crypto CFDs
  • Respects min/max lot, lot step, stop level and free margin
  • Draggable SL and TP lines; direction follows the SL line
  • Live lot, risk, reward and open P/L for the symbol
  • Breakeven for all symbol positions, two-click Close all
  • Dark chart theme with original colors restored on removal
  • High-DPI scaling for sharp controls on any screen
INSTALLATION

Ready in a minute.

  1. Open the MQL5 product page and click Download, or search “AlgoFX Risk Panel” in the Market tab of MetaTrader 5.
  2. Find it in Navigator → Expert Advisors → Market.
  3. Drag it onto the chart of the symbol you trade.
  4. Enable Algo Trading so the buttons can place orders.
  5. Check the first calculation on a demo account.

Inputs: Risk mode and value · Default stop loss (points) and reward:risk ratio · Magic number, maximum deviation, order comment · Chart theme on/off and panel position. The optional dark theme restores your original chart colors when the panel is removed.

GOOD TO KNOW

What the number does not include.

Commission is not part of the risk calculation. On commission-based accounts the realised risk is slightly higher than the panel shows. Gaps and slippage can also make a loss larger than planned.

STRATEGY TESTER

Only trades when you click.

In non-visual Strategy Tester mode the panel places occasional demo trades so the calculation can be validated. On a live chart it never opens a position on its own.

AVAILABLE NOW

AlgoFX Risk Panel

Free on the MQL5 Market. Feedback and feature requests are welcome in the comments.

Before you add it to your chart.

Is AlgoFX Risk Panel an indicator or an Expert Advisor?

It is an MT5 utility. It runs from the Expert Advisors section so it can place orders, but it only trades when you click BUY or SELL on a live chart. It has no automatic entry logic.

How is the lot size calculated?

The panel converts your risk amount into a volume using the symbol’s tick value and tick size from your broker, divided by the loss per lot at your stop loss. The result is rounded down to the lot step and checked against the minimum and maximum lot and your free margin.

Which instruments does it support?

Any symbol your broker provides contract data for, including forex pairs, gold, indices and crypto CFDs. Always confirm the first calculation against your broker’s contract specification.

Is commission included in the risk?

No. Commission is not part of the calculation, so on commission-based accounts the realised risk is slightly higher than the panel shows. Gaps and slippage can also increase a loss.

How much does it cost?

AlgoFX Risk Panel is free on the MQL5 Market. Download it from the product page and install it directly from your MetaTrader 5 terminal.

Why does it trade in the Strategy Tester?

In non-visual Strategy Tester mode it places occasional demo trades so the calculation can be validated. On a live chart it never trades unless you press a button.