Position Sizing and Risk Management
Set stop loss, take profit, risk per trade and position management in Backtrex for realistic backtests and controlled risk.
Why risk management matters
A good entry is not enough. Without a stop and a realistic position size, a backtest shows results no real account could survive.
In Backtrex, risk is set in two places:
- The builder's Risk section, on each side (Buy, Sell): stop, target, position management
- The backtest configuration: capital, risk per trade, commission
Stop loss
The stop closes the trade when price moves against you. The AI takes it from your source. It can be:
- a distance: for example 20 pips below the entry
- a level computed by the strategy: below the order block, on the other side of the range, below the last swing. The builder then shows Level: hover it to see which one, and the trade on display gives its price.
A stop's value changes in place, with no AI. To change its logic (from a distance to a level), use the pencil.
Take profit
The target closes the trade in profit. It can be:
- a multiple of risk: 2 times the risk, a 2R target
- a level: the opposite zone, the previous day's high
A target as a multiple of risk keeps the same reward-to-risk ratio whatever the stop size.
Position management
Depending on your source, the Risk section can also hold:
- Break-even: the stop moves to the entry price after a given gain
- Trailing stop: the stop follows price
- Exit after: the trade closes after a number of candles
- Trades per day: a maximum number of trades per day
- Exit conditions: close the trade when a condition holds
Every block in the Risk section is ticked, unticked, edited and deleted like the others.
Risk per trade
In Backtest configuration, risk per trade sets the share of capital lost if the stop is hit. Position size follows from it:
Formula: Position size = (Capital x Risk per trade) / Stop distance
Example: 10,000 $ capital, 1% risk, 50-pip stop:
- Amount at risk: 100 $
- The size is computed to lose 100 $ if the stop is hit, no more, no less
Common benchmarks:
- Conservative: 0.5 to 1% per trade
- Moderate: 1 to 2% per trade
- Beyond that, an ordinary losing streak is enough to dig a heavy drawdown
Costs
Spread and commission are counted in every trade. Set the commission in the configuration to match your broker: a strategy with small targets is very sensitive to it.
Best practices
- Always a stop: without one, a single trade can decide the result
- A fixed risk per trade: 1 to 2% at most
- A consistent target: compare it with the win rate (a 2R target needs more than 33% winners to cover losses, before fees)
- Test without, then with, management (break-even, trailing stop): untick the block to see what it changes
Reading risk in the results
- Drawdown: should stay within what you could stand live
- Profit factor: above 1, gains cover losses, fees included
- Average win and average loss: consistent with your reward-to-risk ratio
- Share of stopped trades: if almost all hit the stop, revisit the entry or the stop placement