AAIYUGBeta
LeaderboardRaceWall of FameLitepaperBlogNews
AAIYUG

A skill-based trading competition platform.

✉ hello@aiyug.com

Dubai, United Arab Emirates

PRE-LAUNCH · REGISTRATION IN PROGRESS
Platform
LeaderboardLive raceWall of FameHow it worksLitepaperBlogMarkets newsJoin free
Legal
Terms & ConditionsPrivacy PolicyCompetition RulesRisk Disclaimer

Simulated trading only. No real money is traded. AIYUG is not financial advice and is not a regulated financial service. Read the full risk disclaimer →

© 2026 AIYUG. All rights reserved.

LeadersRaceFameBlogNews
Blog
Strategy· 25 September 2026 · 7 min read

How to Trade with Bollinger Bands: A Practical Guide

A step-by-step, example-driven guide to a Bollinger Bands trading strategy, including formulas, squeeze detection, trade rules, and risk management for retail traders.

A
AIYUG Desk
Content & education team

What Bollinger Bands are and why they matter

Bollinger Bands are a volatility trading indicator that plots a middle moving average (usually a simple moving average, SMA) with an upper and lower band set a fixed number of standard deviations away. The bands expand when price volatility increases and contract when volatility falls — this contraction is often called a bollinger band squeeze and signals that a volatility breakout may be coming.

Formula (standard default settings):

  • Middle Band (MB) = N-period SMA (usually N = 20)
  • Standard Deviation (SD) = sqrt(sum((price - SMA)^2)/N)
  • Upper Band (UB) = MB + (K * SD) (K usually = 2)
  • Lower Band (LB) = MB - (K * SD)

These are the mechanical elements you will use in a strategy.

The basic Bollinger Bands trading strategy (rules)

This is a disciplined, rule-based approach that combines the squeeze as a volatility signal and a breakout for entry.

  1. Timeframe: pick one timeframe and stick to it (e.g., 15-min intraday, 1-hour swing, or daily positions). Your risk per trade and stop sizes will scale with timeframe.
  2. Squeeze detection (setup): calculate the Bollinger Band Width (BBW) to quantify the squeeze.

- BBW = (UB - LB) / MB

Consider a squeeze when BBW drops below a low percentile of recent BBW values (e.g., lower 10th percentile of the last 50 periods).

  1. Wait for a directional breakout: price closes above the UB for a long, or below the LB for a short, ideally with increased volume.
  2. Entry: enter at the breakout candle close (or on a small pullback to the broken band if you prefer more conservative entry).
  3. Stop-loss: set a stop below the middle band or below a recent swing low (for long trades). A typical method: Stop = MB (current) - X * ATR, where ATR is a volatility measure; or place stop at LB if you want tighter risk.
  4. Targets and exit rules:
  5. - Target 1: 1:1 risk:reward initially (e.g., if risk is $1, aim for $1 profit). - Trail: move stop to breakeven after half the target, and trail below the MB or a short-period SMA after that. - Alternatively, exit when bands flatten again or when price re-enters the bands and closes across the MB.

  6. Risk sizing: risk a fixed percentage of capital per trade (commonly 0.5–2%). Calculate position size using: Position size = Risk capital / (Entry price - Stop price) * contract/lot scaling.

Worked example (illustrative numbers)

Assume you trade a daily chart and use N = 20, K = 2.

Prices (most recent 20 closing prices) are such that:

  • MB (20-day SMA) = 100
  • SD (20-day) = 1.5
  • UB = 100 + 2*1.5 = 103
  • LB = 100 - 2*1.5 = 97
  • BBW = (103 - 97)/100 = 0.06 (6%)

If the 50-period BBW historical values show that 6% is in the lower 10th percentile, you have a squeeze.

Breakout and trade math:

  • Price closes at 104 on Day T (close above UB = 103) on higher-than-average volume — confirm breakout.
  • Entry: 104 (enter long at close)
  • Stop: set under MB or recent swing low. Use MB = 100 as a mechanical stop.
  • Risk per share = 104 - 100 = 4
  • Account equity = $10,000 and you risk 1% = $100 per trade.
  • Position size = $100 / $4 = 25 shares (rounded down to whole shares).

