Strategies we backtested double bottom pattern

Tested by BacktestingMax

Double bottom pattern backtest

Does the double bottom pattern work?

Only a little. In our backtest, the double bottom's buy signal made a small profit after trading costs, but not on every market. We tested it on 8 markets: 6 currency pairs, gold and silver. We used 1-hour, 4-hour and daily charts, from 2007 to 2025. The pattern is two bottoms, two lows at about the same price, with a peak between them. Our standard rules bought when a candle closed above the peak's high, the neckline. The stop-loss, the price where a losing trade closes, was at the lower bottom. The take-profit, the price where a winning trade closes, was the pattern's height above the neckline. R is the amount a trade risks: 1% of the account balance when the trade opens. The 1,970 trades made +0.027R per trade on average, and 60.6% of them won. 15 of the 24 tests made money. The best test was USD/CAD on the 1-hour chart, with +16.6% account growth, and the worst was GBP/USD on the 4-hour chart, with −8.6%. The win rate was high, but the take-profit was usually closer than the stop-loss, so a win made less than a loss cost. Of four changes we tried, none clearly helped. Trading only a higher second bottom made a little more per trade, but it made money in fewer tests in 2020–2025.

24 backtests 2007–2025 Trading costs included Tested 23 November 2026

Where it worked 24 backtests
Made money
5
of 24 tests, with the standard rules
Made money in both periods
3
2007–2019 and again 2020–2025
Best backtest
+17%
USD/CAD, 1-hour chart: account growth 2007–2025
Only a higher second bottom
1
tests made money in both periods, compared with 3 with the standard rules

Made money in both periods

  • USD/CAD, 1-hour
  • GBP/JPY, 1-hour
  • Gold, 1-hour

The results

Results on every market

Each box shows one backtest of the double bottom pattern with the standard rules, from 2007 to 2025, after trading costs: the % result, and a small chart of the account balance. The solid line is the account balance and the dashed line is the starting balance. Green results made money; red results lost money. Under each result: whether it made money in both 2007–2019 and 2020–2025, or passed all four of our checks (see "How a test passes" further down).

Market 1-hour 4-hour daily
EUR/USD +8% Made money overall, lost in one period +7% Too few trades 0.0% Too few trades
GBP/USD −8% Lost money −9% Too few trades −2% Too few trades
USD/JPY +4% Made money overall, lost in one period +2% Too few trades +2% Too few trades
AUD/USD −8% Lost money +2% Too few trades −3% Too few trades
USD/CAD +17% Made money in both periods +8% Too few trades −1% Too few trades
GBP/JPY +13% Made money in both periods +0.1% Too few trades −4% Too few trades
Gold +8% Made money in both periods +7% Too few trades +2% Too few trades
Silver −3% Lost money +7% Too few trades +2% Too few trades
All the numbers, test by test
Market Chart Trades Win rate Profit factor Result Max drawdown 2007–2019 2020–2025 Monte Carlo drawdown Trading costs
EUR/USD 1-hour 174 62.1% 1.11 +7.6% −7.1% +7.8% −0.2% −12.8% $163
EUR/USD 4-hour 59 64.4% 1.39 +7.4% −5.9% −0.8% +8.2% −6.4% $24
EUR/USD daily 10 60% 0.99 0.0% −1.4% −0.3% +0.3% — $2
GBP/USD 1-hour 155 56.1% 0.89 −7.5% −16.4% −1.0% −6.5% −18.7% $165
GBP/USD 4-hour 54 46.3% 0.66 −8.6% −8.9% −4.7% −4.1% −13.4% $25
GBP/USD daily 13 46.2% 0.69 −1.5% −3.8% −3.1% +1.6% — $2
USD/JPY 1-hour 211 59.7% 1.05 +3.9% −14.6% −5.7% +10.2% −16.7% $218
USD/JPY 4-hour 54 61.1% 1.11 +2.2% −5.5% +2.1% +0.1% −7.8% $25
USD/JPY daily 6 83.3% 3.50 +2.3% −0.9% −0.3% +2.6% — $1
AUD/USD 1-hour 200 57.5% 0.90 −7.9% −16.9% −1.2% −6.8% −20.3% $255
AUD/USD 4-hour 60 60% 1.06 +1.5% −5.8% +3.4% −1.8% −8.5% $36
AUD/USD daily 12 41.7% 0.48 −3.1% −5.2% −2.5% −0.6% — $3
USD/CAD 1-hour 177 63.3% 1.23 +16.6% −6.0% +15.1% +1.3% −11.8% $301
USD/CAD 4-hour 62 67.7% 1.38 +7.5% −2.7% +2.4% +5.0% −6.5% $44
USD/CAD daily 12 58.3% 0.79 −1.0% −3.6% −2.4% +1.4% — $4
GBP/JPY 1-hour 190 62.6% 1.17 +13.1% −11.4% +9.6% +3.2% −12.7% $327
GBP/JPY 4-hour 54 57.4% 1.00 +0.1% −4.8% −2.4% +2.6% −8.4% $44
GBP/JPY daily 8 25% 0.19 −4.3% −4.3% −3.4% −0.9% — $3
Gold 1-hour 164 62.8% 1.14 +7.8% −6.5% +6.3% +1.5% −12.5% $242
Gold 4-hour 51 68.6% 1.51 +7.2% −4.3% +4.5% +2.5% −5.3% $36
Gold daily 7 71.4% 2.07 +1.8% −1.0% +1.3% +0.5% — $2
Silver 1-hour 163 59.5% 0.96 −2.6% −16.5% −3.1% +0.5% −16.0% $662
Silver 4-hour 68 67.6% 1.36 +6.8% −5.2% +1.1% +5.6% −6.1% $117
Silver daily 6 83.3% 5.15 +2.2% −0.5% +2.2% 0.0% — $4

Profit factor is the money won divided by the money lost. Above 1 means the test made money. Max drawdown is the biggest fall from the highest balance. 2007–2019 and 2020–2025 show the result in each period on its own. Monte Carlo drawdown: we shuffled the trades into a random order 1,000 times; in 95% of those runs, the worst drawdown was this number or less. Result is the change in the account, with the risk of each trade set to 1% of the account at that time.

The account balance

The best test and the middle test

Best test USD/CAD, 1-hour chart +16.6% from 2007 to 2025
Middle test (median): half of the 24 did better, half did worse USD/JPY, 4-hour chart +2.2% from 2007 to 2025

What we found

What the 24 backtests show

  1. The trades won often, but only just often enough to make money. 1,194 out of 1,970 trades won (60.6%). 1,192 of them closed at the take-profit. But the take-profit was usually closer than the stop-loss: for half of the trades, it was less than 0.78R from the entry. So the average win was +0.66R, and the average loss was −0.95R. With those sizes, the trades needed to win about 59.0% of the time to break even. So the 60.6% left only +0.027R per trade. Other sources quote higher success rates. Thomas Bulkowski, who tests chart patterns on US stocks, found that 65% of one kind of double bottom reached their target. LiberatedStockTrader, a stock trading website, lists an 88% success rate. Those figures are for US stocks, mostly on daily charts, and they do not measure trades with a stop-loss at the lower bottom. On our daily charts, 55.4% of 74 trades won.

  2. Some markets made money and others lost, and with the standard rules no test passed all four of our checks. USD/CAD made the most per trade: +0.090R over 251 trades. Gold made +0.076R over 222 trades, and EUR/USD +0.062R over 243. GBP/JPY (+0.035R, 252 trades), USD/JPY (+0.034R, 271) and silver (+0.029R, 237) made less. GBP/USD lost 0.079R per trade over 222 trades, and AUD/USD lost 0.033R over 272. Silver's trading costs were 0.033R per trade, so before costs it made +0.061R. Over 2007–2025, 15 of the 24 tests made money. Taken period by period, 11 of 24 made money in 2007–2019, and 16 of 24 in 2020–2025. 3 tests made money in both periods: USD/CAD, GBP/JPY and gold, all on 1-hour charts. Only the 8 tests on 1-hour charts had at least 100 trades, from 155 to 211 each, because the pattern was rare on longer charts. The rules found about 9 a year per market on 1-hour charts and about 3 a year on 4-hour charts. On daily charts, they found 74 for all 8 markets in 19 years.

  3. A higher second bottom helped a little, mostly on 4-hour charts. Traders argue about which second bottom is better. A lower second bottom dips under the first bottom, and traders often call that a liquidity sweep. In the 1,970 standard trades, 1,106 had a higher second bottom (56.1%), 854 had a lower one and 10 had an equal one. We tested each as its own version. The version with only a higher second bottom made +0.029R per trade over 1,138 trades. The version with only a lower second bottom made +0.013R over 895 trades. The gap came from 4-hour charts: a higher second bottom made +0.098R over 266 trades (+0.055R in 2007–2019, +0.185R in 2020–2025), and a lower one lost 0.037R over 211 trades. Each 4-hour test of these two versions had fewer than 50 trades, so this is a hint, not proof. On 1-hour charts, the two were close: +0.015R over 834 trades for a higher second bottom, and +0.024R over 646 trades for a lower one.

  4. Waiting for a retest of the neckline made the result worse. A retest is when price comes back down to the neckline after the breakout. We placed a buy limit order (an order that waits at a set price) at the neckline for up to 10 candles. That gave 1,470 trades instead of 1,970. The order fills only when price goes one spread below it, as a broker's order would. So a retest that only touched the neckline did not fill. 50.7% of them won, fewer than with the standard rules. Each win was bigger, because the entry was lower and the take-profit further away: +0.94R on average. But the average trade made only +0.007R, compared with +0.027R. On 1-hour charts, the retest made +0.040R per trade in 2007–2019 and lost 0.038R per trade in 2020–2025.

  5. On stock indices, the pattern did better, but with too few trades to be sure. We tested the standard rules separately on the Nasdaq 100, the S&P 500 and the Dow Jones, on 1-hour, 4-hour and daily charts, from 2019 to 2025. The 229 trades made +0.118R per trade, and 62.9% of them won. 6 of the 9 tests made money. Trading costs took only about 0.005R per trade. But each test had few trades: 50 to 54 on 1-hour charts, 22 to 25 on 4-hour charts and 0 to 3 on daily charts. The 1-hour trades made +0.188R per trade in 2019–2022 and lost 0.024R per trade in 2023–2025 (see the stock index table below).

