Risk Management in Trading

Volatility-Based Position Sizing: How to Adjust Risk for ATR and Stop-Loss Distance

Calculate position size from monetary risk, ATR and stop-loss distance, including allowances for costs and execution.

Volatility-Based Position Sizing: How to Adjust Risk for ATR and Stop-Loss Distance

Volatility-based position sizing is calculated by dividing the monetary risk allowed for one trade by the potential loss per unit of the instrument down to the stop-loss level. If the stop is farther away, the position must be smaller; if it is closer, the position can be larger, but only if the closer stop remains consistent with the trade logic. ATR helps assess whether the stop distance is proportionate to normal market fluctuations, but it does not determine the correct entry or the percentage to risk. A practical calculation must also include the instrument’s point value, commissions, potential slippage and the permitted position-size increment.

This approach does not make a trade safe or guarantee that the actual loss will not exceed the planned amount. It standardises the decision before entry and allows risk to be compared across different instruments and market regimes.

Basic Position-Sizing Formula

The calculation requires two figures:

  1. Risk budget, or R — the amount of money that may be lost on one trade under your system.
  2. Effective risk per unit — the loss that would arise for one share, contract or fraction of a lot if the exit occurred at the planned stop, including allowances for costs and execution.

The basic relationship is:

Position size = risk budget / effective risk per unit

In turn:

Effective risk per unit = stop distance × value per unit of price change + commission per unit + slippage allowance per unit

If the account equity is 10,000 EUR and the system allocates 0.5% to a particular trade, the risk budget is 50 EUR. These figures are only a calculation example, not a recommendation to use 0.5% risk. An appropriate limit depends on the strategy, losing streaks, total portfolio risk and the trader’s ability to follow the plan.

The calculated size must always be rounded down to the share, contract or lot increment permitted by the broker. Rounding up would exceed the predefined risk budget.

What ATR Measures—and What It Does Not Tell You

Average True Range, or ATR, measures the volatility of price ranges over a selected period. For each candle, True Range is the greatest of three values: the difference between the current candle’s high and low, the absolute difference between the current high and the previous close, or the absolute difference between the current low and the previous close. This means that gaps between periods can also be reflected in the calculation.

ATR is a smoothed average of these ranges. TradingView’s documentation states that the platform’s built-in ATR uses RMA smoothing; a common default period is 14. This is not a universal standard for every strategy or platform. The data source, trading sessions, price adjustments and smoothing method can produce different ATR values.

The indicator is expressed in the instrument’s price units rather than as a percentage, and it does not show the direction of movement. An ATR of 2.00 means something different for an instrument priced at 20 than for one priced at 2,000. ATR as a percentage of price can be useful when comparing instruments, but it must still be converted into a specific stop distance and monetary value when calculating position size.

From a Trade Idea to Position Size

1. Define the Capital Base

Decide whether the risk percentage will be calculated from current account equity, available trading capital or another predefined base. The choice must be applied consistently. If the base declines after losses, it should be updated before the next calculation rather than using the account’s historical peak.

2. Set the Monetary Risk Budget

The risk budget is a system limit, not an amount that must always be used in full. It can be reduced if related positions are already open, market liquidity is poor or an event that could cause a price gap is expected.

3. Identify Where the Trade Idea Becomes Invalid

The stop loss should first be linked to the price level at which the original rationale for the trade is no longer valid. It may sit beyond a market structure, a range boundary or another level defined by the strategy. The stop should not be moved artificially closer merely so that the formula permits a larger position.

4. Compare the Stop Distance with ATR

Calculate the following ratio:

Stop distance in ATR units = absolute distance from entry to stop / ATR

If the stop is 0.3 ATR from the entry, an ordinary price fluctuation may reach it more often than a stop placed 1.5 ATR away. This does not mean that 1.5 ATR is the correct setting. The required multiplier must be determined through strategy testing and should account for the instrument, timeframe and market regime.

The ATR timeframe should match the trade horizon. Daily ATR cannot be substituted directly with five-minute ATR. You should also define whether the calculation uses ATR from the most recently completed candle or a value that changes at the time of the signal.

5. Convert the Distance into Monetary Risk

Establish the value of the instrument’s price increment and its contract specification. It is not enough to see that the stop is ten points away—you need to know how much ten points are worth for one selected unit.

6. Add Allowances for Costs and Execution

Include the expected commission for entry and exit, as well as a conservative slippage allowance. The allowance is not a guarantee; during a sharp move or price gap, actual execution may be considerably worse.

7. Round Down and Check Total Risk

After rounding, recalculate the monetary risk. Also check margin requirements, existing open positions, correlation and the potential loss if several stops are reached at the same time.

Three Ways to Combine ATR with a Stop Loss

Approach

How the stop is set

Main benefit

Main risk

Market structure

The stop is placed beyond the level that invalidates the trade idea; ATR is used as a check

Maintains the link to the trade logic

The stop may be disproportionately close or far away for the current volatility

Fixed ATR multiplier

The stop distance is, for example, a specified multiple of ATR

The rule responds automatically to volatility

The multiplier may ignore important price levels

Hybrid approach

A minimum or additional ATR allowance is applied to the structural level

Combines market logic with a volatility filter

More parameters increase the risk of over-optimisation

