Interactive skill for designing custom technical indicators from a trading hypothesis. Claude asks about the hypothesis, helps operationalize it, and generates vectorized pandas implementations. Use when starting from a discretionary trading idea and wanting to test it systematically.
Ships in quant-review-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Help the user turn a discretionary trading hypothesis into a vectorized, testable indicator.
Ask:
Convert verbal description to measurable quantities:
volume > rolling_quantile(volume, 90, window=20)close > rolling_max(high, window=N).shift(1)rsi(close, 14) > 80 and rsi(close, 14).shift(1) > 80Push back on fuzzy language. Ask for concrete thresholds.
import pandas as pd
def indicator(df: pd.DataFrame, window: int = 20, quantile: float = 0.9) -> pd.Series:
"""One-liner describing what this indicator outputs (signal series, bool series, score)."""
# implementation — pure pandas, no .apply, no Python loops
...
return signal
Rules:
for loops over bars.pd.Series aligned with input index..shift(1) for any rolling computation used at decision time — no look-ahead.Before the user tests it, check:
Generate this sanity-check code:
print(f"fires: {signal.sum()} of {len(signal)} bars ({signal.mean():.2%})")
print(f"by year: {signal.groupby(df.index.year).mean()}")
print(f"corr with returns: {signal.corr(df['close'].pct_change().shift(-1))}")
Suggest the user feed the signal to backtest-review skill next.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/backtest-reviewAudit a trading-strategy backtest for look-ahead bias, overfitting, unrealistic assumptions, and regime-dependence. Use this skill when reviewing backtest code, backtest results, equity curves, or considering whether to deploy a strategy live./data-scrubAudit a market-data CSV for missing bars, timezone drift, weekend handling, stale ticks, duplicate timestamps, and survivorship. Use before running any backtest on new data./hedge-labExplore hedging constructs for a crypto position — delta hedging, basis trading, funding-rate capture, cross-exchange arb. Use when holding directional BTC/ETH exposure and wanting to reduce risk without closing the position./risk-reportGenerate a one-page risk summary from a returns series. Computes Sharpe, Sortino, max DD, CVaR, tail ratio, rolling correlation. Use when analyzing backtest or live P&L output./strategy-critiqueAdversarial review of a trading strategy. Claude acts as a skeptical prop-desk risk manager and tries to find why the strategy will blow up. Use when evaluating a new strategy idea, before scaling up capital, or when a backtest looks "too good."/quant-review-skills:indicator-designfrom quant-review-skills
quant-review-skills@fin-skills is listed by howard-lynn-ye/fin-rsi — review the source before installing
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin quant-review-skills