By market

USD/CAD, gold and EUR/USD made the most per trade, and GBP/USD and AUD/USD lost money

Each bar is the average trade of the standard rules on one market, with the 1-hour, 4-hour and daily charts added together, from 2007 to 2025, after trading costs. The average trade is in R: the result of a trade in money, divided by 1% of the account balance when the trade opened. Most of each market's trades came from 1-hour charts.

  • USD/CAD251 trades +0.090R
  • Gold222 trades +0.076R
  • EUR/USD243 trades +0.062R
  • GBP/JPY252 trades +0.035R
  • USD/JPY271 trades +0.034R
  • Silver237 trades +0.029R
  • AUD/USD272 trades −0.033R
  • GBP/USD222 trades −0.079R

Trading costs took this much per trade, in R: EUR/USD 0.007R, GBP/USD 0.009R, USD/JPY 0.010R, AUD/USD 0.011R, USD/CAD 0.013R, GBP/JPY 0.014R, gold 0.013R and silver 0.033R. Silver paid the most, because its stop-loss was often small next to its spread. Each market's trades are counted from all three charts, so a market's average is mostly its 1-hour result. No market had a 4-hour or daily test with 100 trades.

Trade by trade

Every version made a small profit over 2007–2025, and none beat the standard rules in both periods

Each row adds up every trade of one version on all 24 tests (8 markets, each on 1-hour, 4-hour and daily charts), after trading costs. In the table, each change is one version. 'Won' is the share of trades that made money. 'Average win' and 'Average trade' are in R: the result of a trade in money, divided by 1% of the account balance when the trade opened. Each trade counts in the period in which it closed.

Version Trades Won Average win Average trade, 2007–2025 2007–2019 2020–2025
Standard rules 1,970 60.6% +0.66R +0.027R +0.020R +0.041R
Wait for a retest of the neckline 1,470 50.7% +0.94R +0.007R +0.010R −0.001R
Only a higher second bottom 1,138 60.5% +0.67R +0.029R +0.018R +0.051R
Only a lower second bottom 895 60.1% +0.66R +0.013R +0.009R +0.020R
Only after a fall (first bottom below the 200 EMA) 1,171 59.8% +0.67R +0.015R +0.029R −0.019R

The average loss was about −0.95R in every version. The versions made different numbers of trades. In each test, only one trade is open at a time, so a version whose rules let different patterns through also skips different breakouts. That is why the higher and lower versions together have 2,033 trades, more than the 1,970 of the standard rules. The 200 EMA is a moving average of the last 200 candles that gives more weight to recent candles.

Stock indices

On stock indices, 6 of 9 tests made money, but every test had fewer than 100 trades

A separate test of the standard rules, from 2019 to 2025, after trading costs. It uses the Nasdaq 100, the S&P 500 and the Dow Jones, each on 1-hour, 4-hour and daily charts. We tested the indices apart from the main 24 tests, because our index prices on charts below daily are reliable only from 2019. 'Won' is the share of trades that made money. 'Return' is how much the $10,000 account grew or shrank in the test. The last two columns show the return in each half of the years.

Test Trades Won Return 2019–2022 2023–2025
Nasdaq 100, 1-hour 50 60.0% +2.6% +7.6% −4.6%
Nasdaq 100, 4-hour 22 54.5% −0.4% −1.0% +0.5%
Nasdaq 100, daily 0 – 0.0% – –
S&P 500, 1-hour 52 63.5% +6.9% +6.1% +0.7%
S&P 500, 4-hour 23 82.6% +10.9% +4.2% +6.5%
S&P 500, daily 3 66.7% +0.5% +0.7% −0.1%
Dow Jones, 1-hour 54 63.0% +6.4% +4.0% +2.3%
Dow Jones, 4-hour 25 56.0% +0.4% −3.1% +3.7%
Dow Jones, daily 0 – 0.0% – –

No test here had 100 trades, so a few lucky trades could explain a result like the S&P 500's +10.9% on 4-hour charts. In all, the 229 trades made +0.118R per trade, and 62.9% of them won. The trading costs were about 0.005R per trade.

The strategy

What the double bottom pattern is

The double bottom is a chart pattern that many traders read as the end of a fall. Price falls to a low, bounces up to a peak, then falls back to about the same low and turns up again. The two lows are the bottoms, and the peak between them is the middle of a letter W. The flat line through the peak is the neckline. When a candle closes above the neckline, the pattern is complete, and traders buy, expecting price to keep rising. Traders usually put the stop-loss just below the lower bottom. The usual target is the pattern's height, the distance from the bottoms up to the neckline, added on top of the neckline. The mirror image, two peaks with a dip between them, is the double top, a sell signal. This page tests only the double bottom, the buy signal. Our page on chart patterns tests double tops and bottoms together, from 2019 to 2025. This page tests the buy signal alone, over more years. Most traders find the pattern by eye, so two traders can see different patterns on the same chart. To test it, we wrote exact rules, built from swing points and the ATR. A swing low is a candle whose low is lower than the lows of the 5 candles before it and the 5 candles after it. A swing high is the mirror image. ATR (average true range) is the average size of a candle, from its low to its high, over the last 14 candles. It grows and shrinks with volatility, how far price moves, so a rule written in ATR means the same thing on every market and chart.

