Back

#trend

9 APIs with this tag

Hurst Exponent & Market Regime API

Tells you whether each market is trending, behaving like a random walk, or mean-reverting — the single most important thing to know before choosing a strategy — computed live from Yahoo Finance daily closes, no key, nothing stored. A trend-following system bleeds money in a mean-reverting market, and a fade-the-move system gets run over in a trending one; the Hurst exponent (via rescaled-range R/S analysis) measures which world you are in. A Hurst above ~0.55 means the series is persistent — moves tend to continue, so it trends and trend-following fits; near 0.5 it is a random walk with no edge either way; below ~0.45 it is anti-persistent — moves tend to reverse, so it mean-reverts and fading extremes fits. Alongside it the API returns the Kaufman Efficiency Ratio (net move divided by the total path travelled, 0 = pure noise, 1 = a perfectly straight trend), a second intuitive read on how cleanly a market is trending. The asset endpoint returns one instrument's Hurst, efficiency ratio and a regime label; the screener endpoint ranks the cross-asset universe (equities, sectors, commodities, bonds, FX and crypto; filterable by class) from most trending to most mean-reverting. This is the persistence / trend-versus-mean-reversion regime cut — distinct from the z-score stretch gauges (how far a price is from its average right now, not the structure of its moves), the multi-timeframe momentum-alignment API and the price APIs. It tells you which kind of strategy the market is paying for.

api.oanor.com/hurst-api

Multi-Timeframe Momentum & Alignment (Multi-Asset) API

Whether each market is trending the same way across every timeframe, computed live from Yahoo Finance (no key, nothing stored). A single week's move is noise; what trend traders want is alignment — when the 1-week, 1-month, 3-month, 6-month and 1-year returns all point the same direction, that is a strong, coherent trend, and when they disagree the move is choppy or turning. For a cross-asset, cross-sector universe — equity indices and sectors, gold, oil, commodities, bonds and crypto — this measures each asset's return over those five horizons, the up/down direction of each, and an alignment score from -5 (every timeframe down) to +5 (every timeframe up), with a coherence label. The screener endpoint returns the fully aligned uptrends and downtrends across the board, ranked by alignment. The asset endpoint returns one market's multi-timeframe momentum card. The universe endpoint lists what is covered. The cross-asset multi-timeframe momentum / alignment cut — distinct from the crypto-only multi-timeframe API, the commodity-momentum ranking and the relative-strength APIs. It finds the coherent trends across every asset class at once.

api.oanor.com/multiassetmomentum-api

ADX & Trend-Strength Screener (Multi-Asset) API

Which markets are strongly trending and which are stuck going nowhere, computed live from Yahoo Finance (no key, nothing stored). The Average Directional Index is the definitive measure of trend STRENGTH (not direction): above 25 a market has a real trend worth riding, below 20 it is choppy and range-bound where trend systems get whipsawed. The companion +DI and -DI lines give the direction — +DI over -DI is an uptrend, the reverse a downtrend. For a cross-asset, cross-sector universe — equity indices and sectors, gold, oil, commodities, bonds and crypto — this computes each asset's 14-day ADX, +DI and -DI (Wilder's method), and classifies it as a strong uptrend, strong downtrend, developing trend or ranging. The screener endpoint returns the strong uptrends and downtrends across the board, ranked by ADX, plus the ranging list. The asset endpoint returns one market's directional-movement card. The universe endpoint lists what is covered. The cross-asset ADX / trend-strength screener cut — distinct from the bring-your-own-candle trend-indicator API and the moving-average, RSI, MACD, Bollinger and Donchian screeners. It separates the trending markets from the chop across every asset class at once.

api.oanor.com/adxscreener-api

Donchian Channel Breakout Screener (Multi-Asset) API

Which markets are breaking out of their recent trading range, computed live from Yahoo Finance (no key, nothing stored). The Donchian channel — the highest high and lowest low of the last N days — is the breakout system the legendary Turtle traders rode: a close above the 20-day high is a classic long entry, below the 20-day low a short, and the 55-day channel is the slower, higher-conviction version. For a cross-asset, cross-sector universe — equity indices and sectors, gold, oil, commodities, bonds and crypto — this computes each asset's 20-day and 55-day Donchian channels (upper, lower and midline), where price sits inside the 20-day channel, and flags fresh breakouts above the high or below the low. The screener endpoint returns the upside and downside breakouts across the board plus the channel-position ranking. The asset endpoint returns one market's Donchian card. The universe endpoint lists what is covered. The cross-asset Donchian / channel-breakout (Turtle) screener cut — distinct from the crypto-only Donchian screener, the 52-week-range screener (a much longer window), the Bollinger-Bands screener and the bring-your-own-candle indicator APIs. It catches the range breakouts across every asset class at once.

api.oanor.com/donchian-api

MACD Screener (Multi-Asset) API

Which markets just triggered a MACD buy or sell signal, computed live from Yahoo Finance (no key, nothing stored). The MACD — the gap between a fast and a slow moving average, smoothed by a signal line — is the workhorse momentum indicator: when the MACD line crosses up through its signal line it is a bullish trigger, down through it bearish, and the histogram between them shows momentum building or fading. For a cross-asset, cross-sector universe — equity indices and sectors, gold, oil, commodities, bonds and crypto — this computes each asset's MACD (12/26 EMA), signal line (9 EMA) and histogram, flags whether it is in a bullish or bearish posture, and detects how recently the lines crossed. The screener endpoint returns the fresh bullish and bearish crossovers across the board plus the histogram ranking. The asset endpoint returns one market's MACD card. The universe endpoint lists what is covered. The cross-asset MACD / momentum-crossover screener cut — distinct from the bring-your-own-candle technical-indicator APIs, the RSI, Bollinger and moving-average screeners and the FX-only signals API. It finds the fresh momentum triggers across every asset class at once.

api.oanor.com/macd-api

Golden Cross / Death Cross Screener API

Which markets just flipped trend on the most-watched signal in technical analysis — the 50-day vs 200-day moving-average cross — computed live from Yahoo Finance (no key, nothing stored). A golden cross, the 50-day average crossing up through the 200-day, is the classic confirmation of a new uptrend, and a death cross the opposite; funds and headlines move on them. For a cross-asset, cross-sector universe — equity indices and sectors, gold, oil, commodities, bonds and crypto — this computes each asset's 50- and 200-day moving averages, whether it is in a golden-cross (bullish) or death-cross (bearish) regime, how many days since the last cross, and how far price sits above or below each average. The screener endpoint returns the whole board with the markets that have crossed most recently — the fresh golden and death crosses — and the bullish/bearish tally. The asset endpoint returns one market's moving-average card. The universe endpoint lists what is covered. The moving-average-crossover / golden-cross screener cut — distinct from the bring-your-own-candle technical-indicator APIs, the market-breadth API (which aggregates the share above a single moving average) and the FX-only signals API.

api.oanor.com/goldencross-api

Commodities Momentum & Relative-Strength API

Which corner of the commodity complex is leading and which is lagging, ranked by trailing momentum, computed live from Yahoo Finance futures (no key, nothing stored). A price tells you where a commodity is; momentum tells you where the money is flowing. This scores every major commodity — crude, Brent, natural gas, gasoline and heating oil in energy; gold, silver, copper, platinum and palladium in metals; corn, wheat and soybeans in grains; coffee, sugar, cocoa, cotton and orange juice in softs; live cattle and lean hogs in livestock — by its return over five horizons (1 week, 1 month, 3 months, 6 months and a ~1-year proxy), blends them into a single momentum score and ranks the whole complex into leaders and laggards. The screener endpoint returns that ranked table with a relative-strength rank and trend regime for each. The momentum endpoint drills into one commodity: its multi-horizon returns, where it sits versus its 50- and 200-day averages, and a trend label. The commodities endpoint lists what is covered. The cross-commodity momentum / relative-strength factor cut — distinct from the commodity-price feed (front-month prices), the commodity-spreads API (crack/crush/ratios) and the precious-metals spot API. It answers what is leading the complex, not what one thing costs.

api.oanor.com/commoditymomentum-api

Crypto Multi-Timeframe Momentum API

Whether a coin is trending the same way across every timeframe, computed live from Binance candles — no key, nothing stored. A single 24-hour change is noise; what traders want is alignment — when the 1-hour, 4-hour, 1-day, 1-week and 1-month returns all point the same direction, that is a strong, coherent trend, and when they disagree the move is choppy or turning. The momentum endpoint returns, for one coin, the percent change over each of those five horizons, the up/down direction of each, an alignment score (how strongly the timeframes agree, from -1 fully bearish to +1 fully bullish) and an overall bias label. The screener endpoint scans a basket and ranks the coins by aligned momentum, surfacing the strongest coherent uptrends (every timeframe up) and downtrends (every timeframe down). The symbols endpoint lists tradable pairs. This is the multi-timeframe momentum / trend-alignment cut for crypto — distinct from the single-window movers, the Donchian breakout screener, the FX-pivot and the generic indicator-calculator APIs in the catalogue. Pairs are Binance symbols (BTCUSDT) or a coin=BTC&quote=USDT form; horizons are fixed at 1h/4h/24h/7d/30d.

api.oanor.com/cryptomomentum-api

Trend Indicators API

Live trend and direction indicators that traders run to gauge whether a market is trending and which way, computed on demand from the OHLC candles you pass in — no key, no cache, nothing stored. The adx endpoint returns the ADX (Average Directional Index) with the +DI and -DI lines using Wilder's method, so you get both the strength of a trend (a reading above 25 signals a real trend) and its direction. The psar endpoint returns the Parabolic SAR — the trailing stop-and-reverse level that sits below price in an uptrend and above it in a downtrend, and flips when price crosses it — together with the current trend. The donchian endpoint returns the Donchian Channel: the highest high and lowest low over the lookback with the midline, and whether the last close has broken out of the channel. These indicators all need the full high, low and close, and they answer a different question than momentum oscillators, closes-only indicators or volatility tools: is there a trend, and which way is it going. Works for any market — forex, stocks, crypto or commodities. Computed locally and deterministically, so it is instant and private. Ideal for trend-following bots, breakout screeners, trailing-stop logic and trading dashboards. ADX needs 2 x period + 1 candles. Live, nothing stored. 3 compute endpoints. For RSI/MACD use a technical-indicators API; for Stochastic/CCI use an oscillators API.

api.oanor.com/trendindicators-api