Back to list
CheekyCodexConjurer

create-new-indicator

by CheekyCodexConjurer

AERA: local-first workstation for quantitative research, visualization, and backtesting.

0🍴 0📅 Jan 6, 2026

SKILL.md


name: Create New Indicator description: Use this skill when you need to add a new Python indicator to AERA.

Create New Indicator (Python)

Use when adding a new indicator under the Strategy Lab indicators/ workspace.

Constraints (platform rules)

  • Do NOT hardcode indicator id/name/kind in the frontend renderer.
  • Keep the output generic via Plot API (v1 today).

Steps

  1. Create the script file
  • Path: server/indicators/<name>.py (or subfolders under server/indicators/).
  • Must export calculate(inputs, settings=None).
  • Optional: initialize(ctx) to declare Inputs UI (Manifest).
  1. Produce Plot API v1 output (recommended)
  • Return {"plots": [...]}.
  • Prefer index-based coordinates (index, from/to) so the backend can align to candle time.
  • Reference: docs/public/plot-api-v1.md.
  1. No manual registration
  • The backend scans server/indicators/ automatically:
    • server/src/services/indicatorFileService.js
    • server/src/indicatorRegistry/registry.js
  • The indicator id is the relative path including .py (example: my_indicator.py or market_structure/pivots.py).
  1. Verify
  • In the app: Strategy Lab -> save the file; Chart -> activate and run.
  • Optional quick check: Debug -> terminal command run indicator <id> --asset=CL1! --tf=M15 --len=1000.
  • Run standard validations: see skills/verify_changes/SKILL.md.

Template

Start from skills/create_new_indicator/template_indicator.py.

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon