Scaffolds a custom technical indicator built on openalgo's Rust-core ta primitives with vectorized NumPy.

skills.sh installs
601
GitHub stars
22
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full build flow: indicator module, Plotly chart script, and O(n) performance benchmark
  • Includes a file template with a vectorized _compute_ core, a public API that accepts arrays or pandas Series, and a chart.py stub
  • Enforces a check against the existing 100+ indicators in openalgo.ta and forbids per-bar loops over large arrays
  • Designed for traders and quants writing bespoke indicators such as z-scores, squeeze momentum, or VWAP bands

Install

$ npx -y skills add marketcalls/openalgo-indicator-skills --skill custom-indicator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Create a custom technical indicator by composing openalgo's Rust-core ta primitives with vectorized NumPy.

Arguments

  • $0 = indicator name (e.g., zscore, squeeze, vwap-bands, custom-rsi, mean-reversion). Required.

If no arguments, ask the user what indicator they want to build.

Instructions

  1. Read the indicator-expert rules, especially:
    • rules/custom-indicators.md — NumPy + ta-primitive patterns and templates
    • rules/performance.md — Rust core performance, O(n) guarantees, benchmarking
    • rules/indicator-catalog.md — Check if indicator already exists in openalgo.ta
  2. Check first: If the indicator already exists in openalgo.ta (100+ indicators), tell the user and show the existing API
  3. Create custom_indicators/{indicator_name}/ directory (on-demand)
  4. Create {indicator_name}.py with:

File Structure

"""
{Indicator Name} — Custom Indicator
Description: {what it measures}
Category: {trend/momentum/volatility/volume/oscillator}
"""
import numpy as np
import pandas as pd
from openalgo import ta

Details

Repository
github.com/marketcalls/openalgo-indicator-skills
Categories
Finance & Trading, Python
First seen
Jun 3, 2026

More from marketcalls/openalgo-indicator-skills

All 7

Similar to Custom Indicator

More Finance & Trading