DEMA API — Reduced-Lag Moving Average

DEMA(20) responds faster to price changes than EMA. Pull live values from REST without computing the double-smoothed average yourself.

No credit card$2.50 PAYG credit on sign up
15+API endpoints
42Indicator series
M1–D17 timeframes
$2.50PAYG starting credit
Why TickAtlas

What is the DEMA API?

Double Exponential Moving Average (DEMA) applies two passes of EMA smoothing using Patrick Mulloy's formula: DEMA = 2×EMA - EMA(EMA). The result is a moving average that hugs price more closely than a standard EMA at the same period, giving trend-following bots earlier crossover signals and fewer false lagging entries. Our API delivers the pre-calculated DEMA(20) value so you never need to implement the formula yourself.

Pre-Calculated, Redis-Cached

Indicator values are computed server-side on every new candle. Your app queries the result — no TA library, no candle history needed.

7 Timeframes

M1, M5, M15, M30, H1, H4, D1 — the same endpoint serves scalpers and position traders alike.

Forex, Crypto, Commodities

EURUSD, GBPUSD, XAUUSD, BTCUSD, USDJPY — data available for every symbol in our data.

One Request. Instant Data.

REQUEST
curl -X GET \
  "https://tickatlas.com/v1/indicator?symbol=EURUSD&indicator=DEMA_20&timeframe=H1" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
{
  "success": true,
  "data": {
    "symbol": "EURUSD",
    "timeframe": "H1",
    "indicator": "DEMA_20",
    "value": 1.08410,
    "bid": 1.08401,
    "ask": 1.08414,
    "updated_at": 1711548000,
    "server_time": "2024-03-27T14:00:00+00:00"
  }
}

Plug into any stack

  • ChatGPT Custom GPTs
  • Claude Tools
  • Python / pandas
  • Node.js
  • Discord bots
  • Slack webhooks
  • n8n
  • Zapier
  • Google Sheets
Pricing

Start on pay-as-you-go, upgrade when the traffic justifies it.

Every new account starts with $2.50 of pay-as-you-go credit and no card. Monthly plans add a flat monthly price, WebSocket streaming and support.

Pay as you go
$2.50 credit No card required to start
  • $2.50 of credit included
  • Every REST endpoint except raw ticks
  • No card required, no overage
  • 10 API keys
See plan details
Starter
$29 per month · 10,000 requests/day · 120/min
  • Every REST endpoint except raw ticks
  • WebSocket streaming, 5 symbols
  • Released calendar actuals
  • Email support
  • 3 API keys
See plan details
Frequently asked questions

What developers ask first.

Straight answers on limits, coverage and how the endpoint behaves in production.

What is the DEMA formula?

DEMA = 2 × EMA(n) − EMA(EMA(n)), where n is the period. The double-smoothing step cancels out most of the lag in a regular EMA. Our API computes this using our candle data with n=20.

Is DEMA better than EMA for all strategies?

Not necessarily. DEMA reacts faster, which helps trend-following entries but can produce more whipsaws in ranging markets. It works best combined with a volatility or trend-strength filter like ADX.

Can I use DEMA alongside other indicators in the same strategy?

Yes. Query DEMA_20 and ADX (or RSI_14) in separate requests and combine the signals in your bot. Each indicator call is independent and returns cached data.

Is historical DEMA data available?

Yes — use GET /v1/indicator/history with indicator=DEMA_20. Depth is set per timeframe and is the same on every plan — 45 days on D1, 30 days on H4, 14 days on H1.

Start building

Start Building in 5 Minutes

Sign up, grab your API key, make your first request.

Every new account starts with $2.50 of pay-as-you-go credit. No card required.