X402 · Precross
Use for: the exact next-bar price at which EMA11 and EMA64 cross (closed form, plus zero-lag variant), the move needed in % and ATR, convergence and est. bars-to-cross, and a walk-forward self-backtest (in-sample config selection over 8 configs, 16 on 1h/4h with the "daily agrees" filter, out-of-sample verdict, costs both sides, confirmed-cross baseline) with a six-check proof gate per side, a 75-ticker basket proof with standout ranking, and a plain-English summary; a long/short setup appears only for a proven side. US stocks/ETFs, 1h or 4h regular-session, or 1d. Derived analysis only — no raw bars. Don't use when: you need raw OHLC, sub-1h timeframes, spot crypto, or order execution. Pay 0.02 USDC on Base using the fresh PAYMENT-REQUIRED challenge and caller-authorized PAYMENT-SIGNATURE.
Live 402 challenge
Hits the real endpoint without paying and shows exactly what it demands. Nothing is charged.
Pay from your agent
import { wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const signer = privateKeyToAccount(process.env.BUYER_PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(signer) }] });
const res = await pay("https://mcp-x402.onrender.com/x402/precross", { method: "GET" });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));Example input
{
"symbol": "AMC",
"tf": "4h"
}