{"uid":"cap_rS2cFmsAMhW3RqnaHGvXh","slug":"moving-average-crossover-calculator-797535f5","name":"Moving Average Crossover Calculator","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/agents/api/v1/moving-average-crossover","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prices":{"type":"array","items":{"type":"number"}},"long_window":{"type":"integer"},"short_window":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x0936lKYmFfS785DNKCGT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes short and long moving average crossover signals from a price series to identify buy/sell signals","exampleAgentPrompt":"Calculate the moving average crossover for these closing prices [100, 102, 101, 105, 110, 108, 112, 115, 113, 118, 120, 122] using a short window of 3 and a long window of 7, and tell me if there's a bullish or bearish crossover signal.","exampleUseCases":[{"title":"Stock trend signal detection","prompt":"I have daily closing prices for Tesla over the last 30 days — can you run a moving average crossover with a short window of 5 and a long window of 20 to see if there's a buy signal?"},{"title":"Crypto momentum analysis","prompt":"Here are hourly Bitcoin prices for the past 48 hours: [28000, 28100, 27900, 28200, 28500, 28800, 29000, 29200, 29100, 29400, 29600, 29800]. Compute the moving average crossover using a 4-period short window and a 12-period long window."},{"title":"Automated trading bot trigger","prompt":"Run a moving average crossover calculation on this price array [50, 51, 52, 53, 55, 54, 56, 58, 57, 59, 61, 60, 63] with short window 3 and long window 9 so I can decide whether to trigger a trade."}],"resultDescription":"Returns a JSON object with a 'result' field indicating the crossover computation outcome and a 'status' field confirming success. The exact crossover signal details (e.g. bullish/bearish crossover points, MA values) are embedded in the result payload.","failureModes":["Insufficient price data points relative to the long_window size causing computation failure","Invalid input types (non-numeric prices, non-integer windows) returning a 422 error","short_window larger than or equal to long_window producing undefined behavior","Empty prices array resulting in a processing error","Payment failure via x402 protocol blocking the request with a 402 response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call moving average crossover computation without setting up local technical analysis libraries. Best for agents that need quick trend signals on arbitrary price arrays with configurable window sizes, especially in automated trading or monitoring pipelines where per-call USDC micropayment cost ($0.002) is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:58:14.074Z","isFirstParty":false}