Swing points
5 candles on each side, so a swing point is known 5 candles after it
Bottoms
10 to 60 candles apart, and within 0.5 × ATR(14) of each other
Peak
At least 2 × ATR(14) above the higher bottom
A typical pattern
In a typical trade (the median), the two bottoms were 16 candles apart. The pattern was 3.30 × ATR(14) high, from the lower bottom up to the peak
Neckline
A flat line at the peak's high
Entry
Buy at the open of the candle after the first close above the neckline
Stop-loss
At the lower bottom's low. It does not move. In a typical trade (the median), it was 3.88 × ATR(14) below the entry. A stop-loss does not protect against a gap, a jump in price between two candles. GBP/USD opened on Sunday 18 April 2010, 57 pips below the stop-loss of a 1-hour trade bought on 14 April. That trade lost 1.47R
Take-profit
The pattern's height (the peak's high minus the lower bottom's low), added to the neckline. For half of the trades, the take-profit was less than 0.78R from the entry: less than 0.78 times as far as the stop-loss. A gap can help too. USD/JPY opened on Sunday 5 October 2025, 132 pips above the take-profit of a 1-hour trade bought on 3 October. When price opens past the take-profit, the test closes the trade at that open price. That trade made +2.10R. 8 patterns were not traded, because the candle that broke the neckline had already closed at or above the take-profit
Risk per trade
1% of the account balance when the trade opens. The account started at $10,000
Stop-loss and take-profit in one candle
The test looks at 1-minute prices to see which one price reached first. If it reached both in the same minute, the test counts the stop-loss
Trading costs
The spread: the gap between the buy price and the sell price. On the currency pairs, the spread is 0.8 pips on EUR/USD, 0.9 on USD/JPY, 1.0 on AUD/USD and 1.2 on GBP/USD. The spread is 1.3 pips on USD/CAD and 2.5 on GBP/JPY. A pip is 0.0001, or 0.01 on the pairs with the Japanese yen. The spread is $0.30 an ounce on gold and $0.020 on silver. The silver spread is wider than our backtest engine's own, to match a typical retail broker. In the separate stock index test, the spread is 1.5 points on the Nasdaq 100, 0.4 on the S&P 500 and 2.0 on the Dow Jones. The entry is a market order (an order that fills at the next price), so it pays half the spread. A trade that closes at the stop-loss pays the other half. The take-profit is a limit order (an order that waits at a set price), so it pays no spread. For a buy trade, it fills at the bid price, the price you can sell at. So the test fills it as soon as the price shown on the chart touches it. With the retest change, the entry is a buy limit order. The test fills it only when price trades through it by one spread, so that the ask (the price you pay to buy) reaches it. With the standard rules, the costs took 0.013R per trade on average: +0.040R per trade before costs and +0.027R after. Silver paid the most: 0.033R per trade. Its stop-loss was often small, so the spread took a bigger share of the risk. On the stock indices, costs took about 0.005R per trade. No commission
Smallest trade size
Trade sizes are rounded down to the market's smallest step: 1,000 units of a currency pair, 1 ounce of gold and 50 ounces of silver. So when the stop-loss was far from the entry, a trade could risk less than 1%. With the standard rules, 405 out of 1,970 trades risked less than 0.9%, 119 of them on silver and 83 on gold. The lowest was 0.51%. 15 patterns were not traded, because even the smallest size would have risked more than 1%: 10 on silver, 4 on gold and 1 on GBP/USD. No trade needed a bigger size than our backtest engine allows. In the stock index test, 94 out of 229 trades risked less than 0.9%. 10 patterns were not traded because of the size: 8 on the Dow Jones and 2 on the Nasdaq 100
Overnight fees
Not included. Brokers charge (or sometimes pay) a fee for each night a trade stays open. With the standard rules, half of the trades closed within 21.5 hours on 1-hour charts, 4.3 days on 4-hour charts and 26 days on daily charts. 816 out of 1,970 trades stayed open over a weekend
Price data
CFD prices: the prices a broker quotes for a CFD (contract for difference), the product most brokers outside the US offer for trading these markets. The main test starts in 2007, because our silver prices have gaps before that. We tested the stock indices separately, from 2019, because our index prices on charts below daily are reliable only from 2019. We left out Bitcoin. Our backtest charges it the same spread at any price, so its trading costs would be wrong. The rules skip any candle that starts on a Friday at 17:00 New York time or later. The rules also skip any candle with no price movement (its high equals its low), which usually means a market holiday. 3 trades that were still open at the end of 2025 were closed on 31 December 2025

