Descending Triangle
Category: Chart patterns · Updated November 2026
The TAAPI.IO Descending Triangle API finds the bearish Descending Triangle: two or more swing lows at the same price, with each bounce between them topping out lower than the last. The lows form a flat support line and the highs a falling resistance line. When price closes below the support, the pattern is confirmed. 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: every swing in the pattern, lows and highs in order (
pattern_pivot_timestamps,pattern_pivot_prices), so you can draw it. - The two lines: the flat support (
support_level) and the falling resistance from the first high (resistance_left_*) to where the pattern ended (resistance_right_*). - The breakout and target: the candle that closed below support, its close, and
projection_price, one pattern height below support. - 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 bullish mirror, flat resistance over rising lows, is the Ascending Triangle.
touches=2: two lows (L1, L2) and two lower highs (H1, H2). The solid lines are the pattern itself; the dashed parts are the lines extended until they meet at the apex.Example: ETHUSDT, October 2026
Request: ETHUSDT on 4-hour Binance candles with the default settings and results=max. This is the last confirmed descending triangle it found on 12 November 2026. A default request returns the newest pattern instead, an invalidated one that formed right after this breakout.
| Point | Price | Date (UTC) | What it is |
|---|---|---|---|
| First low | 2,406.11 | 8 Oct 16:00 | A new swing low in the downtrend. The lowest low, so it sets support |
| First high | 2,579.88 | 12 Oct 04:00 | The bounce high. The resistance line starts here |
| Second low | 2,409.09 | 13 Oct 00:00 | 2.98 above the first, 0.08 ATR: the same level |
| Lower high | 2,530.44 | 14 Oct 08:00 | 49.44 below the first high: sellers stepped in earlier |
| Breakout | 2,359.63 | 15 Oct 00:00 | First 4-hour close below 2,406.11 |
| Target | 2,232.34 | — | Support − (first high − support) = 2,406.11 − 173.77 |
How to interpret this: Ether fell to 2,406 on 8 October, bounced to 2,580, and dropped straight back to 2,409 on 13 October. The next bounce stalled at 2,530, lower than the first. Buyers were defending the same floor, but each rally was sold earlier, so price was squeezed between a falling ceiling and a flat floor. On 14 October at 20:00 a candle dipped to 2,403.69, below support, but closed at 2,421.60, above it: a wick does not count. The next candle closed at 2,359.63 and the API marked the pattern confirmed. Price closed back above support 12 hours later and traded up to 2,494 on 16 October. On 21 October it reached 2,527, just under the last high of 2,530, and on 30 October it fell through the 2,232 target.
The last high is a swing only once 5 more candles have printed, so this pattern first appeared on 15 October at 04:00, one candle after the breakout, already confirmed. Fast breakouts often show up that way. Example for illustration only, not financial advice.
| Spec | Value |
|---|---|
| Endpoint | GET https://v2.taapi.io/indicator/triangledescending |
| Outputs | pattern_pivot_prices, support_level, resistance_left_price, 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 Descending Triangle with one API call
This request returns Descending Triangle for BTCUSDT on 1-hour Binance candles. Add your API key to run it here.
curl -G https://v2.taapi.io/indicator/triangledescending \ -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/triangledescending',
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/triangledescending?${params}`, {
headers: { Authorization: 'Bearer YOUR_API_KEY' },
});
console.log(await res.json());Descending Triangle API response
Example for ETHUSDT on 4-hour Binance candles: the pattern charted above, the fourth entry of a results=max request on 12 November 2026, shown on its own.
{
"pattern_pivot_timestamps": [[1791475200, 1791777600, 1791849600, 1791964800]],
"pattern_pivot_prices": [[2406.11, 2579.88, 2409.09, 2530.44]],
"support_level": [2406.11],
"support_right_timestamp": [1792022400],
"resistance_left_timestamp": [1791777600],
"resistance_left_price": [2579.88],
"resistance_right_timestamp": [1792022400],
"resistance_right_price": [2515.2276923076925],
"breakout_occurred": [true],
"is_confirmed": [true],
"breakout_timestamp": [1792022400],
"breakout_price": [2359.63],
"breakout_support_price": [2406.11],
"projection_price": [2232.34],
"direction": ["bearish"],
"status": ["confirmed"],
"status_reason": ["breakout_below_support"],
"pattern_index": [4],
"timestamp": [1794499200]
}Reading this response
pattern_pivot_priceslists the swings in time order: low, high, low, high. The lows are at even positions (0, 2, …), the highs at odd positions.support_levelis the lowest of the lows, 2,406.11: the wick low of the 8 October 16:00 candle. That candle's body ended at 2,435.67; withsource=bodythe level would sit there instead.- The resistance line runs from
resistance_left_price, the first high (2,579.88 on 12 October 04:00), through the last high, 2,530.44 on 14 October 08:00. It falls 3.80 per 4-hour candle, so on the breakout candle it was atresistance_right_price, 2,515.23. - The breakout close, 2,359.63, is below support, so
statusisconfirmed, and both right timestamps are the breakout candle. projection_price= 2,406.11 − (2,579.88 − 2,406.11) = 2,232.34.pattern_index4 means it is the fourth descending triangle in the ETH 4-hour candles the API looked at. A fifth, invalidated one followed, and that is what the defaultresults=1returns.
| Field | Type | Description |
|---|---|---|
pattern_pivot_timestamps | integer[][] | Unix time, in seconds, of each swing in the pattern, oldest first: L1, H1, L2, H2, … With touches=3 there are six |
pattern_pivot_prices | number[][] | The price of each of those swings: wick highs and lows, or bodies with source=body |
support_level | number[] | The flat support: the lowest of the lows. The breakout is tested against this level |
support_right_timestamp | integer[] | Where to stop drawing support: the breakout candle, the candle that invalidated the pattern, or the apex while forming (which can be in the future) |
resistance_left_timestamp, resistance_left_price | integer[], number[] | Start of the falling resistance line: the first high (H1) |
resistance_right_timestamp, resistance_right_price | integer[], number[] | End of the resistance line, at the same time as support_right_timestamp, and the line's price there |
breakout_occurred, is_confirmed | boolean[] | true once a candle closed below support |
breakout_timestamp | (integer or null)[] | Unix time of that candle |
breakout_price | (number or null)[] | Its close. Always below support_level |
breakout_support_price | (number or null)[] | The level the breakout closed below, the same as support_level. Set only when confirmed |
projection_price | (number or null)[] | Target: support_level − (resistance_left_price − support_level). Set only when confirmed |
direction | string[] | Always bearish |
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 |
To draw the pattern: a horizontal line at support_level from the first timestamp to support_right_timestamp, and a straight line from (resistance_left_timestamp, resistance_left_price) to (resistance_right_timestamp, resistance_right_price). The resistance line passes exactly through the last high.
Status and status_reason
| status | status_reason | Meaning |
|---|---|---|
forming | awaiting_breakout | The last high is in place and price is still between the two lines |
confirmed | breakout_below_support | A candle closed below support. A wick below is not enough. Confirmation is permanent: what price does afterwards does not change it |
invalidated | resistance_broken | Before any breakout, 2 candles in a row closed above the falling resistance line (invalidationCloses) |
invalidated | apex_reached_no_breakout | The resistance line fell to the support level, the apex, and price never closed below it |
The API checks each candle after the last high in order, and the first event decides. Once decided, the status stays the same as new candles arrive, even when a later swing changes how the chart would be drawn. A forming pattern can still be redrawn: if price makes a new high above the last high without a swing low in between, that high becomes the last high, the resistance line moves, and the pattern may stop qualifying.
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 bearish patterns, use Advanced Bearish Patterns, which leaves invalidated ones out.
Descending Triangle 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 high must be the highest of 5 candles on each side, and appears 5 candles late. Raise it for larger, slower patterns. Overrides lookback and lookforward |
lookback | integer | No | 5 | Candles before a swing that it must beat. Use instead of depth to set the two sides separately |
lookforward | integer | No | 5 | Candles after a swing that it must beat. Also how many candles late the pattern appears |
deviationATR | number | No | 1 | Minimum move between two swings, in multiples of ATR (or percent with deviationType=percent). Smaller swings are merged. 0 turns the filter off |
deviationType | string | No | atr | atr or percent, the unit of deviationATR |
source | string | No | wick | wick uses highs and lows for the swings and both lines; 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 the thresholds are measured in |
touches | integer | No | 2 | How many lows and how many highs the pattern has. 2 means L1, H1, L2, H2; 3 adds a third low and a third high. Minimum 2 |
bottomToleranceATR | number | No | 0.75 | Largest allowed gap between the highest and the lowest of the lows, in ATR. Smaller means a flatter bottom |
minDescentATR | number | No | 0 | Minimum fall from each high to the next, in ATR. Raise it to skip triangles whose highs barely fall |
invalidationCloses | integer | No | 2 | Closes in a row above the resistance line that invalidate the pattern |
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 Descending Triangle?
The Descending Triangle is a bearish pattern that usually forms during a downtrend, as a pause before the next leg down. Buyers keep defending one price, so the drops stall at the same level. Sellers keep stepping in earlier, so each bounce ends lower than the last. The range between the falling ceiling and the flat floor shrinks until one side gives way. The demand at the floor usually gets used up first, and price closes below it.
How traders use it
Most traders wait for a close below support rather than selling inside the triangle, because many triangles break upward instead. On the break they sell or go short, put a stop above the last lower high, and aim for the measured move: the height of the triangle at its widest point, subtracted from the breakout level. Some wait for price to come back and retest the old support from below, which happened in the ETH example 12 hours after the break. A triangle that forms after a clear downtrend, with several clean touches, means more than one in a choppy 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. Each swing is on its own candle |
| Sequence | 2 × touches swings in a row, starting with a low: L1, H1, L2, H2, … |
| Downtrend | L1 is a lower low, and the high just before it is a lower high |
| Flat bottom | The highest and the lowest of the lows within 0.75 ATR of each other. Support is the lowest |
| Falling highs | Each high strictly below the one before (by at least minDescentATR × ATR), and the last high above support |
| Resistance line | A straight line from the first high through the last high |
| Intact | From L1 to the last high, no candle closes below support, and from H1 on, none closes above the resistance line |
| Breakout | The first close below support after the last high, before the pattern is invalidated |
| Invalidation | 2 closes in a row above the resistance line, or the resistance line reaching support (the apex) |
| Target | Support − (first high − support) |
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. The same level and line are used to find the pattern, to decide its status and in the response, so a reported breakout always closed below the reported support_level.
How to read Descending Triangle in your code
| Signal | Meaning | Condition |
|---|---|---|
| Breakdown | Price closed below support | status is confirmed |
| Fresh signal | Breakdown on the latest candles | breakout_timestamp is close to timestamp |
| Setup to watch | Price squeezed between the lines | status is forming; watch for a close below support_level |
| Target | Measured move | projection_price |
| Stop | Where the pattern is clearly wrong | Above the last high, the last value in pattern_pivot_prices |
| Failed setup | Pattern no longer valid | status is invalidated; see status_reason |
Act on a fresh Descending Triangle breakdown with Python
This reads every pattern as of the last closed 4-hour candle (backtrack=1, results=max), takes the newest confirmed one, and only acts if its breakdown is from the last few candles. It uses projection_price as the target and the last lower high as the stop.
curl -G https://v2.taapi.io/indicator/triangledescending \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=ETHUSDT" \ --data-urlencode "timeframe=4h" \ --data-urlencode "backtrack=1" \ --data-urlencode "results=max"
import requests
API = 'https://v2.taapi.io'
HEADERS = {'Authorization': 'Bearer YOUR_API_KEY'}
market = {'exchange': 'binance', 'symbol': 'ETHUSDT', 'timeframe': '4h',
'backtrack': 1, 'results': 'max'}
CANDLE = 4 * 3600 # seconds per candle for this timeframe
FRESH = 3 # only act on breakdowns from the last 3 closed candles
p = requests.get(f'{API}/indicator/triangledescending', headers=HEADERS, params=market).json()
confirmed = [i for i, s in enumerate((p or {}).get('status', [])) if s == 'confirmed']
if not confirmed:
print('No confirmed descending triangle in the candles')
else:
i = confirmed[-1] # the newest confirmed pattern
now = p['timestamp'][-1] # the last closed candle
age = (now - p['breakout_timestamp'][i]) // CANDLE
last_high = p['pattern_pivot_prices'][i][-1]
if age > FRESH:
print(f'Newest breakdown is {age} candles old, too late to act on')
else:
print(f"Short signal, breakdown {age} candles ago at {p['breakout_price'][i]:,.2f}")
print(f"Target: {p['projection_price'][i]:,.2f}")
print(f"Stop: above the last high, {last_high:,.2f}")
print(f"Support: {p['support_level'][i]:,.2f}; a close back above it is a warning")Why the age check: the last high is only known depth/2 candles after it prints, so a fast breakdown can already be a few candles old the first time you see the pattern. The ETH example above first appeared one candle after its breakdown. 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 on 4-hour candles.
| ETHUSDT 4h, October 2026 | SOLUSDT 4h, July 2026 | |
|---|---|---|
| Lows | 2,406.11 / 2,409.09 | 74.10 / 73.39 |
| Highs | 2,579.88 / 2,530.44 | 79.04 / 78.88 |
| Support | 2,406.11 | 73.39 |
| Breakout close | 2,359.63 (15 Oct 00:00) | 73.28 (28 Jul 00:00) |
| Target | 2,232.34 | 67.74 |
| What followed | Back above support 12 hours later; 2,527 on 21 Oct, just under the last high; target reached 30 Oct | Back above support 12 hours later; low of 70.58 on 1 Aug; above the last high (78.88) on 19 Aug |
Both breakdowns were retested within half a day. ETH broke support by 46 and, although it bounced, never got back above the last high. SOL broke its support by 0.11, a 4-hour close 0.15% below the level. It dipped to 70.58 four days later, short of the 67.74 target, then drifted up and on 19 August traded above the last lower high, where a stop would have closed the trade.
A third pattern never broke down. On SOLUSDT 4h in October 2026, the lows were 100.62 and 100.43 and the highs 107.44 and 106.22. Price closed above the falling resistance line on 20 October at 12:00 and 16:00, and the API marked the pattern invalidated with resistance_broken. SOL traded at 109.20 the next day, above both highs.
How often the target is reached: across BTC, ETH and SOL at 1h, 4h and 1d (2,000 candles each, default settings), the API found 23 descending triangles. 7 were confirmed and 16 were invalidated by a break of resistance; none reached the apex and none were still forming. Of the 7 confirmed, 4 reached their target before price rose above the last high; 3 did not. That is a small sample that ignores costs and slippage. 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 last high, and sometimes the breakdown, appear with a delay. - Support is the lowest wick of the lows, so the breakdown needs a close below every low in the pattern. A close below the other low, but above the lowest wick, does not count. Use
source=bodyif you draw levels through candle bodies. - The default 0.75 ATR tolerance is generous on daily candles, where it can mean lows a few percent apart. Lower
bottomToleranceATRfor flatter bottoms. - The first low must be a new lower low after a lower high. A triangle that starts above an earlier dip is not found.
- The apex is the only time limit. A triangle with a very shallow resistance line can stay
formingfor a long time; check how oldpattern_pivot_timestampsis. - A
formingpattern can be redrawn or disappear when price makes a new high above the last high.confirmedandinvalidatedpatterns stay as they are. - 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 Descending Triangle 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/triangledescending \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=1h" \ --data-urlencode "results=100"
Get Descending Triangle for multiple symbols
Combine Descending Triangle 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": "triangledescending",
"indicator": "triangledescending"
},
{
"id": "rsi",
"indicator": "rsi"
}
]
}
]
}'Stream Descending Triangle 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": "triangledescending",
"exchange": "binance",
"symbol": "BTCUSDT",
"interval": "1m",
"indicator": "triangledescending"
}Descending Triangle API FAQ
What does the Descending Triangle API return?
For each pattern: the swings that make it up, the flat support level, the falling resistance line, 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 below the support level after the last high, before the pattern has been invalidated. A wick below 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 height of the triangle at its widest point, from the first high down to support (resistance_left_price − support_level), and subtract it from support. The result is projection_price.
How flat does the bottom have to be?
The highest and the lowest of the lows must be within 0.75 ATR of each other by default, measured at the last low. Change it with bottomToleranceATR. Support is drawn at the lowest of them.
Can I require more touches?
Yes. touches=3 asks for three lows and three highs. No candle may close above the line from the first high to the last, so an inner high that pokes over it rules the pattern out. You get fewer, cleaner patterns.
Why did I get an invalidated pattern?
The default returns the most recent pattern, whatever its status, and most triangles in our tests failed: 16 of 23 broke resistance first. Add results=max and keep the ones with status confirmed or forming.
Can I get Descending Triangle 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
- Ascending Triangle: the bullish mirror
- Symmetrical Triangle – Bearish: both lines sloping
- Double Bottom: equal lows without falling highs
- Advanced Bearish Patterns: all bearish chart patterns in one call
See the full list of indicators, or start for free.