Skip to content

roc — ROC

Category: Momentum · Standard

For Skill / AI Agent integrations

When you POST /api/indicators?explain=true, the response carries a knowledge block with this indicator's interpretation rubric. Pass it to your LLM together with the numeric data — don't make the LLM guess thresholds from memory. Full rubric lives at the Chinese page (summary_focus / signals / caveats).

This is a momentum indicator. Math is aligned with TradingView Pine Script.

Parameters

ParameterTypeDefault
lengthint9

Output columns

Column
roc

Example call

bash
curl -X POST -H "Authorization: Bearer mq_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "exchange": "binance",
    "market":   "perp",
    "symbol":   "BTCUSDT",
    "interval": "5m",
    "limit":    100,
    "calc":     [{"name": "roc", "params": {"length": 9}}]
  }' \
  https://api.mobiusquant.ai/api/indicators

Full interpretation guide

The full description, signal interpretation, caveats and analysis focus points are documented in Chinese at:

roc (中文详情)

accelerator_oscillator · awesome_oscillator · cci · chande_mo · connors_rsi · coppock_curve · dpo · kst


Auto-generated by scripts/sync-indicators.mjs from engine_indicator_knowledge + engine runtime introspect. Manual edits will be overwritten on next sync.

AI trading infrastructure