The rules we tested

  1. Find the swing points. A swing low is a candle whose low is lower than the lows of the 5 candles before it and the 5 candles after it. A swing high is the mirror image. So a swing point is known only 5 candles later. Highs and lows take turns: of two swing highs in a row, only the higher one counts, and of two swing lows in a row, only the lower one.
  2. The pattern uses the last three swing points. In order, they are a swing low (the first bottom), a swing high (the peak) and a swing low (the second bottom). The rules check the pattern when the second bottom becomes known, and again if a lower swing low replaces it.
  3. The two bottoms must be 10 to 60 candles apart, and within 0.5 ATR of each other. The peak must be at least 2 ATR above the higher bottom. ATR(14) is the average size of a candle over the last 14 candles, measured on the candle that closes above the neckline.
  4. The neckline is a flat line at the peak's high.
  5. Buy at the next candle's open after the first candle that closes above the neckline. If a candle had already closed above the neckline after the peak, before the pattern was known, there is no trade. If price goes below the lower bottom before the breakout, the pattern is dropped. If a new swing low becomes known first, the rules check the newest three swing points instead.
  6. Put the stop-loss at the lower bottom's low. It does not move.
  7. Put the take-profit at the pattern's height above the neckline. The height is the peak's high minus the lower bottom's low.
  8. Size every trade so that a loss at the stop-loss costs 1% of the account balance when the trade opens. In each test, only one trade is open at a time: a breakout that happens while a trade is open is skipped. With the standard rules, this skipped 147 breakouts.

The method

How we tested it

The test

Markets
EUR/USD, GBP/USD, USD/JPY, AUD/USD, USD/CAD, GBP/JPY, Gold and Silver
Charts
1-hour, 4-hour and daily candles
Dates
January 2007 to December 2025
Account
$10,000, risking 1% of the account on each trade
Trading costs
Included. Every trade pays that market's normal trading cost: the spread, which is the gap between the buy price and the sell price.

How a test passes

We call a test passed only if it meets all four checks. A strategy can make money in one backtest and still fail one of these checks.

  • At least 100 trades. With fewer trades, a good result could be luck.
  • It made money from 2007 to 2019 and again from 2020 to 2025. This shows whether the strategy kept working in the newer years, not only in the older ones.
  • A profit factor (the money won divided by the money lost) of at least 1.2 from 2020 to 2025, after trading costs.
  • In 95% of 1,000 random shuffles of the trades, the account must not fall more than 30% from its highest point.

Improvements

Can the double bottom pattern be improved?

We tried four changes that traders often make, one at a time, on the same 24 tests. In the table, each change is one version. One changes the entry: waiting for a retest of the neckline. Three are filters: only a higher second bottom, only a lower second bottom, and only after a fall. If you pick the best change and judge it on the same years you used to pick it, it almost always looks better than it really is. So we picked the best change using 2007–2019 only: the change that made money in the most tests. If two changes tied, we took the one with the better middle test. Then we checked it on 2020–2025, the years we did not use to pick it. Every 4-hour and daily test of the standard rules had fewer than 100 trades. Tests with fewer than 100 trades count when we pick the best change, but not in 'Made money in both periods' or 'Passed all four checks'.

Version Made money 2007–2019years used to pick the best version Made money 2020–2025years not used to pick it Made money in both periods Passed all four checks
Standard rules The rules under 'The rules we tested', with nothing changed. 11 of 24middle test −0.3% 16 of 24middle test +0.9% 3 0
Wait for a retest of the neckline After the candle that closes above the neckline, place a buy limit order (an order that waits at a set price) at the neckline's price. It waits up to 10 candles, and it is cancelled if price reaches the take-profit first. The test fills it only when price trades through it by one spread. The stop-loss and the take-profit stay the same. 15 of 24middle test +0.2% 12 of 24middle test +0.2% 1 0
Only a higher second bottomBest on 2007–2019 Only buy when the second bottom is higher than the first bottom. The entry, the stop-loss and the take-profit stay the same. 15 of 24middle test +0.6% 13 of 24middle test +0.2% 1 1
Only a lower second bottom Only buy when the second bottom is lower than the first bottom. Price dips under the first bottom, then turns up. Traders often call this a liquidity sweep: price briefly passes below the first bottom, where many stop-losses sit, and then reverses. The entry, the stop-loss and the take-profit stay the same. 9 of 24middle test −0.3% 14 of 24middle test +0.7% 0 0
Only after a fall (first bottom below the 200 EMA) Only buy when the candle of the first bottom closed below the 200 EMA, a moving average of the last 200 candles that gives more weight to recent candles. Then the pattern comes after a fall, as textbooks describe it. The entry, the stop-loss and the take-profit stay the same. 13 of 24middle test +0.2% 11 of 24middle test −0.2% 2 0

A higher second bottom made money in the most tests in 2007–2019, the years we used to pick the best change. It made money in 15 of 24 tests, compared with 11 with the standard rules. Waiting for a retest also made money in 15 tests, but its middle test was +0.2%, compared with +0.6% for the higher second bottom. The version for patterns after a fall made money in 13 tests, and the lower second bottom in 9. In 2020–2025, the years we kept for the check, the higher second bottom made money in 13 of 24 tests (middle test +0.2%). The standard rules made money in 16 of 24 (middle test +0.9%). On 1-hour charts, it made money in both periods on 1 test, GBP/JPY, compared with 3 with the standard rules. GBP/JPY on the 1-hour chart also passed all four checks. With the standard rules, no test did. Per trade, the higher second bottom made +0.051R in 2020–2025, compared with +0.041R for the standard rules. So it was a little better per trade, but it made money in fewer tests. Waiting for a retest made money in 12 of 24 tests in 2020–2025. The version for patterns after a fall lost 0.019R per trade in 2020–2025 and made money in 11 of 24 tests. A lower second bottom made money in both periods on no test.

