Advanced Bullish Patterns
Category: Chart patterns · Updated November 2026
The TAAPI.IO Advanced Bullish Patterns API scans a market for inverse head and shoulders, double bottom, cup and handle, ascending triangle and bullish symmetrical triangle patterns in one call and returns each one with its status, breakout level, breakout and price target, as JSON, for crypto pairs and US stocks. Send an exchange, symbol and timeframe; there are no candles to download and no pattern logic to maintain.
| Spec | Value |
|---|---|
| Endpoint | GET https://v2.taapi.io/indicator/advancedpatternsbullish |
| Outputs | key, name, status, breakout_level, breakout_price, projection_price and more, one entry per pattern |
| Markets | Binance, Binance Futures, Bybit, Gate.io, Kraken and US stocks |
| Timeframes | 1m to 1w |
| Delivery | REST, bulk and WebSocket |
Get Advanced Bullish Patterns with one API call
This request returns Advanced Bullish Patterns for BTCUSDT on 1-hour Binance candles. Add your API key to run it here.
curl -G https://v2.taapi.io/indicator/advancedpatternsbullish \ -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/advancedpatternsbullish',
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/advancedpatternsbullish?${params}`, {
headers: { Authorization: 'Bearer YOUR_API_KEY' },
});
console.log(await res.json());Advanced Bullish Patterns API response
This response came from the live API on 12 November 2026. Long lists are shortened here.
{
"key": ["cupandhandle"],
"name": ["Cup and Handle"],
"status": ["confirmed"],
"status_reason": ["breakout_above_neckline"],
"is_confirmed": [true],
"start_timestamp": [1792897200],
"end_timestamp": [1793026800],
"breakout_timestamp": [1793156400],
"breakout_level": [81033.69],
"breakout_price": [81145.11],
"projection_price": [82698.71]
}Each array position is one pattern, not one candle. Patterns are ordered oldest to newest by their last activity (the breakout candle, or the last pivot if still forming), so the last element is the most recent. All arrays are empty when no pattern is found.
| Field | Type | Description |
|---|---|---|
key | string[] | Key of the pattern, which is also its single-pattern endpoint (e.g. doublebottom). |
name | string[] | Human-readable name of the pattern. |
status | string[] | forming (waiting for a breakout), confirmed (broke out) or invalidated (only with includeInvalidated=true). |
status_reason | string[] | Why the pattern has its status, e.g. awaiting_breakout, breakout_above_neckline or breakout_timeout. |
is_confirmed | boolean[] | True when status is confirmed. |
start_timestamp | number[] | Unix timestamp of the pattern's first pivot. |
end_timestamp | number[] | Unix timestamp of the pattern's last structural pivot, before any breakout. |
breakout_timestamp | number[] | Unix timestamp of the breakout candle, or null if not confirmed. |
breakout_level | number[] | Price level the pattern has to break (neckline or resistance). At the breakout candle if confirmed, otherwise at the latest candle. |
breakout_price | number[] | Close of the breakout candle, or null if not confirmed. |
projection_price | number[] | Price target measured from the pattern's height, or null if not confirmed. |
Advanced Bullish Patterns 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 | Lookback and lookforward period for pivot detection. Controls the width of structural swings. |
deviationATR | number | No | 1 | Minimum retracement required to form a valid structural swing, expressed as a multiple of ATR. |
deviationType | string | No | atr | Type of deviation filter to use: 'atr' (Average True Range) or 'percent'. |
source | string | No | wick | Whether to use 'wick' (high/low) or 'body' (open/close) prices for pivot detection. |
heikinashi | boolean | No | False | Set to true to 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. |
includeInvalidated | boolean | No | False | Set to true to also return patterns that failed (breakout timeout, structure resumed, apex reached) with status invalidated. |
atrPeriod | integer | No | 14 | The lookback period used for the Average True Range (ATR) calculation. |
results | integer | No | 1 | Number of patterns to return, most recent last, or max |
backtrack | integer | No | 0 | Candles to skip from the most recent |
What is Advanced Bullish Patterns?
This endpoint runs all of the bullish chart pattern detectors (inverse head and shoulders, double bottom, cup and handle, ascending triangle and bullish symmetrical triangle) on the same candles and merges what they find into one list. Each pattern says whether it is still forming or has broken out, which price it has to break, and the target once it has.
How the scan works
| Step | What happens |
|---|---|
| Swings | Finds swing highs and lows on real candles (or Heikin-Ashi with heikinashi=true), ignoring swings smaller than deviationATR × ATR. depth sets how many candles a swing must stand out over. |
| Shapes | Each detector looks for its pattern in the swings, e.g. two equal lows after a downtrend for a double bottom. |
| Breakout | A pattern is confirmed when a candle closes above its neckline or resistance within the pattern's time window. It is invalidated if the window runs out or the trend resumes first. |
| Merge | When two detections describe the same move (mostly the same time span and the same outcome), only the higher-priority pattern is kept. |
How to read Advanced Bullish Patterns in your code
| Signal | Meaning | Condition |
|---|---|---|
| Setup | Pattern formed, no breakout yet | status is forming; watch breakout_level |
| Breakout | Pattern confirmed | status is confirmed; see breakout_timestamp and breakout_price |
| Target | Measured move | projection_price |
| Fresh signal | Breakout on the latest closed candle | last breakout_timestamp equals the previous candle's open time |
Limitations: Geometric pattern detection depends on pivot settings, so tune deviationATR and depth or lookback values on your own market. A confirmed pattern is not a guaranteed move. Nothing on this page is financial advice.
Read Advanced Bullish Patterns from Python
Ask for the last 10 patterns and split them into setups still forming and breakouts that already happened.
curl -G https://v2.taapi.io/indicator/advancedpatternsbullish \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=1h" \ --data-urlencode "results=10"
import requests
resp = requests.get(
'https://v2.taapi.io/indicator/advancedpatternsbullish',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={'exchange': 'binance', 'symbol': 'BTCUSDT', 'timeframe': '1h', 'results': 10},
)
data = resp.json()
for i, status in enumerate(data['status']):
if status == 'forming':
print(data['name'][i], 'waiting to break', data['breakout_level'][i])
else:
print(data['name'][i], 'broke out at', data['breakout_price'][i], 'target', data['projection_price'][i])Get older Advanced Bullish Patterns
Add results to return more patterns, or results=max for every pattern in the candle history. Add includeInvalidated=true to include patterns that failed, which is useful for backtesting how often each pattern works on your market.
curl -G https://v2.taapi.io/indicator/advancedpatternsbullish \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=1h" \ --data-urlencode "results=100"
Get Advanced Bullish Patterns for multiple symbols
Combine Advanced Bullish Patterns 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": "advancedpatternsbullish",
"indicator": "advancedpatternsbullish"
},
{
"id": "rsi",
"indicator": "rsi"
}
]
}
]
}'Stream Advanced Bullish Patterns 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": "advancedpatternsbullish",
"exchange": "binance",
"symbol": "BTCUSDT",
"interval": "1m",
"indicator": "advancedpatternsbullish"
}Advanced Bullish Patterns API FAQ
What does the Advanced Bullish Patterns API return?
One entry per pattern with key, name, status, status_reason, is_confirmed, start_timestamp, end_timestamp, breakout_timestamp, breakout_level, breakout_price and projection_price, as JSON arrays.
Can a bullish patterns result change?
A forming pattern can still become confirmed or invalidated as new candles arrive, and the candle still forming counts toward a breakout until it closes. A confirmed pattern stays confirmed.
Which Advanced Bullish Patterns settings can I change?
You can set depth, deviationATR, deviationType, source, heikinashi, atrPeriod and includeInvalidated. See the parameters table above for defaults.
Can I get Advanced Bullish Patterns 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
See the full list of indicators, or start for free.