No approach has a universally superior ATR period or multiplier. The parameter is a strategy rule that must be tested together with entries, exits, costs and market regimes, rather than selected in isolation from the charts of a few successful trades.

Instrument Specifications Can Change the Entire Calculation

For shares whose quotation currency matches the account currency, the price difference per share usually converts directly into a monetary difference. If the currencies differ, the result must be converted into the account currency.

For futures, the stop distance must be multiplied by the contract’s point value or minimum price-increment value. A forex calculation must account for the pip value of the specific lot size and currency pair. For CFD and crypto instruments, establish the contract size, minimum order, size increment, quotation currency and financing terms.

Leverage does not itself reduce the risk per unit defined by the stop. It changes the required margin and can increase account risk. For some products, liquidation or margin rules may take effect before the planned exit. If the instrument’s profit-and-loss formula is unclear, the position should not be sized using only a simple price difference.

Calculation Example with ATR and an Execution Allowance

Assume that a hypothetical share is bought at 52.00 EUR. The account value is 10,000 EUR, and the risk allocated to this trade is 0.5%, or 50 EUR. ATR at the time of the signal is 0.80 EUR, while the strategy specifies a stop at a distance of 1.5 ATR.

The stop distance is:

0.80 × 1.5 = 1.20 EUR

For the long position, the theoretical stop level is 50.80 EUR. Assume that the expected total commission for the trade is 0.05 EUR per share and the slippage allowance is 0.10 EUR per share. The effective risk per share is:

1.20 + 0.05 + 0.10 = 1.35 EUR

The position size is:

50 / 1.35 = 37.03, so no more than 37 shares.

The planned risk after rounding is 37 × 1.35 = 49.95 EUR, while the position’s nominal value is 1,924 EUR. Nominal value is not the same as the risk defined by the stop.

If ATR increased to 1.10 EUR, the stop distance with the same 1.5 multiplier would be 1.65 EUR. Adding the same 0.15 EUR allowance would produce a risk of 1.80 EUR per share, and the position size would fall to 27 shares because 50 / 1.80 = 27.77. The mechanism reduces position size as volatility rises without increasing the predefined risk budget.

Why Planned Risk May Differ from the Actual Loss

Investor.gov explains that a standard stop order becomes a market order once the stop price is reached. The stop price is therefore not a guaranteed execution price. In a fast market, with low liquidity or during a price gap, the trade may be closed at a worse level.

A stop-limit order allows the worst acceptable price to be controlled, but it creates a different risk: the order may not be executed, leaving the position open. The precise operation and activation rules for orders should be checked with the specific broker and trading venue.

ATR is a historical, smoothed value. It cannot predict unexpected news, a trading halt, an overnight gap or a sudden disappearance of liquidity. Very low ATR before a significant event can produce an excessively large calculated position. Under such conditions, a separate event-risk limit is required, or the trade should be avoided.

The simple formula is also insufficient for options and other non-linear instruments. Their value is affected by the price of the underlying asset, time, volatility and other factors. For positions without a predefined maximum loss, it cannot honestly be claimed that risk is limited by an ATR calculation alone.

Portfolio-Level Risk Matters More Than One Perfect Calculation

Five trades with an individual risk of 50 EUR each do not necessarily represent five independent risks. If the instruments respond to the same index, currency, sector or macroeconomic event, several stops may be reached simultaneously and with similar slippage.

Before placing a new order, account for open risk, unfilled entry orders and planned additions to positions. Increasing a position should be governed by a separate rule: each addition changes the average entry price, total size and risk down to the shared stop. An individual calculation must not replace a total portfolio risk limit.

Practical Checklist Before Placing an Order

Before every entry, record:

  •          the account value and calculation base;
  •          the maximum risk in monetary and percentage terms;
  •          the planned entry price and trade direction;
  •          the stop price and the reason why the idea becomes invalid at that level;
  •          the ATR period, timeframe, value and candle used;
  •          the stop distance in price units and ATR units;
  •          the monetary value of a point, pip or minimum price increment;
  •          the commission and slippage allowance;
  •          the unrounded position size and the position size rounded down;
  •          the margin requirement and total risk including existing open positions;
  •          events that could cause a gap or liquidity problem.

After the trade, record the actual entry and exit prices, commissions, slippage, and profit or loss in R units in the trading journal. The ratio actual loss / planned R shows whether the execution allowance was sufficient. It is useful to break down the results by instrument, trading session, ATR regime and order type.

If actual losses regularly exceed the planned R, the problem may not lie in the position-sizing formula. It may instead be an overly optimistic slippage allowance, an unsuitable order type, trading during periods of poor liquidity or an incorrectly converted point value for the instrument. The ATR period or multiplier should not be changed after a single trade; changes should be tested using a sufficiently broad sample of historical and subsequent trades.

Conclusion

The starting point for volatility-adjusted position sizing is a clear monetary risk budget and the level at which the trade idea becomes invalid. The ATR multiplier is chosen afterwards. ATR helps assess the stop distance and consistently reduce position size when price fluctuations become larger. However, the calculation is complete only when it includes the instrument’s specifications, costs, execution risk and all open exposures.

This article is educational material, not personalised financial advice. No position-sizing method can guarantee a particular outcome or maximum loss under real market conditions.