Double Bottom
Category: Chart patterns · Updated November 2026
The TAAPI.IO Double Bottom API finds the bullish Double Bottom: two lows at about the same price with a rally between them. The high of that rally is the neckline. When price closes above it, the downtrend that built the lows is considered over. It works on crypto pairs and US stocks. Send an exchange, symbol and timeframe, with no candles to download and no pattern logic to maintain.
What one request returns
- The shape: the first bottom (
l1_*), the peak between the bottoms (h1_*) and the second bottom (l2_*), so you can draw the pattern. - The neckline: a flat level at the peak high (
neckline_level), and where to stop drawing it (neckline_right_timestamp). - The breakout and target: the candle that closed above the neckline, its close, and
projection_price, one pattern height above the neckline. - The status:
forming,confirmedorinvalidated, with astatus_reasonthat says why.
The default returns the most recent pattern. Add results=max to get every pattern found in the candles, oldest first. The mirror image, a bearish top, is the Double Top.
Example: ETHUSDT, June to August 2026
Request: ETHUSDT on daily Binance candles with the default settings. This is the pattern it returned on 12 November 2026.
| Point | Price | Date (UTC) | What it is |
|---|---|---|---|
| First bottom | 1,505.68 | 6 Jun | A new swing low in the downtrend |
| Peak | 1,849.54 | 15 Jun | The rally high between the bottoms: the neckline |
| Second bottom | 1,512.00 | 26 Jun | 6.32 above the first bottom, 0.07 ATR, so the two count as equal |
| Breakout | 1,891.87 | 14 Jul | First daily close above the neckline, 18 candles after the second bottom |
| Target | 2,193.40 | — | Neckline + (neckline − first bottom) = 1,849.54 + 343.86 |
How to interpret this: Ether fell to 1,505.68 on 6 June, bounced to 1,849.54 nine days later, then sold off again and found buyers at 1,512 on 26 June, almost exactly the same low. Sellers had pushed to the same level twice and failed. For more than two weeks price stayed under the June high; on 14 July a daily candle closed at 1,891.87, above it, and the API marked the pattern confirmed. The measured move takes the depth of the first bottom below the neckline, 343.86, and adds it to the neckline, which gives 2,193.40. Three days later price closed back below the neckline at 1,841.93, but it held well above the bottoms, reached the target on 19 August and went on to 2,807.34 in September.
The second bottom is only known 5 candles after it prints (with the default depth of 10), so this pattern first appeared on 1 July as forming and stayed that way until the breakout on 14 July. Price reaching the target here does not mean it always will; see a pattern that failed. Example for illustration only, not financial advice.
| Spec | Value |
|---|---|
| Endpoint | GET https://v2.taapi.io/indicator/doublebottom |
| Outputs | l1_price, h1_price, l2_price, neckline_level, breakout_price, projection_price, status, status_reason and more |
| Markets | Binance, Binance Futures, Bybit, Gate.io, Kraken and US stocks |
| Timeframes | 1m to 1w |
| Delivery | REST, bulk and WebSocket |
Get Double Bottom with one API call
This request returns Double Bottom for BTCUSDT on 1-hour Binance candles. Add your API key to run it here.
curl -G https://v2.taapi.io/indicator/doublebottom \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=1h"
import requests
resp = requests.get(
'https://v2.taapi.io/indicator/doublebottom',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={'exchange': 'binance', 'symbol': 'BTCUSDT', 'timeframe': '1h'},
)
print(resp.json())const params = new URLSearchParams({"exchange": "binance", "symbol": "BTCUSDT", "timeframe": "1h"});
const res = await fetch(`https://v2.taapi.io/indicator/doublebottom?${params}`, {
headers: { Authorization: 'Bearer YOUR_API_KEY' },
});
console.log(await res.json());Double Bottom API response
Example for ETHUSDT on daily Binance candles: the pattern charted above, from a default request on 12 November 2026.
{
"l1_timestamp": [1780704000],
"l1_price": [1505.68],
"h1_timestamp": [1781481600],
"h1_price": [1849.54],
"l2_timestamp": [1782432000],
"l2_price": [1512],
"neckline_level": [1849.54],
"neckline_right_timestamp": [1783987200],
"breakout_occurred": [true],
"is_confirmed": [true],
"breakout_timestamp": [1783987200],
"breakout_price": [1891.87],
"breakout_neckline_price": [1849.54],
"projection_price": [2193.3999999999996],
"direction": ["bullish"],
"status": ["confirmed"],
"status_reason": ["breakout_above_neckline"],
"pattern_index": [6],
"timestamp": [1794441600]
}Reading this response
- The names follow the order of the swings:
l1is the first bottom,h1the peak between the bottoms andl2the second bottom. neckline_levelis exactlyh1_price, 1,849.54: the wick high of the 15 June candle. That candle's body ended at 1,796.13; withsource=bodythe peak, and so the neckline, would sit there instead.- The pattern height is
neckline_level−l1_price= 1,849.54 − 1,505.68 = 343.86, about 3.9 ATR. The minimum is 1.5 ATR. - The breakout close, 1,891.87, is above the neckline, so
statusisconfirmed. Because the neckline is flat,breakout_neckline_priceis the same 1,849.54. projection_price= 1,849.54 + 343.86 = 2,193.40.- Because the pattern is confirmed,
neckline_right_timestampis the breakout candle.pattern_index6 means it is the sixth double bottom in the ETH daily candles the API looked at;results=maxreturns all six.
| Field | Type | Description |
|---|---|---|
l1_timestamp, l1_price | integer[], number[] | First bottom: Unix time in seconds, and the swing low |
h1_timestamp, h1_price | integer[], number[] | The peak between the two bottoms. Its high is the neckline |
l2_timestamp, l2_price | integer[], number[] | Second bottom. A price below it before the breakout invalidates the pattern |
neckline_level | number[] | The flat neckline, equal to h1_price. The breakout is tested against this level |
neckline_right_timestamp | integer[] | Where to stop drawing the neckline: the breakout candle if confirmed, the candle that invalidated it, or 20 candles after the second bottom |
breakout_occurred, is_confirmed | boolean[] | true once a candle closed above the neckline |
breakout_timestamp | (integer or null)[] | Unix time of that candle |
breakout_price | (number or null)[] | Its close. Always above neckline_level |
breakout_neckline_price | (number or null)[] | The neckline at the breakout candle, the same as neckline_level. Set only when confirmed |
projection_price | (number or null)[] | Target: neckline_level + (neckline_level − l1_price). Set only when confirmed |
direction | string[] | Always bullish |
status | string[] | forming, confirmed or invalidated |
status_reason | string[] | Why the pattern has that status; see the table below |
pattern_index | integer[] | Position of the pattern in the full list, oldest first |
timestamp | integer[] | Unix time of the latest candle used |
Prices are swing highs and lows on candle wicks. With source=body they are candle bodies instead (the lower of open and close for the bottoms, the higher for the peak), and the neckline moves with them.
Status and status_reason
| status | status_reason | Meaning |
|---|---|---|
forming | awaiting_breakout | The second bottom is in place and price has not closed above the neckline yet |
confirmed | breakout_above_neckline | A candle closed above the neckline within 20 candles of the second bottom. Confirmation is permanent: what price does afterwards does not change it |
invalidated | bearish_structure_resumed | Before any breakout, price went below the second bottom. Sellers are still in charge; a later break of the neckline is ignored |
invalidated | breakout_timeout | 20 candles after the second bottom and still no close above the neckline |
The API checks each candle after the second bottom in order, and the first event decides: a low below the second bottom, or a close above the neckline. Once decided, the status stays the same as new candles arrive. The default results=1 returns only the last pattern, which can be invalidated. Add results=max to get every pattern and filter on status. The response is empty when no pattern is found in the candles, so handle that case in your code. To get only valid patterns merged with other bullish patterns, use Advanced Bullish Patterns, which leaves invalidated ones out.
Double Bottom API parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
exchange | string | Yes | — | binance, binancefutures, bybit, gateio, kraken or stocks |
symbol | string | Yes | — | Pair or ticker, e.g. BTCUSDT or AAPL |
timeframe | string | Yes | — | 1m 5m 15m 1h 4h 1d 1w |
depth | integer | No | 10 | Width of the window that confirms a swing: half the candles before it, half after. With 10, a swing low must be the lowest of 5 candles on each side, and appears 5 candles late. Raise it for larger, slower patterns |
deviationATR | number | No | 1 | Minimum move between two swings, in multiples of ATR (or percent with deviationType=percent). Smaller swings are merged |
deviationType | string | No | atr | atr or percent, the unit of deviationATR |
source | string | No | wick | wick uses highs and lows for the swings and the neckline; body uses open and close |
heikinashi | boolean | No | false | Detect the pattern on smoothed Heikin-Ashi candles instead of real candles. Fewer small swings, but breakouts confirm later and may not match a normal chart |
atrPeriod | integer | No | 14 | Period of the ATR that all the thresholds below are measured in |
bottomToleranceATR | number | No | 0.75 | Largest allowed difference between the two bottoms, in ATR |
minHeightATR | number | No | 1.5 | Minimum rise, in ATR, from the first bottom to the peak |
symmetryMin | number | No | 0.3 | Minimum ratio of candles from first bottom to peak, over candles from peak to second bottom |
symmetryMax | number | No | 4 | Maximum of that ratio |
breakoutLookahead | integer | No | 20 | Candles after the second bottom to wait for a close above the neckline |
necklineBuffer | number | No | 0.1 | How far, in ATR, a candle may close above the neckline between the peak and the second bottom before the pattern is rejected |
results | integer | No | 1 | Number of patterns to return, or max |
backtrack | integer | No | 0 | Candles to skip from the most recent |
What is the Double Bottom?
The Double Bottom is a bullish reversal pattern that forms at the end of a downtrend. Price makes a low, bounces, and falls again to about the same low, where buyers step in a second time. The bounce between the two lows marks a ceiling, the neckline. As long as price stays below it, the market is only ranging above support. A close above it says sellers have failed twice at the same level and buyers have taken out the ceiling too.
How traders use it
Most traders wait for the close above the neckline rather than buying the second bottom, because many second bottoms give way to new lows. On the break they buy, put a stop below the second bottom, and aim for the measured move: the distance from the bottoms up to the neckline, projected up from the neckline. Some wait for price to come back down and retest the neckline from above, which happened in the ETH example three days after the break. Two equal lows after a long decline mean more than two equal lows in a sideways range.
How the API finds it
| Part | Rule |
|---|---|
| Swings | Swing highs and lows confirmed by depth, kept only if they move at least deviationATR × ATR from the previous swing |
| Sequence | Three swings in a row: a lower low (first bottom), a lower high (peak), and any low (second bottom) |
| Downtrend | At least one earlier lower low and one earlier lower high in the candles |
| Equal bottoms | The two bottoms within 0.75 ATR of each other |
| Height | The peak at least 1.5 ATR above the first bottom |
| Timing | First bottom to peak takes between 0.3 and 4 times as many candles as peak to second bottom |
| Neckline | Flat, at the peak high. No candle between the peak and the second bottom closes more than 0.1 ATR above it |
| Breakout | The first close above the neckline within 20 candles of the second bottom, as long as no candle went below the second bottom first |
| Target | Neckline + (neckline − first bottom) |
The ATR is measured at the swing being tested, so the same defaults work on a 1-minute chart and a weekly one. The numbers in the table are the defaults; each has a parameter above.
How to read Double Bottom in your code
| Signal | Meaning | Condition |
|---|---|---|
| Breakout | Price closed above the neckline | status is confirmed |
| Fresh signal | Breakout on the latest candles | breakout_timestamp is close to timestamp |
| Setup to watch | Two bottoms in place, waiting for the break | status is forming; watch for a close above neckline_level |
| Target | Measured move | projection_price |
| Stop | Where the pattern is clearly wrong | Below l2_price, the second bottom |
| Failed setup | Pattern no longer valid | status is invalidated; see status_reason |
Act on a fresh Double Bottom breakout with Python
This reads the latest pattern as of the last closed daily candle (backtrack=1) and only acts on a breakout from the last few candles. It uses projection_price as the target, the second bottom as the stop, and the neckline as an early warning.
curl -G https://v2.taapi.io/indicator/doublebottom \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=ETHUSDT" \ --data-urlencode "timeframe=1d" \ --data-urlencode "backtrack=1"
import requests
API = 'https://v2.taapi.io'
HEADERS = {'Authorization': 'Bearer YOUR_API_KEY'}
market = {'exchange': 'binance', 'symbol': 'ETHUSDT', 'timeframe': '1d', 'backtrack': 1}
CANDLE = 24 * 3600 # seconds per candle for this timeframe
FRESH = 3 # only act on breakouts from the last 3 closed candles
p = requests.get(f'{API}/indicator/doublebottom', headers=HEADERS, params=market).json()
if not p or not p.get('status'):
print('No double bottom in the candles')
elif p['status'][0] != 'confirmed':
print('Latest pattern:', p['status'][0], p['status_reason'][0])
else:
now = p['timestamp'][0] # the last closed candle
age = (now - p['breakout_timestamp'][0]) // CANDLE
if age > FRESH:
print(f'Breakout is {age} candles old, too late to act on')
else:
print(f"Long signal, breakout {age} candles ago at {p['breakout_price'][0]:,.2f}")
print(f"Target: {p['projection_price'][0]:,.2f}")
print(f"Stop: below the second bottom, {p['l2_price'][0]:,.2f}")
print(f"Neckline: {p['neckline_level'][0]:,.2f}; a close back below it is a warning")Why the age check: the second bottom is only known depth/2 candles after it prints, so a fast breakout can already be a few candles old the first time you see the pattern. In the ETH example above the pattern was visible for two weeks before the break. Decide how late is too late for your strategy.
A pattern that worked and one that failed
Two confirmed patterns from the default settings, both clean on a chart.
| ETHUSDT 1d, Jun–Aug 2026 | BTCUSDT 4h, November 2026 | |
|---|---|---|
| Bottoms | 1,505.68 / 1,512.00 | 76,325.98 / 75,736.38 |
| Neckline | 1,849.54 | 78,878.01 |
| Breakout close | 1,891.87 (14 Jul) | 80,296.01 (4 Nov, 12:00) |
| Target | 2,193.40 | 81,430.04 |
| What followed | Back below the neckline on 17 Jul, low 1,803.05; target reached 19 Aug | High of 81,196 on the breakout candle itself; below both bottoms 24 hours later; 71,897 on 12 Nov |
ETH dipped back under the neckline three days after the break but stayed nearly 300 above the bottoms, and a stop below 1,512 was never in danger. BTC looked like the better setup: the breakout candle closed 1,418 above the neckline. That same candle's high, 81,196, was as far as it went, 234 short of the target. By 5 November at 12:00 price was back under the neckline and below the second bottom, and a week later it traded at 71,897, more than 3,800 below the second bottom.
Two more patterns never got that far. On SOLUSDT 4h in November 2026, the bottoms were 89.86 and 88.30 with a neckline at 98.14. Before price could close above it, a candle on 8 November traded down to 85.02, below the second bottom, and the API marked the pattern invalidated with bearish_structure_resumed. On SPY daily in June 2026, the bottoms were 721.23 and 716.58 with a neckline at 756.68. For 20 days price did not close above it, so the API marked it breakout_timeout on 27 July. SPY closed above the neckline on 3 August, 25 days after the second bottom; by then the window had closed, so the API did not report that close as a breakout.
How often the target is reached: across BTC, ETH and SOL at 1h, 4h and 1d, and AAPL, AMZN, MSFT, NVDA, SPY and TSLA at 1h and 1d (2,000 candles each, default settings), the API found 107 double bottoms. 60 were confirmed, 20 were invalidated by a low below the second bottom and 27 timed out. Of the 60 confirmed, 36 reached their target before price got back below the second bottom; 24 did not. That ignores costs and slippage and mixes very different markets. Treat the target as a reference level, not a promise.
Examples for illustration only, not financial advice.
Limitations:
- Swings need
depth/2 candles to confirm, so the second bottom, and sometimes the breakout, appear with a delay. - The first bottom must be a new low and the peak a lower high. A double bottom whose first low sits above an earlier spike down is not found. Loosen
bottomToleranceATRor lowerminHeightATRto find more, less clean patterns. - The neckline is the peak's wick high. One long wick puts it higher than most traders would draw it, as in the ETH example. Use
source=bodyif you draw necklines through candle bodies. - The target is measured from the first bottom. When the second bottom is lower, the real height is a little larger than the one used.
- Rarely, a swing that forms after a breakout redraws the second bottom and the pattern is no longer returned. Store confirmed patterns on your side if you need a permanent record.
- Patterns run on real candles; add
heikinashi=truefor smoothed candles, which find fewer small swings but confirm breakouts later. - A confirmed pattern is not a guaranteed move. Nothing on this page is financial advice.
Get historical Double Bottom values
Add results to return a series for backtesting or charting. The last element is the most recent candle.
curl -G https://v2.taapi.io/indicator/doublebottom \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=1h" \ --data-urlencode "results=100"
Get Double Bottom for multiple symbols
Combine Double Bottom with other indicators in one request. Each exchange, symbol and timeframe combination is one construct: Basic allows 1 per request, Pro 3 and Expert 10.
curl -X POST https://v2.taapi.io/bulk \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"constructs": [
{
"id": "btc_1h",
"exchange": "binance",
"symbol": "BTCUSDT",
"timeframe": "1h",
"indicators": [
{
"id": "doublebottom",
"indicator": "doublebottom"
},
{
"id": "rsi",
"indicator": "rsi"
}
]
}
]
}'Stream Double Bottom in real time
Subscribe over WebSocket to receive new values every 5 seconds while the candle is forming. Streaming supports 1m, 5m, 15m and 1h, and uses interval where REST uses timeframe.
{
"type": "subscribe",
"id": "doublebottom",
"exchange": "binance",
"symbol": "BTCUSDT",
"interval": "1m",
"indicator": "doublebottom"
}Double Bottom API FAQ
What does the Double Bottom API return?
For each pattern: the two bottoms and the peak between them, the flat neckline, the breakout candle and close, the target, and the status with its reason. The default returns the most recent pattern; results=max returns all of them. Results are JSON.
When is a pattern confirmed?
When a candle closes above the neckline within 20 candles of the second bottom, before any candle has gone below the second bottom. A wick above is not enough. Once confirmed, the status does not change. Add backtrack=1 to ignore the candle that is still forming.
How is the target calculated?
Take the depth of the first bottom below the neckline (neckline_level − l1_price) and add it to the neckline. The result is projection_price.
Why is the peak called h1 and the bottoms l1 and l2?
The fields are numbered by swing type in the order they occur: the first low is l1, the first high h1, the second low l2. On the Double Top it is the other way round: h1 and h2 are the tops and l1 the valley.
Why did I get an invalidated pattern?
The default returns the most recent pattern, whatever its status. In 21 test data sets of 2,000 candles the API found 107 double bottoms, and 47 of them were invalidated. Add results=max and keep the ones with status confirmed or forming.
Can I get Double Bottom for US stocks?
Yes. Use exchange=stocks with a ticker such as AAPL. US stocks are included on the Pro plan and above.
Related indicators
- Double Top: the bearish mirror
- Inverse Head and Shoulders: three lows instead of two
- Advanced Bullish Patterns: all bullish chart patterns in one call
See the full list of indicators, or start for free.