{"uid":"cap_Q4wPtqT2JWVk3eARRNnLX","slug":"coreforge-trading-data-technical-indicator-computation-8212df5e","name":"CoreForge Trading Data — Technical Indicator Computation","description":"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.","url":"https://coreforge-memory.onrender.com/x402/trading/indicators?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oLUNWdSI1bay4ThJn0Y3l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Momentum check before trade entry","prompt":"I've got 100 hourly candles for ETH/USDT with open, high, low, close, and volume — compute the RSI using a 14-period and the MACD for me so I can see whether momentum is bullish or bearish right now."},{"title":"SMA crossover signal detection","prompt":"Here are 300 daily close prices for SPY — give me the 50-day and 200-day SMAs and the latest 12 and 26 EMA values so I can check whether a golden cross or death cross has formed."},{"title":"Volatility assessment with Bollinger Bands","prompt":"I have 150 daily OHLCV bars for Bitcoin labeled 'BTC-USD' — can you calculate the Bollinger Bands and also return the full series so I can see how the band width has changed over time?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T18:47:19.003Z","isFirstParty":false,"canonicalSlug":"coreforge-trading-data-technical-indicator-computation-8212df5e"}