[Canonical article](https://algoway.trade/blog/mt5-stop-loss-pip-conversion.html)

# **MT5 Stop-Loss Pip Conversion: Fix Tenfold Distance Errors**

Published December 5, 2026 · [View Markdown](https://algoway.trade/blog/md/mt5-stop-loss-pip-conversion.md)

![One entry price with stop distances of 0.25 and 2.50 compared against unit rulers](https://algoway.trade/static/img/blog-img/mt5-stop-loss-pip-conversion.jpg)

**If an MT5 stop is ten times nearer or farther than intended, check the distance unit before changing the strategy.** In AlgoWay's MT5 EA, POINTS uses one broker point per distance unit, while STANDARD uses ten. The same number can therefore produce two very different stop prices. First establish which price the distance starts from, then measure the conversion.

This matters in [AlgoWay TradingView-to-MT5 automation](https://algoway.trade/tradingview-to-mt5) because an alert can deliver the intended number while the destination interprets that number in a different unit. A successful entry does not prove that the stop represents your intended risk.

## Start with the price distance you actually wanted

Consider a hypothetical broker symbol with a point size of 0.01. Assume a long position has an entry of 2500.00, distance-based protection uses Entry Price, and your intended stop is 2497.50. The intended price distance is 2.50.

Suppose the message supplies `stop_loss: 25`. Under POINTS, 25 multiplied by 0.01 gives 0.25, so the calculated level is 2499.75. Under STANDARD, the unit is 0.10, so 25 multiplied by 0.10 gives 2.50 and the calculated level is 2497.50. These are arithmetic examples, not executed trades; broker acceptance and the final applied level still require checking.

Work backward from an observed level:

- Measure the absolute difference between the correct reference price and the stop.

- Divide that difference by the submitted distance value.

- Compare the resulting price-per-unit with the broker point and the selected EA mode.

For the first level, 0.25 divided by 25 gives 0.01 per unit. For the intended level, 2.50 divided by 25 gives 0.10. That ratio is more useful evidence than saying that the stop “looks wrong.” Do not use this calculation after a trailing stop or breakeven rule has already moved the original stop.

## Match the unit to the destination symbol

The [current AlgoWay EA parameter reference](https://docs.algoway.trade/algoway-mt5-v206-overview.html) documents POINTS, STANDARD and CUSTOM distance modes. CUSTOM uses the positive absolute price distance entered in Custom pip size. TRADINGVIEW distinguishes Forex calculation types from other types; AUTO follows the symbol's digit and point format. PERCENT interprets the value as a percentage, so it is not interchangeable with a fixed pip unit.

For the example above, a CUSTOM unit of 0.25 would require a distance value of 10 to represent 2.50. A unit of 0.10 requires 25. Neither number is correct in isolation. Write down both the number and its unit when moving a configuration to another broker.

Do not infer the contract from a familiar chart label. Check the exact destination symbol, including any suffix. MetaQuotes documents [point size, minimum price change and stop-distance restrictions](https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants) as separate symbol properties. A point is a price unit; a tick size defines the permitted price increment. Decimal places alone do not prove that a proposed level lies on that increment.

## Keep distance errors separate from reference-price errors

The AlgoWay setting **SL/TP reference: Bid/Ask or Entry Price** selects the base for distance calculations. Absolute `sl_price` and `tp_price` values remain price levels rather than pip distances. Review fixed EA protection overrides before attributing the result to the incoming message.

In our example, subtracting 2.50 from 2500.00 produces 2497.50. Subtracting the same distance from 2499.80 produces 2497.30. The 0.20 difference comes from the reference, not a tenfold conversion. Record the entry and relevant quotes at the time protection is calculated; a later chart screenshot cannot reconstruct those prices reliably.

If the broker rejects the level instead of placing it, use the separate [MT5 invalid-stops diagnostic](https://algoway.trade/blog/mt5-invalid-stops-bid-ask-distance.html). Correct distance arithmetic does not waive minimum stop distance, tick size or modification restrictions.

## A controlled message for checking the conversion

The [AlgoWay JSON reference](https://docs.algoway.trade/json-schema-guide.html) distinguishes distance-style `stop_loss` from absolute `sl_price`. This illustrative entry supplies a distance only:

```json
{
  "platform_name": "metatrader5",
  "ticker": "XAUUSD",
  "order_action": "buy",
  "order_contracts": "0.01",
  "stop_loss": "25"
}
```

This is an order instruction, not a harmless calculator. Use a demo account, replace the ticker with your broker's exact symbol, and choose a permitted test volume. The symbol name here does not guarantee a point size of 0.01 or a particular trading contract.

1. Record the symbol's point, tick size and stop restrictions.

2. Record the EA distance mode, custom size if relevant, reference setting and protection overrides.

3. Calculate the expected price distance before sending anything. Keep absolute stop fields out of this distance-only check.

4. Check the received message in AlgoWay Webhook Logs, then inspect the position and accepted SL in MT5.

5. Compare the original applied stop with the expected level before any trailing or breakeven adjustment.

If the discrepancy is a consistent factor of ten, investigate the unit. If it resembles the spread or fill difference, investigate the reference. If no stop exists, inspect acceptance and protection settings. These are different faults, and multiplying every alert value by ten is a remarkably efficient way to repair the wrong one.