Targets and management:

  • Initial 1:1 target = Entry + Risk = 104 + 4 = 108.
  • If price reaches 106 (halfway), move stop to breakeven (104).
  • If price continues and UB widens, you can trail using a 10-day SMA or a fixed ATR multiple.

This example shows how the bands identify a low-volatility setup (squeeze) and how a breakout entry with defined risk produces a measurable position size and target.

Tips to reduce false breakouts and improve edge

  • Combine the breakout with volume confirmation: rising volume on breakout increases the probability of follow-through.
  • Use longer confirmation on higher timeframes to filter noise; intraday breakouts are noisier than daily breakouts.
  • Avoid trading breakouts into major earnings, macro news, or IPO filings without adjusting risk — events can blow out volatility unpredictably.
  • Use BBW percentile thresholds rather than absolute numbers — different symbols have different typical volatilities.
  • Consider multi-timeframe confirmation: e.g., a daily squeeze plus an hourly breakout.

Common variations

  • BB + RSI: Use RSI divergence or RSI above/below a threshold to confirm momentum.
  • Bollinger Band squeeze with Keltner Channel (the “Bollinger Squeeze” indicator): detects squeezes more robustly by measuring when Bollinger Bands fall inside Keltner Channel.
  • Use EMA instead of SMA for a faster middle band if you prefer a more responsive band.

Risk control and psychology

Bollinger Band strategies can produce many small losses and occasional large winners; manage position sizes and don't enlarge positions after a string of winners or losses. Use a trading journal and measure win rate and average reward/risk to see if your strategy is profitable after transaction costs.

No guarantees: past performance is not indicative of future results. This is education, not investment advice.

You can practice this strategy in a risk-free environment — try AIYUG's free paper-trading race at https://aiyug.trading/signup to test entries, stops, and sizing without real money.

Final checklist before you take a trade

  • Is BBW in the lower percentile indicating a squeeze?
  • Did price close cleanly outside the band and on higher volume?
  • Does the stop respect recent structure (MB or swing low)?
  • Is position size sized to your risk rules?
  • Do you have a clear exit plan (target and trailing method)?

Use this checklist to keep trades mechanical and repeatable. Backtest and paper-trade the exact rules you plan to use before committing real capital.

FAQ

What is a Bollinger Band squeeze and why is it useful?

A Bollinger Band squeeze occurs when the BB width contracts to unusually low values, indicating decreased volatility. It can be useful because prolonged low volatility periods are often followed by expansions (breakouts), providing potential trade opportunities when a clear direction is established.

How do I set stop-losses when trading Bollinger Band breakouts?

Common stop methods include placing the stop below the middle band (SMA) or below the recent swing low for longs (inverse for shorts). You can also use an ATR-based stop to account for current volatility. Always size positions so the dollar risk fits your per-trade risk limit.

Do Bollinger Bands work on all timeframes?

Yes, Bollinger Bands can be applied to any timeframe, but their characteristics change. Higher timeframes (daily, weekly) produce fewer signals with potentially higher reliability; lower timeframes generate more signals but also more noise. Match timeframe to your trading style and risk tolerance.

StrategyBandwidth Formula

Put it into practice — free

Join this week’s AIYUG race: virtual capital, real market data, real recognition from investors. No deposit, no KYC.

Keep reading
Strategy · 29 Sept 2026 · 8 min

How to Backtest a Trading Strategy Step by Step

A practical, step-by-step guide to backtesting: data, rules, metrics, walk-forward testing, and common mistakes—plus a worked example with formulas.

Strategy · 28 Sept 2026 · 7 min

Stop-Loss Strategies Explained: Hard, Mental & Trailing

Clear stop-loss strategies explained with formulas, examples and a step-by-step walkthrough — hard stops, mental stops and trailing stop loss techniques for retail traders.

Strategy · 27 Sept 2026 · 6 min

How to Calculate Risk-Reward Ratio for Every Trade

Step-by-step guide to computing risk-reward ratio, stop loss/take profit placement, formulas and a worked example for practical trade sizing.