TickAtlas

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.

XAUUSD H1 — DEMA(20) vs EMA(20)
lag ↕ DEMA(20) EMA(20) 2318.47
DEMA(20) = 2318.47 Price above DEMA Updated 2s ago

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.

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"

Why Use TickAtlas?

Pre-Calculated, Sub-100ms

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 all symbols active on connected broker terminals.

Plug into any stack

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

Frequently Asked Questions

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 broker 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_14 (or RSI_14) in separate requests and combine the signals in your bot. Each indicator call is independent and returns in under 100ms.

Is historical DEMA data available?

Yes — use GET /v1/indicator/history with indicator=DEMA_20. Starter plan provides up to 30 days on H1+; Pro and Enterprise plans extend to 45 days.

Start Building in 5 Minutes

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

Every new account gets $2.50 in free PAYG credits. No card required.