Main Page > Articles > Inside Bar > ATR-Based Stop Loss and Profit Targets for Inside Bar Breakouts: A Volatility-Adaptive Approach

ATR-Based Stop Loss and Profit Targets for Inside Bar Breakouts: A Volatility-Adaptive Approach

From TradingHabits, the trading encyclopedia · 5 min read · February 28, 2026
The Black Book of Day Trading Strategies
Free Book

The Black Book of Day Trading Strategies

1,000 complete strategies · 31 chapters · Full trade plans

Setup Description

This article details a quantitative approach to trading inside bar breakouts using ATR-based calculations for both stop loss and profit target placement. This volatility-adaptive methodology allows the trading system to dynamically adjust to changing market conditions, a important component for robust performance across different market regimes. The core of this strategy is to define risk and reward in terms of the market's own recent volatility, rather than using arbitrary fixed values or static price structures.

By using the Average True Range (ATR), a well-known volatility indicator, we can create a more objective and statistically grounded framework for our trading decisions. This approach is particularly suited for systematic and algorithmic traders who require precise, non-discretionary rules for every aspect of the trade plan.

The Anatomy of the ATR-Based Setup

  • Inside Bar: The standard inside bar pattern, signaling a period of consolidation.
  • ATR Measurement: The 14-period ATR is calculated at the time of entry to quantify the recent volatility.
  • ATR-Based Risk/Reward: The stop loss and profit targets are set as multiples of the ATR value, creating a dynamic risk management system.

Entry Rules

Entry for the ATR-based inside bar breakout strategy is systematic and purely mechanical.

Primary Entry Condition

  • Long Entry: A close above the high of the mother bar.
  • Short Entry: A close below the low of the mother bar.

Confirmation Filters

  • Trend Filter: The 50-period Simple Moving Average (SMA) is used to define the trend. For a long entry, the price must be above the 50 SMA. For a short entry, the price must be below the 50 SMA.
  • ATR Filter: To avoid trading in excessively low-volatility environments, the 14-period ATR must be above a certain minimum threshold. This threshold should be determined through backtesting for the specific instrument being traded.

Example: Long Entry in TSLA

On a 30-minute chart of TSLA, an inside bar forms while the price is trading above the 50 SMA. The 14-period ATR at the time of the breakout is $2.50. A long entry is triggered on a close above the mother bar's high. The stop loss and profit targets will be calculated based on this ATR value.

Exit Rules

Exits for the ATR-based strategy are as systematic as the entries, ensuring a disciplined and quantitative approach to trade management.

Exit for a Losing Trade (Stop Loss)

  • Long Position: The stop loss is placed at a multiple of the ATR below the entry price. A common multiple is 1.5x ATR. So, Stop Loss = Entry Price - (1.5 * ATR).
  • Short Position: The stop loss is placed at a multiple of the ATR above the entry price. Stop Loss = Entry Price + (1.5 * ATR).

Exit for a Winning Trade (Profit Target)

  • Initial Profit Target: The initial profit target is set at a multiple of the ATR from the entry price. A common target is 3x ATR, which provides a 2:1 reward-to-risk ratio (3x ATR target / 1.5x ATR stop).
  • ATR Trailing Stop: After the initial target is hit and a portion of the position is closed, the remaining position can be trailed using an ATR-based trailing stop. A popular method is the Chandelier Exit, which places the trailing stop at a multiple of the ATR from the highest high (for a long) or lowest low (for a short) since the entry.

Profit Target Placement

Profit targets in an ATR-based system are dynamic and adapt to the market's volatility.

ATR Multiples

The primary method for setting profit targets is to use multiples of the ATR value at the time of entry.

  • Target 1: 3x ATR (for a 2:1 reward/risk)
  • Target 2: 5x ATR (for a more ambitious target in a strong trend)

Time-Based Exit

Another quantitative exit strategy is a time-based exit. If the profit target is not hit within a certain number of bars (e.g., 10-15 bars), the trade is exited. This is based on the idea that a strong breakout should show immediate momentum.

Stop Loss Placement

Stop loss placement in this system is purely a function of the market's recent volatility.

ATR-Based Stop

As described in the exit rules, the stop loss is placed at a multiple of the ATR from the entry price. The choice of the ATR multiple (e.g., 1.5x, 2x, 2.5x) is a important parameter that should be optimized through backtesting.

Maximum Stop Loss

It is also prudent to have a maximum stop loss in terms of percentage of the instrument's price. For example, the stop loss should not exceed 2% of the stock's price, regardless of the ATR calculation. This prevents excessively wide stops in extremely volatile conditions.

Risk Control

Risk control in an ATR-based system is inherently quantitative and data-driven.

Volatility-Adjusted Position Sizing

The position size is adjusted based on the volatility of the instrument. The formula is:

Position Size = (Maximum Risk per Trade) / (ATR Multiple * ATR)*

This ensures that the dollar risk is the same for every trade, regardless of the volatility.

Backtesting and Optimization

The parameters of the system (ATR period, ATR multiples for stop and target) must be rigorously backtested and optimized for each instrument and timeframe. What works for one market may not work for another.

Money Management

Money management in this system is focused on consistent application of the quantitative rules.

Fixed Fractional Sizing

The fixed fractional position sizing model is used, where the risk per trade is a fixed percentage of the account equity.

Monte Carlo Simulation

Monte Carlo simulation can be used to stress-test the system and understand the potential range of outcomes, including the maximum expected drawdown.

Edge Definition

The edge of the ATR-based inside bar breakout strategy comes from its ability to adapt to changing market volatility.

Statistical Edge

  • Volatility Adaptation: The system automatically adjusts its risk and reward parameters based on the market's current volatility, which is a more robust approach than using fixed values.
  • Objectivity: The rules are 100% objective and mechanical, removing the potential for emotional decision-making.
  • Systematic Application: The strategy can be applied systematically across a portfolio of instruments, allowing for diversification.

Win Rate and Profit Factor

The win rate for this type of system is typically in the 40-50% range. However, the profit factor can be quite high, often in the 2.0 to 3.0 range, because the winning trades are allowed to run and capture large moves relative to the initial risk.