Passed all four checks with only a higher second bottom

  • GBP/JPY, 1-hour

Questions

Questions traders ask

What is the success rate of a double bottom?

In our backtest, 60.6% of the trades won: 1,194 out of 1,970 trades, after trading costs. We tested the double bottom's buy signal on 6 currency pairs, gold and silver, on 1-hour, 4-hour and daily charts, from 2007 to 2025. The stop-loss was at the lower bottom, and the take-profit was the pattern's height above the neckline. 60.5% of the trades closed at the take-profit. But a high win rate did not mean a big profit. The take-profit was usually closer than the stop-loss, so the average win was +0.66R and the average loss was −0.95R. The trades needed to win about 59.0% of the time to break even, and the average trade made +0.027R. Often-quoted success rates, like 65% from Thomas Bulkowski's tests on US stocks, measure something else: whether price reached a target, not trades with a stop-loss at the lower bottom. On our daily charts, 55.4% of 74 trades won.

Where do you put the stop-loss on a double bottom?

Traders usually put it just below the lower of the two bottoms. Our backtest put it exactly at the lower bottom's low, with no extra room. It does not move. In a typical trade, that was 3.88 × ATR(14) below the entry. ATR(14) is the average size of a candle over the last 14 candles. The take-profit was the pattern's height above the neckline. For half of the trades, it was less than 0.78R from the entry: less than 0.78 times as far as the stop-loss. So a win made less than a loss cost, and the trades had to win about 59.0% of the time to break even. They won 60.6% of the time, and the average trade made +0.027R.

Is a double bottom with a higher second bottom better?

A little, in our backtest, mostly on 4-hour charts. Of the 1,970 trades with the standard rules, 1,106 had a higher second bottom (56.1%), 854 had a lower one and 10 had an equal one. Trading only a higher second bottom made +0.029R per trade over 1,138 trades from 2007 to 2025. Trading only a lower second bottom made +0.013R over 895 trades. On 4-hour charts, a higher second bottom made +0.098R per trade over 266 trades, and a lower one lost 0.037R over 211 trades. On 1-hour charts, the two were close: +0.015R and +0.024R. A higher second bottom made money in fewer tests than the standard rules in 2020–2025: 13 of 24, compared with 16 of 24.

Which timeframe is best for the double bottom?

In our backtest, the 4-hour chart made the most per trade, but the 1-hour chart had the most trades. From 2007 to 2025, the 1-hour chart made +0.023R per trade over 1,434 trades. It made +0.030R in 2007–2019 and +0.008R in 2020–2025. The 4-hour chart made +0.052R per trade over 462 trades, with +0.020R in 2007–2019 and +0.118R in 2020–2025. But each 4-hour test had only 51 to 68 trades, so that result is less certain. The daily chart lost 0.050R per trade over 74 trades, and 55.4% of them won. Each daily test had only 6 to 13 trades. Only the 1-hour tests had at least 100 trades, from 155 to 211 each.

Keep exploring

Related strategies we tested

Chart patterns Gartley pattern backtest Made money in 0 of 40 tests, 0 of them in both periods. Best: USD/CAD, 30-minute, +28% Chart patterns Wyckoff spring backtest Made money in 2 of 30 tests, 0 of them in both periods. Best: Dow Jones, 15-minute, +131% Chart patterns Cup and handle pattern backtest Made money in 1 of 40 tests, 0 of them in both periods. Best: USD/CAD, 1-hour, +19% Chart patterns Head and shoulders pattern backtest Made money in 6 of 30 tests, 4 of them in both periods. Best: Gold, 1-hour, +37% Chart patterns 7 well-known chart patterns, backtested and ranked Made money in 7 of 30 tests, 2 of them in both periods. Best: S&P 500, 4-hour, +49%
The strategy code we ran

This is the exact code from the BacktestingMax strategy engine. Paste it into the strategy editor in the app to run it on any market.

