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.
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.
https://mcp.eterna.exchange/mcpAll 6 built-in technical analysis methods in Eterna MCP
| SDK Method | Signal Category | Best Strategy Pattern |
|---|---|---|
| eterna.getRsi | Momentum oscillator | Mean reversion (<30 / >70) and trend pullback filtering (35-45 in uptrends) |
| eterna.getMacd | Trend momentum | Histogram zero-line shifts and signal-line crossover confirmation |
| eterna.getEma | Trend direction | EMA 20 vs EMA 50 / EMA 200 regime detection and dynamic support |
| eterna.getSma | Baseline trend | Higher-timeframe structural filter (e.g. 4h / 1d SMA 50 or 200) |
| eterna.getBollingerBands | Volatility & bands | Volatility squeeze breakouts and band-touch reversion targets |
| eterna.getVwap | Volume-weighted value | Intraday 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.
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 };Frequently asked questions
Why shouldn't an AI trading agent compute RSI or EMA directly from raw candles in the prompt?
References & verification links
- Eterna SDK ReferenceComplete catalog of all 30+ eterna.* SDK methods.
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.