MCPInstall

custom-indicators

Crypto-native indicators including NVT ratio, exchange flow, funding rate signals, holder momentum, and smart money flow

Installs
457
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/agiprolabs/claude-trading-skills --skill custom-indicators
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads custom-indicators automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Custom Crypto Indicators

Why Standard TA Falls Short for Crypto

Traditional technical analysis was built for equities and forex — markets with fixed supply, regulated exchanges, and institutional-dominated order flow. Crypto markets have unique properties that demand purpose-built indicators:

  • On-chain transparency: Every transaction is public. We can measure real economic activity, not just price and volume on a single exchange.
  • Supply mechanics: Fixed or programmatic supply schedules make supply-side analysis (velocity, holder distribution) meaningful.
  • Derivatives dominance: Perpetual futures funding rates and open interest often drive spot price, not the other way around.
  • Whale concentration: A small number of wallets hold outsized supply. Tracking their behavior provides alpha that equity-market TA cannot.
  • Exchange flows: On-chain deposit/withdrawal to centralized exchanges signals intent to sell or accumulate.

This skill covers nine crypto-native indicators. Each section includes the formula, interpretation guide, data sources, and a working code snippet.

Files

FileDescription
references/indicator_formulas.mdFull formulas, parameter tables, signal ranges for all 9 indicators
references/signal_interpretation.mdComposite scoring, divergence detection, false signal filtering
scripts/compute_crypto_indicators.pyComputes all 9 indicators from free APIs or demo data
scripts/holder_momentum.pyHolder count tracking with momentum signals

Indicator 1: NVT Ratio

Network Value to Transactions — the crypto equivalent of a P/E ratio.

NVT = Market Cap / Daily On-Chain Transaction Volume (USD)
  • High NVT (> 65): Network is overvalued relative to its economic throughput. Bearish signal.
  • Low NVT (< 25): Network is undervalued or seeing heavy real usage. Bullish signal.
  • Data sources: CoinGecko (market cap), blockchain explorers or DeFiLlama (transaction volume).
def nvt_ratio(market_cap: float, daily_tx_volume_usd: float) -> float:
    """Compute NVT ratio.

    Args:
        market_cap: Current market capitalization in USD.
        daily_tx_volume_usd: 24h on-chain transaction volume in USD.

    Returns:
        NVT ratio value.
    """
    if daily_tx_volume_usd <= 0:
        return float("inf")
    return market_cap / daily_tx_volume_usd

Smoothing: Apply a 14-day or 28-day moving average to NVT (called NVT Signal) to reduce noise from daily volume spikes.


Indicator 2: MVRV Ratio

Market Value to Realized Value — compares the current market cap to the aggregate cost basis of all holders.

MVRV = Market Cap / Realized Cap
Realized Cap = Sum of (each UTXO * price when it last moved)
  • MVRV > 3.5: Most holders are in deep profit. Distribution likely.
  • MVRV < 1.0: Most holders are underwater. Historically marks bottoms.
  • Data sources: Glassnode, CryptoQuant (Bitcoin/Ethereum). For Solana tokens, approximate via average entry price of top holders.
def mvrv_ratio(market_cap: float, realized_cap: float) -> float:
    """Compute MVRV ratio.

    Args:
        market_cap: Current market capitalization in USD.
        realized_cap: Realized capitalization (aggregate cost basis).

    Returns:
        MVRV ratio value.
    """
    if realized_cap <= 0:
        return float("inf")
    return market_cap / realized_cap

For tokens without UTXO-based realized cap, estimate using average purchase price from DEX trade history multiplied by circulating supply.


Indicator 3: Exchange Flow

Net exchange deposits minus withdrawals — signals selling or accumulation intent.

Exchange Netflow = Deposits to Exchanges - Withdrawals from Exchanges
  • Positive netflow (large deposits): Holders moving tokens to exchanges, likely to sell. Bearish.
  • Negative netflow (withdrawals): Tokens leaving exchanges to cold storage. Bullish accumulation signal.
  • Data sources: CryptoQuant, Glassnode. For Solana SPL tokens, track transfers to known exchange wallets via Helius or Solana RPC.
