Quantitative TA

Automated Crypto Technical Analysis with MCP: RSI, MACD, EMA, Bollinger Bands & VWAP

LLMs routinely miscalculate exponential moving averages and RSI smoothing when fed raw candlestick arrays. Moving indicator math server-side into Eterna's SDK delivers fast, exact, zero-dependency signals.

Updated: By Eterna Engineering (MCP Infrastructure & Execution Team)Read as Markdown
Direct answer: How do AI agents compute technical indicators over MCP accurately?

Never ask an LLM to calculate RSI, MACD, or Bollinger Bands from raw OHLCV candle arrays in its context window. Eterna MCP provides six native server-side indicator methods inside execute_code: getRsi, getMacd, getEma, getSma, getBollingerBands, and getVwap. Your agent queries exact indicator values across multiple timeframes in parallel and acts on deterministic numbers.

Native TA Methods6 indicatorsRSI, MACD, EMA, SMA, Bollinger, VWAP
External LibrariesZeroNo TA-Lib, pandas-ta, or npm installs
Parallel ScansPromise.allMulti-coin, multi-timeframe in 1 call
Markets Covered800+ perpsCrypto, DeFi, memes, and stock perps
https://mcp.eterna.exchange/mcp

All 6 built-in technical analysis methods in Eterna MCP

Eterna SDK Technical Analysis methods
SDK MethodSignal CategoryBest Strategy Pattern
eterna.getRsiMomentum oscillatorMean reversion (<30 / >70) and trend pullback filtering (35-45 in uptrends)
eterna.getMacdTrend momentumHistogram zero-line shifts and signal-line crossover confirmation
eterna.getEmaTrend directionEMA 20 vs EMA 50 / EMA 200 regime detection and dynamic support
eterna.getSmaBaseline trendHigher-timeframe structural filter (e.g. 4h / 1d SMA 50 or 200)
eterna.getBollingerBandsVolatility & bandsVolatility squeeze breakouts and band-touch reversion targets
eterna.getVwapVolume-weighted valueIntraday mean reversion and institutional bias (long above VWAP, short below)

Runnable TypeScript: Multi-indicator confluence scanner

Score a watchlist across trend (EMA 20/50), momentum (RSI + MACD), volatility (Bollinger Bands), and intraday value (VWAP) in a single MCP round-trip.

execute_code / confluence-scanner.ts
const symbols = ["BTCUSDT", "ETHUSDT", "SOLUSDT", "LINKUSDT", "NVDAUSDT"];

const results = await Promise.all(
  symbols.map(async (symbol) => {
    const [ticker, rsi, macd, ema20, ema50, bb, vwap] = await Promise.all([
      eterna.getTickers({ symbol }),
      eterna.getRsi({ symbol, interval: "1h", period: 14 }),
      eterna.getMacd({ symbol, interval: "1h" }),
      eterna.getEma({ symbol, interval: "1h", period: 20 }),
      eterna.getEma({ symbol, interval: "1h", period: 50 }),
      eterna.getBollingerBands({ symbol, interval: "1h", period: 20 }),
      eterna.getVwap({ symbol, interval: "1h" }),
    ]);

    const price = Number(ticker[0]?.lastPrice ?? 0);
    const trendUp = Number(ema20.value ?? 0) > Number(ema50.value ?? 0);
    const aboveVwap = price > Number(vwap.value ?? price);

    return {
      symbol,
      price,
      rsi1h: Number(rsi.value ?? 0),
      macd,
      trendUp,
      aboveVwap,
      bb,
    };
  }),
);

return { scannedAt: new Date().toISOString(), count: results.length, results };
Returns: Returns a compact JSON array containing live price, 1h RSI, MACD, EMA trend state, VWAP alignment, and Bollinger Bands for all 5 symbols in one execute_code call.
FAQ

Frequently asked questions

Why shouldn't an AI trading agent compute RSI or EMA directly from raw candles in the prompt?
Sending 200 raw OHLCV candles per symbol burns thousands of tokens and LLMs frequently make subtle arithmetic errors in Wilder's RSI smoothing or EMA weighting. Calling eterna.getRsi and eterna.getEma computes exact values server-side.
Primary Sources

References & verification links

Start Trading via MCP

Connect your AI agent in 30 seconds

One remote MCP URL. 800+ USDT perpetuals, 380+ spot pairs, 0.014% maker / 0.035% taker, no KYC.

View on GitHub