class DoubleBottom(Strategy):
    """The double bottom, found from swing points with ATR tolerances, bought on the neckline
    break, plus the changes traders argue about.
    Swing points: a swing high is a candle whose high is higher than the highs of the 5 candles
    before it and the 5 candles after it (a tie doesn't count). A swing low is the mirror image.
    A swing is known 5 candles after it, when those candles have closed. Highs and lows take
    turns: if two swing highs come without a swing low between them, only the higher one counts
    (two lows in a row: only the lower one).
    The pattern: when a new swing low becomes known (or the newest swing low is replaced by a
    lower one), the last three swings are a swing low (the first bottom, B1), a swing high (the
    peak, P) and a swing low (the second bottom, B2). The neckline is a flat line at the high of
    the peak. ATR is ATR(14), the average candle range over the last 14 candles, on the candle
    that closes above the neckline. It is a double bottom when:
      the two bottoms are 10 to 60 candles apart,
      the two bottoms are within 0.5 ATR of each other,
      the peak is at least 2 ATR above the higher of the two bottoms.
    Entry: when a candle closes above the neckline, buy at the next candle's open. Only the first
    close above the neckline counts: if a candle had already closed above it (from the peak on),
    the pattern is skipped. The pattern is dropped when the next swing low is known, or when a
    candle's low goes below the lower bottom before the breakout. Stop-loss: the lower bottom.
    Take-profit: the neckline plus the pattern's height (the neckline minus the lower bottom).
    Size every trade to lose 1% of the account at the stop-loss. One trade at a time: a pattern
    that breaks out while a trade is open is skipped.
    Skipped candles: a candle that opens on a Friday at 17:00 New York time or later (a few
    minutes of prices after the weekly close make a tiny extra candle in some years), and a candle
    whose high equals its low (a market holiday in the price data). The strategy ignores them:
    they are never swing points or breakout candles, and they are left out of the ATR and the
    EMA, which is why both are worked out here. On a market that trades at the weekend, remove
    the Friday skip.
    The changes, one at a time (off by default):
      retest    = 1   wait for price to come back down to the neckline: after the breakout close,
                      a buy limit order at the neckline's price. It waits up to 10 candles and is
                      cancelled if price reaches the take-profit first
      second    = 1   only buy when the second bottom is higher than the first
      second    = -1  only buy when the second bottom is lower than the first (it undercuts it)
      trend     = 1   only buy when the breakout candle closes above the 200 EMA
      trend     = -1  only buy when the first bottom's candle closed below the 200 EMA: the
                      pattern comes after a fall
      target_part = 0.5  take profit at half the pattern's height instead of all of it
    """
    params = {"swing_bars": Param(type=int, default=5, min=2, max=20),
              "atr_period": Param(type=int, default=14, min=2, max=100),
              "min_gap": Param(type=int, default=10, min=1, max=200),
              "max_gap": Param(type=int, default=60, min=1, max=500),
              "tol_atr": Param(type=float, default=0.5, min=0.0, max=10.0),
              "height_atr": Param(type=float, default=2.0, min=0.0, max=20.0),
              "retest": Param(type=int, default=0, min=0, max=1),
              "retest_bars": Param(type=int, default=10, min=1, max=100),
              "second": Param(type=int, default=0, min=-1, max=1),
              "trend": Param(type=int, default=0, min=-1, max=1),
              "ema_period": Param(type=int, default=200, min=2, max=1000),
              "target_part": Param(type=float, default=1.0, min=0.1, max=5.0)}
    lookback = 2
    def init(self, ctx):
        self.p = ctx.params
        self.ny = ctx.clock("America/New_York")
        self.k = -1                 # number of the newest candle the strategy uses
        self.hi = []                # highs, lows, closes and EMA values of those candles
        self.lo = []
        self.cl = []
        self.emas = []
        self.swings = []            # [kind, price, k]: kind 1 = swing high, -1 = swing low
        self.pattern = None         # the three swings waiting for a neckline break
        self.prev_close = None
        self.atr = None             # Wilder's ATR, as the built-in one
        self.atr_sum = 0.0
        self.atr_n = 0
        self.ema = None             # the EMA of the closes
        self.ema_sum = 0.0
        self.ema_n = 0
        self.order = None           # retest: the resting buy limit order
        self.order_k = None
        self.order_target = None
    # ---- candles, ATR, EMA, swings ---------------------------------------------------------
    def update_averages(self, high, low, close):
        p = self.p
        tr = high - low if self.prev_close is None else max(
            high - low, abs(high - self.prev_close), abs(low - self.prev_close))
        self.prev_close = close
        n = p.atr_period
        self.atr_n += 1
        if self.atr_n < n:
            self.atr_sum += tr
        elif self.atr_n == n:
            self.atr = (self.atr_sum + tr) / n
        else:
            self.atr += (tr - self.atr) / n
        m = p.ema_period
        self.ema_n += 1
        if self.ema_n < m:
            self.ema_sum += close
        elif self.ema_n == m:
            self.ema = (self.ema_sum + close) / m
        else:
            self.ema += (close - self.ema) * 2.0 / (m + 1)
        self.emas.append(self.ema)
    def add_swing(self, kind, price, k):
        """Add a swing point. Returns True when the newest swing low changed."""
        s = self.swings
        if s and s[-1][0] == kind:
            if (kind == 1 and price > s[-1][1]) or (kind == -1 and price < s[-1][1]):
                s[-1] = [kind, price, k]
                return kind == -1
            return False
        s.append([kind, price, k])
        del s[:-12]
        return kind == -1
    def new_pattern(self, k):
        """The newest swing is a low: the last three swings may be a double bottom."""
        self.pattern = None
        s = self.swings
        if len(s) < 3 or s[-1][0] != -1:
            return
        (_, b1, k1), (_, peak, kp), (_, b2, k2) = s[-3:]
        if not self.p.min_gap <= k2 - k1 <= self.p.max_gap:
            return
        # Skip it if a candle already closed above the neckline, from the peak on.
        for j in range(kp, k):
            if self.cl[j] > peak:
                return
        self.pattern = {"b1": b1, "k1": k1, "peak": peak, "kp": kp, "b2": b2, "k2": k2,
                        "low": min(b1, b2), "found_k": k}
    def breakout(self, pat, k, close):
        """The neckline break on this candle, if the shape is a double bottom, else None."""
        a = self.atr
        p = self.p
        b1, b2, peak = pat["b1"], pat["b2"], pat["peak"]
        ok = abs(b1 - b2) <= p.tol_atr * a and peak - max(b1, b2) >= p.height_atr * a
        if not ok:
            return None
        height = peak - pat["low"]
        sig = dict(pat)
        sig.update({"level": peak, "target": peak + p.target_part * height, "height": height, "atr": a,
                    "ema": self.ema, "ema_b1": self.emas[pat["k1"]], "close_b1": self.cl[pat["k1"]],
                    "close": close, "k": k})
        return sig
    def step(self, high, low, close):
        """Add one candle. Returns the double bottom that broke out on its close, or None."""
        self.k += 1
        k = self.k
        self.hi.append(high)
        self.lo.append(low)
        self.cl.append(close)
        n = self.p.swing_bars
        c = k - n
        if c - n >= 0:
            win = range(c - n, k + 1)
            top = all(self.hi[c] > self.hi[j] for j in win if j != c)
            bottom = all(self.lo[c] < self.lo[j] for j in win if j != c)
            changed = False
            if top and bottom:  # an outside candle: keep the side that takes turns with the last swing
                last = self.swings[-1][0] if self.swings else -1
                changed = self.add_swing(-last, self.hi[c] if last == -1 else self.lo[c], c)
            elif top:
                changed = self.add_swing(1, self.hi[c], c)
            elif bottom:
                changed = self.add_swing(-1, self.lo[c], c)
            if changed:
                self.new_pattern(k)
        pat = self.pattern
        if pat is None or self.atr is None:
            return None
        if low < pat["low"]:
            self.pattern = None  # price went under the lower bottom before the breakout
            return None
        if close <= pat["peak"]:
            return None
        self.pattern = None  # only the first close above the neckline counts
        return self.breakout(pat, k, close)
    # ---- trading ---------------------------------------------------------------------------
    def on_bar(self, ctx):
        # A tiny candle after the Friday close, or a candle with no price movement: ignore it.
        if self.ny.weekday == 4 and self.ny.hour >= 17:
            return
        high, low, close = ctx.high[0], ctx.low[0], ctx.close[0]
        if not high > low:
            return
        p = ctx.params
        self.update_averages(high, low, close)
        sig = self.step(high, low, close)
        if self.order is not None:  # retest: a buy limit order is waiting at the neckline
            if self.order.state.value != "pending" or ctx.position is not None:
                self.order = None
            else:
                if high >= self.order_target or self.k - self.order_k >= p.retest_bars:
                    ctx.cancel_order(self.order.order_id)
                    self.order = None
                return
        if ctx.position is not None:
            return
        if not ctx.gate("double_bottom_breakout", sig is not None):
            return
        if p.second != 0:
            if not ctx.gate("second_bottom", (sig["b2"] - sig["b1"]) * p.second > 0):
                return
        if p.trend == 1:
            ema = sig["ema"]
            if not ctx.gate("trend_filter", ema is not None and sig["close"] > ema):
                return
        elif p.trend == -1:
            ema = sig["ema_b1"]
            if not ctx.gate("trend_filter", ema is not None and sig["close_b1"] < ema):
                return
        self.enter(ctx, sig)
    def enter(self, ctx, sig):
        p = ctx.params
        stop = sig["low"]
        entry = sig["level"] if p.retest == 1 else sig["close"]
        target = sig["target"]
        # The stop-loss must be below the entry and the take-profit above it.
        if not ctx.gate("room_to_target", stop < entry < target):
            return
        size = ctx.size_by_risk_pct(0.01, stop=stop, entry=entry)
        if p.retest == 1:
            self.order = ctx.buy(size=size, limit=entry, sl=stop, tp=target, tag="double_bottom")
            if self.order is not None:
                self.order_k, self.order_target = self.k, target
            return
        ctx.buy(size=size, sl=stop, tp=target, tag="double_bottom")

Your turn

Test the double bottom pattern yourself

Change the settings, the market or the stop-loss and see the result in seconds. Ask the BacktestingMax AI: Backtest the double bottom on USD/CAD, 1-hour chart, from 2007 to 2025: swing points with 5 candles on each side, two bottoms 10 to 60 candles apart within 0.5 ATR of each other, peak at least 2 ATR above them, buy on a close above the peak, stop-loss at the lower bottom, take profit at the pattern's height above the peak, risk 1% per trade.

Try it free in BacktestingMax

Free account. No credit card needed.

See every strategy we tested Browse strategies shared by traders

Backtest on historical data with trading costs, run by BacktestingMax. Past results do not guarantee future results, and nothing here is financial advice. Updated 23 November 2026.