def exchange_netflow(
    deposits_usd: float, withdrawals_usd: float
) -> tuple[float, str]:
    """Compute exchange netflow and interpret.

    Returns:
        Tuple of (netflow_value, signal_label).
    """
    netflow = deposits_usd - withdrawals_usd
    if netflow > 0:
        signal = "bearish"
    elif netflow < 0:
        signal = "bullish"
    else:
        signal = "neutral"
    return netflow, signal

Normalize by market cap for cross-token comparison: Netflow Ratio = Netflow / Market Cap.


Indicator 4: Funding Rate Signal

Perpetual futures contracts use funding rates to anchor price to spot.

Funding Rate = (Perp Mark Price - Spot Price) / Spot Price
             (paid every 8 hours on most exchanges)
  • Highly positive (> 0.05%): Longs pay shorts. Market is overleveraged long. Contrarian bearish.
  • Highly negative (< -0.05%): Shorts pay longs. Overleveraged short. Contrarian bullish.
  • Data sources: Binance, Bybit, dYdX APIs. Aggregate across exchanges for a volume-weighted average.
def funding_rate_signal(
    rates: list[float], weights: list[float] | None = None
) -> tuple[float, str]:
    """Volume-weighted average funding rate with signal.

    Args:
        rates: Funding rates from multiple exchanges.
        weights: Optional volume weights per exchange.
    """
    import numpy as np

    if weights is None:
        weights = [1.0 / len(rates)] * len(rates)
    vw_rate = float(np.average(rates, weights=weights))
    if vw_rate > 0.0005:
        signal = "bearish"
    elif vw_rate < -0.0005:
        signal = "bullish"
    else:
        signal = "neutral"
    return vw_rate, signal

Indicator 5: Open Interest Momentum

Tracks the rate of change in total open interest across derivatives exchanges.

OI Momentum = (OI_today - OI_n_days_ago) / OI_n_days_ago * 100
  • Rising OI + Rising Price: New money entering longs. Trend confirmation.
  • Rising OI + Falling Price: New shorts opening. Bearish pressure.
  • Falling OI + Rising Price: Short squeeze / closing shorts.
  • Falling OI + Falling Price: Long liquidation.
  • Data sources: CoinGlass, Binance, Bybit open interest endpoints.
def oi_momentum(
    oi_series: list[float], lookback: int = 7
) -> float:
    """Compute open interest momentum as percentage change.

    Args:
        oi_series: Daily open interest values (newest last).
        lookback: Number of days for momentum calculation.
    """
    if len(oi_series) < lookback + 1:
        return 0.0
    old = oi_series[-(lookback + 1)]
    new = oi_series[-1]
    if old <= 0:
        return 0.0
    return (new - old) / old * 100.0

Indicator 6: Holder Momentum

Tracks the net change in unique token holders over time.

Holder Momentum = (Holders_today - Holders_n_days_ago) / Holders_n_days_ago
Holder Acceleration = Holder Momentum_today - Holder Momentum_yesterday
  • Accelerating growth: Viral adoption phase. Bullish.
  • Decelerating growth: Adoption slowing. Watch for reversal.
  • Negative momentum: Holders leaving. Bearish.
  • Data sources: Helius DAS API (Solana), Etherscan token holder count, Birdeye holder stats.
def holder_momentum(
    holder_counts: list[int], lookback: int = 7
) -> tuple[float, float]:
    """Compute holder momentum and acceleration.

    Returns:
        Tuple of (momentum_pct, acceleration).
    """
    if len(holder_counts) < lookback + 2:
        return 0.0, 0.0
    old = holder_counts[-(lookback + 1)]
    new = holder_counts[-1]
    prev_old = holder_counts[-(lookback + 2)]
    prev_new = holder_counts[-2]
    mom = (new - old) / old if old > 0 else 0.0
    prev_mom = (prev_new - prev_old) / prev_old if prev_old > 0 else 0.0
    accel = mom - prev_mom
    return mom, accel

