Skip to content

Moving average (SMA + EMA) · agent402.tools

Compute simple (SMA) and exponential (EMA) moving averages over a…

Compute simple (SMA) and exponential (EMA) moving averages over a numeric series. Returns one value per input position - the first (window-1) SMA values are null since there isn't enough history. EMA uses the standard alpha = 2/(window+1) smoothing factor used in technical analysis.

Ready now4 calls · 3 buyers in 30 days

Input

Sample response

Published by the provider. Your run returns a fresh response.

response4 keys
count10
ema10 items
010
110.5
211.25
312.125
413.0625
514.0312
615.0156
716.0078
817.0039
918.002
sma10 items
0null
1null
211
312
413
514
615
716
817
918
window3
responseobject, 4 keys
Your agent can do this on its own
Add the MCP URL in Claude Code, Cursor or Codex. Your agent can run Tools within its spending limits, or ask for approval each time. Connect your agent

Connect your agent

Add one MCP URL and your agent can find and run this tool within its spending limits. Choose “Ask each time” if you want to approve every Call.

MCP URL

https://app.aecon.ai/mcp
Terminalbash
claude mcp add --transport http --scope user agentic-economy "https://app.aecon.ai/mcp"

In Claude Code, open /mcp, select agentic-economy, then choose Authenticate.

Track record

Paid calls, last 30 days
4
Buyers, last 30 days
3
Last paid call

Reported by the x402 directory.

A$0.0015 per call