# CoreForge Trading Data — Technical Indicator Computation

> CoreForge Trading Data — Technical Indicator Computation is a paid API for AI agents from coreforge-memory.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-01).

Computes SMA, EMA, RSI, MACD, and Bollinger Bands (plus ensemble state) from caller-supplied OHLCV bars, returning the latest indicator values and optionally full series data.

## Facts

- Endpoint: POST https://coreforge-memory.onrender.com/x402/trading/indicators?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coreforge-trading-data-technical-indicator-computation-8212df5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q4wPtqT2JWVk3eARRNnLX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability coreforge-trading-data-technical-indicator-computation-8212df5e -d '<json body>'
```

Example prompt: I have 200 daily OHLCV bars for AAPL — can you compute the RSI with a 14-period, SMAs at 20, 50, and 200 periods, EMAs at 12 and 26, MACD, and Bollinger Bands, and also return the full indicator series so I can see how they evolved?

## When to prefer this

Use this endpoint when you already have OHLCV bar data and need server-side technical indicator computation without fetching external price data. It is ideal for agents that ingest their own price feeds and need SMA, EMA, RSI, MACD, and Bollinger Bands computed in a single call. Prefer this over building your own indicator math or calling a broker API when you just need deterministic numeric outputs from raw bars.

## Known failure modes

- Fewer than 10 bars supplied — computation requires a minimum of 10 bars
- More than 5,000 bars supplied — input exceeds the allowed maximum
- Requested SMA/EMA period longer than the number of bars provided — insufficient data for that period
- Malformed bar objects missing required OHLCV fields — validation error
- Neither 'bars', 'closes', nor 'candles' provided — missing required input
- Payment not included or insufficient — 402 Payment Required

## How this service works

Technical-indicator computation (SMA, EMA, RSI, MACD, Bollinger Bands plus ensemble state) on buyer-supplied bars. No external data fetch. Computed data, not a recommendation.

## Output

Returns the latest computed values for all requested indicators (SMA, EMA, RSI, MACD line, signal line, histogram, Bollinger Band upper/middle/lower) plus an ensemble state summary. If the 'series' flag is true, the full historical indicator series is also included. The optional 'symbol' label is echoed back in the response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bars": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "description": "Your own OHLCV bars: [{date?, open, high, low, close, volume}] — 10 to 5,000 bars. No external data is fetched."
  },
  "closes": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "Close prices only (alternative to bars)"
  },
  "series": {
   "type": "boolean",
   "description": "Also return the full indicator series, not just the latest values"
  },
  "symbol": {
   "type": "string",
   "description": "Optional label echoed back"
  },
  "candles": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "description": "Alias for bars"
  },
  "rsiPeriod": {
   "type": "integer",
   "description": "RSI period (default 14)"
  },
  "emaPeriods": {
   "type": "array",
   "items": {
    "type": "integer"
   },
   "description": "Up to 4 EMA periods (default 12, 26)"
  },
  "smaPeriods": {
   "type": "array",
   "items": {
    "type": "integer"
   },
   "description": "Up to 6 SMA periods (default 20, 50, 200)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coreforge-trading-data-technical-indicator-computation-8212df5e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coreforge-memory.onrender.com](https://www.zero.xyz/host/coreforge-memory.onrender.com/llms.txt)