See scripts/holder_momentum.py for a full tracking implementation.


Indicator 7: Liquidity Score

A composite metric combining order book depth, bid-ask spread, and DEX pool depth to estimate how easily a position can be entered/exited.

Liquidity Score = w1 * Depth Score + w2 * Spread Score + w3 * Pool Score

Where:

  • Depth Score = min(1, total_bids_within_2pct / target_position_size)
  • Spread Score = max(0, 1 - spread_bps / 100)
  • Pool Score = min(1, pool_tvl / (target_position_size * 10))
  • Default weights: w1=0.4, w2=0.3, w3=0.3
def liquidity_score(
    depth_usd: float,
    spread_bps: float,
    pool_tvl: float,
    position_size: float,
    weights: tuple[float, float, float] = (0.4, 0.3, 0.3),
) -> float:
    """Composite liquidity score from 0 (illiquid) to 1 (highly liquid)."""
    depth_s = min(1.0, depth_usd / position_size) if position_size > 0 else 0
    spread_s = max(0.0, 1.0 - spread_bps / 100.0)
    pool_s = min(1.0, pool_tvl / (position_size * 10)) if position_size > 0 else 0
    return weights[0] * depth_s + weights[1] * spread_s + weights[2] * pool_s

Indicator 8: Smart Money Flow

Net buying pressure from wallets identified as "smart money" (historically profitable, large balances, early entry patterns).

Smart Money Flow = Sum(smart_wallet_buys_usd) - Sum(smart_wallet_sells_usd)
SMF Ratio = Smart Money Flow / Total Volume
  • SMF Ratio > 0.1: Smart money is net accumulating. Bullish.
  • SMF Ratio < -0.1: Smart money is distributing. Bearish.
  • Data sources: Helius transaction parsing + wallet labeling, Birdeye wallet analytics, Nansen (Ethereum).
def smart_money_flow(
    smart_buys_usd: float,
    smart_sells_usd: float,
    total_volume_usd: float,
) -> tuple[float, float, str]:
    """Compute smart money flow and ratio.

    Returns:
        Tuple of (net_flow, smf_ratio, signal).
    """
    net = smart_buys_usd - smart_sells_usd
    ratio = net / total_volume_usd if total_volume_usd > 0 else 0.0
    if ratio > 0.1:
        signal = "bullish"
    elif ratio < -0.1:
        signal = "bearish"
    else:
        signal = "neutral"
    return net, ratio, signal

Indicator 9: Token Velocity

Measures how frequently a token changes hands relative to its supply.

Token Velocity = Daily Trading Volume (tokens) / Circulating Supply
  • High velocity (> 0.3): Speculative trading dominates. Token is being flipped, not held. Can precede dumps.
  • Low velocity (< 0.05): Holders are sitting tight. Strong hands.
  • Data sources: CoinGecko (volume, supply), DEX aggregator volumes.
def token_velocity(
    daily_volume_tokens: float, circulating_supply: float
) -> tuple[float, str]:
    """Compute token velocity.

    Returns:
        Tuple of (velocity, interpretation).
    """
    if circulating_supply <= 0:
        return 0.0, "unknown"
    vel = daily_volume_tokens / circulating_supply
    if vel > 0.3:
        interp = "high_speculation"
    elif vel > 0.1:
        interp = "moderate"
    elif vel > 0.05:
        interp = "low"
    else:
        interp = "very_low_strong_holders"
    return vel, interp

Combining Indicators

No single indicator is reliable in isolation. See references/signal_interpretation.md for guidance on:

  • Building composite scores from multiple indicators
  • Detecting divergences (e.g., price rising but NVT expanding)
  • Adjusting interpretation by market regime
  • Filtering false signals

Dependencies

