# Technical Analysis Indicators API > Compute moving averages, momentum oscillators, MACD, bands and channels, volatility, Ichimoku, trend indicators, volume indicators, volume profile, pivot points, Fibonacci levels, candlestick and chart patterns, support and resistance zones, and rule-based backtests on caller-supplied OHLCV bars. Pure computation: no market-data feed is called. Each paid operation uses a fixed USDC price on Base with the x402 exact scheme. Unpaid GET, HEAD, and POST return 402 payment terms (POST validates the body only after payment terms are satisfied). A request that carries payment-signature is not yet charged: settlement happens only after a successful (2xx) result. HTTP 4xx/5xx are not charged. Coverage bodies with status complete, partial, or failed all return HTTP 200 and are charged at the full listed price. Settled 2xx responses include a payment-response header; 4xx/5xx do not. Follow https://www.brainiac.software/agent-instructions.txt for install, payment pins, idempotency, and billing rules. - Product: https://www.brainiac.software/api/technical-analysis - Docs: https://www.brainiac.software/api/technical-analysis/docs - OpenAPI: https://www.brainiac.software/api/technical-analysis/openapi.json - Contact: support@brainiac.software (https://www.brainiac.software/contact) ## Operations ### POST /api/v1/technical-analysis/moving-averages $0.02 USDC. Compute SMA, EMA (SMA-seeded), WMA, DEMA, TEMA and Hull moving averages on caller-supplied OHLCV bars, on close or another price source, with warm-up length per series. Inputs: bars, types?, period?, source? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-moving-averages Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "types": [ "sma", "ema", "wma" ], "period": 5, "source": "c" } ``` Example response: ```json { "series": { "sma": [ null, null, "…" ], "ema": [ null, null, "…" ], "wma": [ null, null, "…" ] }, "warmup": { "sma": 4, "ema": 4, "wma": 4 }, "params": { "types": [ "sma", "ema", "…" ], "period": 5, "source": "c" }, "sources": [ { "source": "Moving averages: SMA, EMA (SMA-seeded), WMA, DEMA, TEMA, HMA (formulas as originally published; computed on caller-supp…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/momentum-oscillators $0.03 USDC. Compute Wilder RSI, Stochastic %K/%D, Williams %R, CCI, ROC and MFI on caller-supplied OHLCV bars, with warm-up length per series. Inputs: bars, indicators?, rsiPeriod?, stochK?, stochD?, williamsPeriod?, cciPeriod?, rocPeriod?, mfiPeriod? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-momentum-oscillators Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "indicators": [ "rsi", "stoch" ], "rsiPeriod": 5, "stochK": 5, "stochD": 3 } ``` Example response: ```json { "series": { "rsi": [ null, null, "…" ], "stochK": [ null, null, "…" ], "stochD": [ null, null, "…" ] }, "warmup": { "rsi": 5, "stochK": 4, "stochD": 6 }, "params": { "indicators": [ "rsi", "stoch" ], "rsiPeriod": 5, "stochK": 5, "stochD": 3, "williamsPeriod": 14, "cciPeriod": 20, "rocPeriod": 12, "mfiPeriod": 14 }, "sources": [ { "source": "Momentum oscillators: Wilder RSI, Stochastic, Williams %R, CCI, ROC, MFI (formulas as originally published; computed on…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/macd $0.02 USDC. Compute the MACD line, signal line and histogram on caller-supplied closes and list the bars where the histogram changes sign. Inputs: bars, fast?, slow?, signal? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-macd Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "fast": 3, "slow": 6, "signal": 3 } ``` Example response: ```json { "macd": [ null, null, "…" ], "signal": [ null, null, "…" ], "histogram": [ null, null, "…" ], "crossovers": [ { "index": 11, "type": "bearish" }, { "index": 15, "type": "bullish" }, "…" ], "warmup": { "macd": 5, "signal": 7, "histogram": 7 }, "params": { "fast": 3, "slow": 6, "signal": 3 }, "sources": [ { "source": "MACD (Appel): EMA(fast) - EMA(slow), EMA signal, histogram (formulas as originally published; computed on caller-suppli…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/bands-channels $0.03 USDC. Compute Bollinger Bands with %B and bandwidth, Keltner Channels and Donchian Channels on caller-supplied OHLCV bars. Inputs: bars, bollinger?, keltner?, donchian? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-bands-channels Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "bollinger": { "period": 5, "k": 2 }, "keltner": { "period": 5, "atrPeriod": 3, "mult": 2 }, "donchian": { "period": 5 } } ``` Example response: ```json { "bollinger": { "middle": [ null, null, "…" ], "upper": [ null, null, "…" ], "lower": [ null, null, "…" ], "percentB": [ null, null, "…" ], "bandwidth": [ null, null, "…" ] }, "keltner": { "middle": [ null, null, "…" ], "upper": [ null, null, "…" ], "lower": [ null, null, "…" ] }, "donchian": { "upper": [ null, null, "…" ], "middle": [ null, null, "…" ], "lower": [ null, null, "…" ] }, "warmup": { "bollinger": 4, "keltner": 4, "donchian": 4 }, "params": { "bollinger": { "period": 5, "k": 2 }, "keltner": { "period": 5, "atrPeriod": 3, "mult": 2 }, "donchian": { "period": 5 } }, "sources": [ { "source": "Bollinger Bands (population sigma), Keltner Channels (EMA +/- ATR), Donchian Channels (formulas as originally published…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/volatility-measures $0.02 USDC. Compute true range, Wilder ATR, NATR and annualised close-to-close historical volatility on caller-supplied OHLCV bars. Inputs: bars, atrPeriod?, hvPeriod?, annualization? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-volatility-measures Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "atrPeriod": 5, "hvPeriod": 5, "annualization": 252 } ``` Example response: ```json { "tr": [ 2.68, 3.01, "…" ], "atr": [ null, null, "…" ], "natr": [ null, null, "…" ], "hv": [ null, null, "…" ], "warmup": { "tr": 0, "atr": 4, "natr": 4, "hv": 5 }, "params": { "atrPeriod": 5, "hvPeriod": 5, "annualization": 252 }, "sources": [ { "source": "True range, Wilder ATR, NATR and close-to-close historical volatility (formulas as originally published; computed on ca…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/ichimoku $0.03 USDC. Compute Tenkan, Kijun, displaced Senkou A/B and Chikou on caller-supplied OHLCV bars, plus the cloud projected beyond the last bar. Inputs: bars, tenkan?, kijun?, senkouB?, displacement? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-ichimoku Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "tenkan": 5, "kijun": 10, "senkouB": 20, "displacement": 10 } ``` Example response: ```json { "tenkan": [ null, null, "…" ], "kijun": [ null, null, "…" ], "senkouA": [ null, null, "…" ], "senkouB": [ null, null, "…" ], "chikou": [ 104.65, 104.63, "…" ], "futureCloud": [ { "offset": 1, "senkouA": 106.285, "senkouB": 103.265 }, { "offset": 2, "senkouA": 107.11, "senkouB": 104.11 }, "…" ], "warmup": { "tenkan": 4, "kijun": 9, "senkouA": 19, "senkouB": 29, "chikou": 0 }, "params": { "tenkan": 5, "kijun": 10, "senkouB": 20, "displacement": 10 }, "sources": [ { "source": "Ichimoku Kinko Hyo (Hosoda): midpoint lines, shifted Senkou spans, Chikou (formulas as originally published; computed o…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/trend-indicators $0.04 USDC. Compute Wilder ADX with +DI/-DI, Parabolic SAR with trend, Aroon Up/Down and SuperTrend with direction on caller-supplied OHLCV bars. Inputs: bars, adxPeriod?, sar?, aroonPeriod?, supertrend? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-trend-indicators Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "adxPeriod": 5, "sar": { "step": 0.02, "max": 0.2 }, "aroonPeriod": 10, "supertrend": { "atrPeriod": 5, "mult": 3 } } ``` Example response: ```json { "adx": [ null, null, "…" ], "plusDI": [ null, null, "…" ], "minusDI": [ null, null, "…" ], "sar": [ null, 101.14, "…" ], "sarTrend": [ null, "down", "…" ], "aroonUp": [ null, null, "…" ], "aroonDown": [ null, null, "…" ], "supertrend": [ null, null, "…" ], "supertrendDir": [ null, null, "…" ], "warmup": { "adx": 9, "plusDI": 5, "minusDI": 5, "sar": 1, "sarTrend": 1, "aroonUp": 10, "aroonDown": 10, "supertrend": 4, "supertrendDir": 4 }, "params": { "adxPeriod": 5, "sar": { "step": 0.02, "max": 0.2 }, "aroonPeriod": 10, "supertrend": { "atrPeriod": 5, "mult": 3 } }, "sources": [ { "source": "ADX/DMI (Wilder), Parabolic SAR (Wilder), Aroon (Chande), SuperTrend (formulas as originally published; computed on cal…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/volume-indicators $0.03 USDC. Compute on-balance volume, the accumulation/distribution line, Chaikin Money Flow, session-anchored or cumulative VWAP and a volume SMA on caller-supplied OHLCV bars. Inputs: bars, cmfPeriod?, volumeSmaPeriod?, vwapAnchor?, sessionTz? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-volume-indicators Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "cmfPeriod": 5, "volumeSmaPeriod": 5, "vwapAnchor": "session", "sessionTz": "America/New_York" } ``` Example response: ```json { "obv": [ 0, -8448, "…" ], "adLine": [ 796.455223881, -1701.45839738, "…" ], "cmf": [ null, null, "…" ], "vwap": [ 99.85, 99.8266666667, "…" ], "volumeSma": [ null, null, "…" ], "warmup": { "obv": 0, "adLine": 0, "cmf": 4, "vwap": 0, "volumeSma": 4 }, "params": { "cmfPeriod": 5, "volumeSmaPeriod": 5, "vwapAnchor": "session", "sessionTz": "America/New_York" }, "sources": [ { "source": "OBV (Granville), Accumulation/Distribution, Chaikin Money Flow, VWAP, volume SMA (formulas as originally published; com…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/volume-profile $0.03 USDC. Spread caller-supplied bar volume across equal price bins and return the histogram, point of control, and value area high and low. Inputs: bars, rows?, tickSize?, valueAreaPct? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-volume-profile Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "rows": 8, "valueAreaPct": 0.7 } ``` Example response: ```json { "bins": [ { "low": 97.53, "high": 99.9075, "volume": 25818.4193075 }, { "low": 99.9075, "high": 102.285, "volume": 23107.995312 }, "…" ], "poc": 105.85125, "vah": 109.4175, "val": 97.53, "totalVolume": 166443, "warmup": { "bins": 0 }, "params": { "rows": 8, "binWidth": 2.3775, "valueAreaPct": 0.7 }, "sources": [ { "source": "Volume-by-price histogram (Market Profile style value area) (formulas as originally published; computed on caller-suppl…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/pivot-points $0.02 USDC. Compute floor, Fibonacci, Woodie and Camarilla pivot levels from the prior period's high, low and close. Inputs: high, low, close, open?, methods? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-pivot-points Example request: ```json { "high": 110, "low": 90, "close": 100, "open": 95, "methods": [ "classic", "fibonacci", "woodie", "camarilla" ] } ``` Example response: ```json { "classic": { "p": 100, "r1": 110, "s1": 90, "r2": 120, "s2": 80, "r3": 130, "s3": 70 }, "fibonacci": { "p": 100, "r1": 107.64, "s1": 92.36, "r2": 112.36, "s2": 87.64, "r3": 120, "s3": 80 }, "woodie": { "p": 100, "r1": 110, "s1": 90, "r2": 120, "s2": 80, "r3": 130, "s3": 70 }, "camarilla": { "r1": 101.833333333, "s1": 98.1666666667, "r2": 103.666666667, "s2": 96.3333333333, "r3": 105.5, "s3": 94.5, "r4": 111, "s4": 89 }, "warmup": {}, "params": { "high": 110, "low": 90, "close": 100, "open": 95, "methods": [ "classic", "fibonacci", "…" ] }, "sources": [ { "source": "Classic floor, Fibonacci, Woodie and Camarilla pivot formulas (formulas as originally published; computed on caller-sup…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/fibonacci-levels $0.02 USDC. Compute retracement and extension prices between a supplied swing low and high, or between the highest high and lowest low of caller-supplied bars. Inputs: swingLow?, swingHigh?, direction?, levels?, extensions?, bars?, lookback? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-fibonacci-levels Example request: ```json { "swingLow": 100, "swingHigh": 200, "direction": "up", "levels": [ 0.236, 0.382, 0.5, 0.618, 0.786 ], "extensions": [ 1.272, 1.618 ] } ``` Example response: ```json { "swingLow": 100, "swingHigh": 200, "direction": "up", "retracements": [ { "ratio": 0.236, "price": 176.4 }, { "ratio": 0.382, "price": 161.8 }, "…" ], "extensions": [ { "ratio": 1.272, "price": 227.2 }, { "ratio": 1.618, "price": 261.8 } ], "warmup": {}, "params": { "swingLow": 100, "swingHigh": 200, "direction": "up", "levels": [ 0.236, 0.382, "…" ], "extensions": [ 1.272, 1.618 ], "lookback": 100 }, "sources": [ { "source": "Fibonacci retracement and extension ratios applied to a swing (formulas as originally published; computed on caller-sup…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/candlestick-patterns $0.04 USDC. Detect doji, hammer, shooting star, engulfing, harami, piercing line, dark cloud cover, morning/evening star, three white soldiers, three black crows and marubozu using explicit numeric thresholds you can override. Inputs: bars, patterns?, trendLookback?, thresholds? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-candlestick-patterns Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "patterns": [ "doji", "hammer", "shooting_star", "engulfing", "harami", "marubozu" ], "trendLookback": 5 } ``` Example response: ```json { "matches": [ { "index": 0, "pattern": "doji", "direction": "neutral" }, { "index": 2, "pattern": "doji", "direction": "neutral" }, "…" ], "warmup": {}, "params": { "patterns": [ "doji", "hammer", "…" ], "trendLookback": 5, "thresholds": { "dojiBodyMax": 0.1, "hammerLowerShadowMin": 2, "hammerUpperShadowMax": 0.1, "starMiddleBodyMax": 0.3, "marubozuShadowMax": 0.05 } }, "sources": [ { "source": "Candlestick pattern definitions with explicit numeric thresholds (formulas as originally published; computed on caller-…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/chart-patterns $0.05 USDC. Find swing highs and lows, then detect double tops and bottoms, head and shoulders (and inverse), triangles and rectangles with necklines, targets and confirmation. Inputs: bars, swingWindow?, tolerance?, minBarsBetween? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-chart-patterns Example request: ```json { "bars": [ { "t": "2026-01-01", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-02", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-03", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-04", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-05", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-06", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-07", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-08", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-09", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-10", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-11", "o": 118, "h": 120, "l": 117, "c": 118, "v": 100 }, { "t": "2026-01-12", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-13", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-14", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-15", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-16", "o": 112, "h": 114, "l": 110, "c": 112, "v": 100 }, { "t": "2026-01-17", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-18", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-19", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-20", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-21", "o": 118, "h": 119, "l": 117, "c": 118, "v": 100 }, { "t": "2026-01-22", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-23", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-24", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-25", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 }, { "t": "2026-01-26", "o": 109, "h": 109, "l": 107, "c": 108, "v": 100 }, { "t": "2026-01-27", "o": 117, "h": 118, "l": 116, "c": 117, "v": 100 } ], "swingWindow": 5, "tolerance": 0.02, "minBarsBetween": 5 } ``` Example response: ```json { "swings": [ { "index": 10, "type": "high", "price": 120 }, { "index": 15, "type": "low", "price": 110 }, "…" ], "patterns": [ { "type": "double_top", "points": [ 10, 15, "…" ], "neckline": 110, "target": 100.5, "confirmed": true } ], "warmup": { "swings": 5 }, "params": { "swingWindow": 5, "tolerance": 0.02, "minBarsBetween": 5 }, "sources": [ { "source": "Swing-point chart patterns: double top/bottom, head and shoulders (and inverse), triangles, rectangle (formulas as orig…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/support-resistance $0.03 USDC. Cluster swing highs and lows of caller-supplied bars into horizontal support and resistance zones with touch counts. Inputs: bars, swingWindow?, zoneWidthPct?, minTouches? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-support-resistance Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "swingWindow": 3, "zoneWidthPct": 0.005, "minTouches": 1 } ``` Example response: ```json { "levels": [ { "price": 102.12, "low": 102.12, "high": 102.12, "touches": 1, "lastTouchIndex": 13, "type": "support" }, { "price": 106.05, "low": 106.05, "high": 106.05, "touches": 1, "lastTouchIndex": 11, "type": "support" }, "…" ], "warmup": { "swings": 3 }, "params": { "swingWindow": 3, "zoneWidthPct": 0.005, "minTouches": 1 }, "sources": [ { "source": "Horizontal support/resistance zones clustered from swing points (formulas as originally published; computed on caller-s…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ``` ### POST /api/v1/technical-analysis/strategy-backtest $0.05 USDC. Backtest declarative entry and exit rules built from this product's indicators on caller-supplied bars, with next-open fills, fees, slippage, stops, trades, equity curve and metrics. Inputs: bars, entry, exit?, side?, initialCapital?, positionSize?, feePct?, slippagePct?, stopLossPct?, takeProfitPct? Docs: https://www.brainiac.software/api/technical-analysis/docs#technical-analysis-strategy-backtest Example request: ```json { "bars": [ { "t": "2026-01-05", "o": 100.19, "h": 101.14, "l": 98.46, "c": 99.95, "v": 7115 }, { "t": "2026-01-06", "o": 100.16, "h": 101.48, "l": 98.47, "c": 99.53, "v": 8448 }, { "t": "2026-01-07", "o": 99.82, "h": 101.01, "l": 99.39, "c": 99.68, "v": 6219 }, { "t": "2026-01-08", "o": 99.36, "h": 100.54, "l": 97.53, "c": 98.84, "v": 8596 }, { "t": "2026-01-09", "o": 98.37, "h": 99.73, "l": 97.82, "c": 98.63, "v": 3514 }, { "t": "2026-01-10", "o": 98.47, "h": 101.39, "l": 97.84, "c": 100.08, "v": 4858 }, { "t": "2026-01-11", "o": 100.46, "h": 100.7, "l": 99.35, "c": 99.83, "v": 4393 }, { "t": "2026-01-12", "o": 99.84, "h": 102.31, "l": 98.71, "c": 101.61, "v": 3028 }, { "t": "2026-01-13", "o": 101.53, "h": 104.23, "l": 101.07, "c": 103, "v": 5822 }, { "t": "2026-01-14", "o": 103.42, "h": 104.54, "l": 102.54, "c": 104.37, "v": 1829 }, { "t": "2026-01-15", "o": 104.6, "h": 105.7, "l": 104.22, "c": 104.65, "v": 4440 }, { "t": "2026-01-16", "o": 104.53, "h": 106.05, "l": 103.88, "c": 104.63, "v": 1205 }, { "t": "2026-01-17", "o": 104.33, "h": 105.33, "l": 103.57, "c": 103.58, "v": 3576 }, { "t": "2026-01-18", "o": 103.32, "h": 103.75, "l": 102.12, "c": 103.42, "v": 5314 }, { "t": "2026-01-19", "o": 103.47, "h": 105.78, "l": 102.42, "c": 104.86, "v": 1187 }, { "t": "2026-01-20", "o": 104.92, "h": 105.89, "l": 103.92, "c": 105.12, "v": 3627 }, { "t": "2026-01-21", "o": 105.11, "h": 107.12, "l": 104.33, "c": 106.82, "v": 9156 }, { "t": "2026-01-22", "o": 106.95, "h": 107.91, "l": 104.87, "c": 105.84, "v": 4591 }, { "t": "2026-01-23", "o": 106.21, "h": 107.54, "l": 105.02, "c": 107.12, "v": 9959 }, { "t": "2026-01-24", "o": 107.11, "h": 107.96, "l": 105.52, "c": 106.53, "v": 8761 }, { "t": "2026-01-25", "o": 106.62, "h": 107.68, "l": 105.22, "c": 107.55, "v": 1787 }, { "t": "2026-01-26", "o": 107.24, "h": 108.66, "l": 106.78, "c": 107.45, "v": 8748 }, { "t": "2026-01-27", "o": 107.13, "h": 109, "l": 106.48, "c": 108.39, "v": 1081 }, { "t": "2026-01-28", "o": 108.18, "h": 110.4, "l": 106.99, "c": 109.16, "v": 9976 }, { "t": "2026-01-29", "o": 109.27, "h": 111.16, "l": 109.26, "c": 110.7, "v": 3288 }, { "t": "2026-01-30", "o": 110.73, "h": 112.55, "l": 109.72, "c": 111.52, "v": 5393 }, { "t": "2026-01-31", "o": 111.71, "h": 114.33, "l": 111.51, "c": 113.31, "v": 6128 }, { "t": "2026-02-01", "o": 112.97, "h": 114.51, "l": 112.49, "c": 113.85, "v": 7166 }, { "t": "2026-02-02", "o": 113.68, "h": 114.05, "l": 113.16, "c": 113.66, "v": 2069 }, { "t": "2026-02-03", "o": 113.71, "h": 116.52, "l": 112.93, "c": 115.47, "v": 8435 }, { "t": "2026-02-04", "o": 115.83, "h": 116.55, "l": 114.92, "c": 115.64, "v": 2223 }, { "t": "2026-02-05", "o": 116.1, "h": 116.11, "l": 115.07, "c": 115.98, "v": 4511 } ], "entry": { "all": [ { "indicator": "sma", "period": 3, "op": "crossAbove", "ref": { "indicator": "sma", "period": 6 } } ] }, "exit": { "any": [ { "indicator": "rsi", "period": 5, "op": ">", "value": 70 } ] }, "side": "long", "initialCapital": 10000, "positionSize": { "type": "percentEquity", "value": 1 }, "feePct": 0.001, "slippagePct": 0.0005, "stopLossPct": 0.05, "takeProfitPct": null } ``` Example response: ```json { "trades": [ { "side": "long", "entryIndex": 7, "entryPrice": 99.88992, "exitIndex": 8, "exitPrice": 101.479235, "qty": 100.010191118, "pnl": 138.808729221, "returnPct": 0.013894753795, "exitReason": "signal" }, { "side": "long", "entryIndex": 16, "entryPrice": 105.162555, "exitIndex": 17, "exitPrice": 106.896525, "qty": 96.3145108938, "pnl": 146.582105884, "returnPct": 0.0144719850141, "exitReason": "signal" } ], "equityCurve": [ 10000, 10000, "…" ], "metrics": { "totalReturn": 0.0285390835104, "cagr": 0.393120262739, "maxDrawdown": 0.00228564348981, "sharpe": 3.71403323537, "winRate": 1, "profitFactor": null, "trades": 2, "exposure": 0.0625 }, "warmup": { "signals": 5 }, "params": { "entry": { "all": [ { "indicator": "sma", "period": 3, "op": "crossAbove", "ref": { "indicator": "sma", "period": 6 } } ] }, "exit": { "any": [ { "indicator": "rsi", "period": 5, "op": ">", "value": 70 } ] }, "side": "long", "initialCapital": 10000, "positionSize": { "type": "percentEquity", "value": 1 }, "feePct": 0.001, "slippagePct": 0.0005, "stopLossPct": 0.05, "takeProfitPct": null }, "sources": [ { "source": "Declarative rule backtest on caller bars using the indicator definitions of this product (formulas as originally publis…", "url": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays", "retrievedAt": "2026-11-14", "status": "ok" } ], "limitations": [ "Not investment advice.", "Pure computation on the bars in the request; no market-data feed is called. Time gaps are not filled: indicators run on…", "…" ] } ```