Forex Trading StrategiesRule-Based Forex Strategy in MT5
Build a rule-based forex strategy in MT5 step by step — entries, exits, risk management, backtesting and forward testing, checklist included.
An R-multiple is a trade's result divided by its planned risk. Learn how to calculate R, how it differs from the risk-reward ratio, and how to measure expectancy.

An R-multiple is a trade's result divided by the risk you planned for it. If you planned to lose $100 at your stop and the trade made $200, the result is +2R. If it hit the stop and lost $112, the result is -1.12R.
The risk-reward ratio is the plan behind it: target distance divided by stop distance, read before entry.
R turns every trade into the same unit. A 0.40-lot EUR/USD trade and a 0.01-lot gold trade cannot be compared in dollars, but both can be compared in R. That is what makes a trading journal readable.
1R is the loss you accept if the trade reaches its stop loss. You set it before the trade from three numbers: the entry price, the stop price and the position size.
In price terms, 1R is the distance from entry to stop. In money terms, it is that distance multiplied by the value of one pip at your position size. The lot-size guide shows how volume sets pip value, and the pip guide shows how to convert it into your account currency.
Choose the stop first, at the price that proves the idea wrong. Then choose the size that makes the stop cost your planned 1R. Moving the stop to make a bigger position fit changes the trade idea, not just the arithmetic.
Try it with your own numbers. The defaults are the worked example below: $10,000, 1% and a 25-pip EUR/USD stop.
Illustrative: a 100,000-unit contract and fixed sample rates. Broker contract specs and conversion rates vary, and slippage can make the loss larger than the money at risk shown.
Take a USD account of $10,000 and a risk budget of 1%, so 1R is $100.
A long EUR/USD position enters at the Ask, 1.10020, with a stop at 1.09770. The distance is 25 pips. On a 100,000-unit contract one pip is worth $10 per lot, so the size is $100 ÷ (25 × $10) = 0.40 lots, where one pip is worth $4.
The target is 1.10520, 50 pips above entry. That is 50 × $4 = $200, or 2R. Before costs, the planned reward-to-risk is 2:1.
| Outcome | Exit | Pips | Result | R |
|---|---|---|---|---|
| Target fills at its level | 1.10520 | +50 | +$200.00 | +2.00R |
| Stop fills at its level | 1.09770 | -25 | -$100.00 | -1.00R |
| Stop fills 3 pips worse | 1.09740 | -28 | -$112.00 | -1.12R |
Now add commission. If your account charges $7 per lot for entry and exit together, 0.40 lots cost $2.80, or 0.03R. The winner becomes +1.97R, the clean stop -1.03R, and the slipped stop -1.15R. The spread vs commission guide shows how to compare the two cost models.
Always divide by the planned 1R, the $100, not by the loss that actually happened. Otherwise every losing trade shows exactly -1R and slippage disappears from your records.
The risk-reward ratio, often written as reward-to-risk, is the plan: distance to target divided by distance to stop, read before entry. The R-multiple is the result the closed trade delivered. A 2:1 plan can end at +2R, -1R, -1.15R, or +0.4R if you close it early by hand.
The ratio tells you how often the plan has to win to break even. With wins of b R and losses of 1R, the break-even win rate is 1 ÷ (1 + b):
2:1, a third of trades must win: 1 ÷ 3 = 33.3%.1.97R against losses of 1.03R need 34.3%.1.15R because stops slip, the figure rises to 36.8%.A high ratio does not make a trade good. A distant target is reached less often, so the win rate falls as the ratio rises. Use reward-to-risk as a filter. Our own daily plans skip a level when the nearest opposite level gives less than our minimum ratio, and a skipped trade costs 0R.
Score a trade of your own. Enter the fill, stop, target and exit. The defaults are the EUR/USD stop that filled 3 pips worse in the table above.
Break-even win rate = 1 ÷ (1 + 2.00) = 33.3%
Expectancy is the average R across many trades:
expectancy = (win rate × average win in R) − (loss rate × average loss in R)
Here are ten hypothetical trades from the 2:1 plan above, with costs: +1.97, -1.03, -1.03, +1.97, -1.15, -1.03, +0.40, -1.03, +1.97, -1.03.
Four trades won, with an average of +1.58R. Six lost, with an average of -1.05R. The total is +0.01R, an expectancy of 0.001R per trade. A plan that looks like 2:1 on the chart ends up about break-even once one stop slips and you close one winner early.
Ten trades also prove very little. The next ten could look completely different. Judge a method on a large sample of trades taken by the same rules, live or in a backtest, and expect long losing runs even when the average is positive.
Paste your own R results to get the same statistics. The defaults are the ten trades above.
The example below comes from our own trading journal. It ran on a demo account with the minimum 0.01 lot. We show it to teach the arithmetic. It is not a performance claim.
On 6 November 2026 we planned a XAUEUR (gold priced in euros) sell with a Trendline PRO sell-on-touch line. The plan:
3640.493692.77, a distance of 52.28 in price3554.39, a distance of 86.1086.10 ÷ 52.28 = 1.65, so the break-even win rate was 1 ÷ 2.65 = 37.7%The sell filled at 3640.31, 0.18 below the line. For a sell, a lower fill is worse. It moved the risk to 52.46, an extra 0.0034R. Small, but it is why you measure from the fill, not from the line.
On 9 November gold rallied to about 3699 and the stop triggered. Our journal scored the exit at the stop price from H1 bars, so we did not read the broker's deal price. Measured from the fill, a stop filled exactly at 3692.77 is a 52.46 loss, or -1.003R. If it filled higher, the result was worse. The stop-loss guide explains why that can happen.
We placed the entry, stop and target lines from the plan, and Trendline PRO opened the sell when price crossed the entry line. It did not choose the levels or the risk. One losing trade says nothing about the method. Measured in R, it is one entry in a sample.
Your stop and target fix 1R on paper. How MetaTrader 5 executes them decides the real result.
-1R plan can close at -1.2R or worse. Our slippage guide covers the mechanism.A spreadsheet is enough. The rule-based strategy guide lists the other statistics worth tracking.
No. The risk-reward ratio is planned before entry from your target and stop distances. The R-multiple is measured after the close from the actual result divided by the planned risk.
Take the closed trade's result in money, after commission and swap, and divide it by the planned 1R in money. A $200 profit on a $100 planned risk is +2R. A $112 loss on the same plan is -1.12R.
It depends on your win rate. With wins of b R and losses of 1R, you break even at a win rate of 1 ÷ (1 + b): 33.3% at 2:1 before costs. Costs and slipped stops raise that figure.
No fixed percentage fits everyone. 1R is the amount you decide you can lose on one trade. In our own plans it is capped at 1% of equity, so a run of losses stays survivable.
Yes. Slippage, gaps, rejected closes and costs can make a loss larger than the planned risk. Only a guaranteed stop, where a broker offers one under its own terms, caps the exit price.
Any positive expectancy measured over a large sample of trades with the same rules, after costs. A positive number from ten or twenty trades is not yet evidence.