uv pip install httpx pandas numpy

Disclaimer

All indicators and analysis provided by this skill are for informational and educational purposes only. They do not constitute financial advice. Always conduct your own research before making any investment decisions.

FAQ

What does the custom-indicators skill do?

Crypto-native indicators including NVT ratio, exchange flow, funding rate signals, holder momentum, and smart money flow

How do I install custom-indicators?

Run npx skills add https://github.com/agiprolabs/claude-trading-skills --skill custom-indicators in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/custom-indicators/ (personal) or .claude/skills/custom-indicators/ (project).

Which AI agents can use custom-indicators?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is custom-indicators safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains custom-indicators?

It is published by agiprolabs in agiprolabs/claude-trading-skills. It has 457 recorded installs.

More from agiprolabs/claude-trading-skills

View all →

walk-forward-validation

agiprolabs/claude-trading-skills

Walk-forward validation framework for trading strategies and ML models with time-series-aware splits, overfit detection, and regime-aware validation

Business & Finance714 installs

risk-management

agiprolabs/claude-trading-skills

Portfolio-level risk controls, drawdown management, exposure limits, and circuit breakers for crypto trading

Business & Finance637 installs

pandas-ta

agiprolabs/claude-trading-skills

Technical analysis with 130+ indicators using pandas-ta for crypto market data

Data & Databases593 installs

position-sizing

agiprolabs/claude-trading-skills

Trade sizing methods including fixed fractional, volatility-adjusted, Kelly criterion, and liquidity-constrained sizing

Business & Finance581 installs

regime-detection

agiprolabs/claude-trading-skills

Market regime identification using volatility clustering, trend detection, and statistical methods for adaptive trading

Business & Finance578 installs

kelly-criterion

agiprolabs/claude-trading-skills

Kelly criterion optimal sizing with fractional variants, edge estimation, and practical application for crypto trading

Business & Finance534 installs

Popular business & finance skills

View category →

sales-enablement

coreyhaines31/marketingskills

When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'battle card,' 'battlecard,' 'competitive one-pager,' 'win-loss analysis,' 'why are we losing deals,' 'loss reasons,' 'how do I respond to this objection,' 'prospect just said,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps,' 'cold call script,' or 'voicemail script.' Use this for any document or asset that helps a sales team close deals. For public competitor comparison pages, see competitors. For running buyer interviews or churn research, see customer-research. For marketing website copy, see copywriting. For cold outreach emails, see cold-email. For the offer being sold (bonuses, guarantees, pricing structure),

Business & Finance119.5K installs

revops

coreyhaines31/marketingskills

When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'outbound pipeline stages,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing.

Business & Finance114.1K installs

sales-funnel-blueprint

autonnel/autonnel-skills

Turn an offer into a concrete multi-step sales funnel spec - page-by-page structure, price ladder, copy outline and the metrics each step must hit. Use when asked to build a sales funnel, marketing funnel, landing page flow, lead magnet funnel, webinar funnel, tripwire or VSL funnel, when planning a product launch page flow, or when someone asks "what pages do I need" for selling something online.

Business & Finance104.5K installs

pricing

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' 'should I offer a free plan,' 'pricing page teardown,' 'pricing page audit,' 'is my pricing page AI-readable,' or 'can AI read my pricing.' Use this whenever someone is figuring out what to charge, how to structure their plans, or wants to audit a pricing page (for humans and for the AI agents that shortlist tools). For in-app upgrade screens, see paywalls. For offer construction (bonuses, guarantees, value framing, naming) on services/courses/coaching/high-ticket B2B, see offers.

Business & Finance80K installs

cross-border-ecommerce

nexscope-ai/ecommerce-skills

Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.

Business & Finance62.9K installs

pricing-strategy

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' or 'should I offer a free plan.' Use this whenever someone is figuring out what to charge or how to structure their plans. For in-app upgrade screens, see paywall-upgrade-cro.

Business & Finance61.2K installs