generating-trading-signals

23
3
Source

Generate trading signals using technical indicators (RSI, MACD, Bollinger Bands, etc.). Combines multiple indicators into composite signals with confidence scores. Use when analyzing assets for trading opportunities or checking technical indicators. Trigger with phrases like "get trading signals", "check indicators", "analyze for entry", "scan for opportunities", "generate buy/sell signals", or "technical analysis".

Install

mkdir -p .claude/skills/generating-trading-signals && curl -L -o skill.zip "https://mcp.directory/api/skills/download/1564" && unzip -o skill.zip -d .claude/skills/generating-trading-signals && rm skill.zip

Installs to .claude/skills/generating-trading-signals

About this skill

Generating Trading Signals

Overview

Multi-indicator signal generation system that analyzes price action using 7 technical indicators and produces composite BUY/SELL signals with confidence scores and risk management levels.

Indicators Used:

  • RSI (Relative Strength Index) - Overbought/oversold
  • MACD (Moving Average Convergence Divergence) - Trend and momentum
  • Bollinger Bands - Mean reversion and volatility
  • Trend (SMA 20/50/200 crossovers) - Trend direction
  • Volume - Confirmation of moves
  • Stochastic Oscillator - Short-term momentum
  • ADX (Average Directional Index) - Trend strength

Prerequisites

Install required dependencies:

pip install yfinance pandas numpy

Optional for visualization:

pip install matplotlib

Instructions

Step 1: Quick Signal Scan

Scan multiple assets for trading opportunities:

python {baseDir}/scripts/scanner.py --watchlist crypto_top10 --period 6m

Output shows signal type (STRONG_BUY/BUY/NEUTRAL/SELL/STRONG_SELL) and confidence for each asset.

Step 2: Detailed Signal Analysis

Get full indicator breakdown for a specific symbol:

python {baseDir}/scripts/scanner.py --symbols BTC-USD --detail

Shows each indicator's contribution:

  • Individual signal (BUY/SELL/NEUTRAL)
  • Indicator value
  • Reasoning (e.g., "RSI oversold at 28.5")

Step 3: Filter and Rank Signals

Find the best opportunities:

# Only buy signals with 70%+ confidence
python {baseDir}/scripts/scanner.py --filter buy --min-confidence 70 --rank confidence

# Rank by most bullish
python {baseDir}/scripts/scanner.py --rank bullish

# Save results to JSON
python {baseDir}/scripts/scanner.py --output signals.json

Step 4: Use Custom Watchlists

Available predefined watchlists:

python {baseDir}/scripts/scanner.py --list-watchlists
python {baseDir}/scripts/scanner.py --watchlist crypto_defi

Watchlists: crypto_top10, crypto_defi, crypto_layer2, stocks_tech, etfs_major

Output

Signal Summary Table

================================================================================
  SIGNAL SCANNER RESULTS
================================================================================

  Symbol       Signal         Confidence          Price    Stop Loss
--------------------------------------------------------------------------------
  BTC-USD      STRONG_BUY          78.5%     $67,234.00  $64,890.00
  ETH-USD      BUY                 62.3%      $3,456.00   $3,312.00
  SOL-USD      NEUTRAL             45.0%        $142.50         N/A
--------------------------------------------------------------------------------

  Summary: 2 Buy | 1 Neutral | 0 Sell
  Scanned: 3 assets | [timestamp]
================================================================================

Detailed Signal Output

======================================================================
  BTC-USD - STRONG_BUY
  Confidence: 78.5% | Price: $67,234.00
======================================================================

  Risk Management:
    Stop Loss:   $64,890.00
    Take Profit: $71,922.00
    Risk/Reward: 1:2.0

  Signal Components:
----------------------------------------------------------------------
    RSI              | STRONG_BUY   | Oversold at 28.5 (< 30)
    MACD             | BUY          | MACD above signal, positive momentum
    Bollinger Bands  | BUY          | Price near lower band (%B = 0.15)
    Trend            | BUY          | Uptrend: price above key MAs
    Volume           | STRONG_BUY   | High volume (2.3x) on up move
    Stochastic       | STRONG_BUY   | Oversold (%K=18.2, %D=21.5)
    ADX              | BUY          | Strong uptrend (ADX=32.1)
----------------------------------------------------------------------

Signal Types

SignalScoreMeaning
STRONG_BUY+2Multiple strong buy signals aligned
BUY+1Moderate buy signals
NEUTRAL0No clear direction
SELL-1Moderate sell signals
STRONG_SELL-2Multiple strong sell signals aligned

Confidence Interpretation

ConfidenceInterpretation
70-100%High conviction, strong signal
50-70%Moderate conviction
30-50%Weak signal, mixed indicators
0-30%No clear direction, avoid trading

Configuration

Edit {baseDir}/config/settings.yaml:

indicators:
  rsi:
    period: 14
    overbought: 70
    oversold: 30

signals:
  weights:
    rsi: 1.0
    macd: 1.0
    bollinger: 1.0
    trend: 1.0
    volume: 0.5

Error Handling

See {baseDir}/references/errors.md for common issues:

  • API rate limits
  • Insufficient data handling
  • Network errors

Examples

See {baseDir}/references/examples.md for detailed examples:

  • Multi-timeframe analysis
  • Custom indicator parameters
  • Combining with backtester
  • Automated scanning schedules

Integration with Backtester

Test signals historically:

# Generate signal
python {baseDir}/scripts/scanner.py --symbols BTC-USD --detail

# Backtest the strategy that generated the signal
python {baseDir}/../trading-strategy-backtester/skills/backtesting-trading-strategies/scripts/backtest.py \
  --strategy rsi_reversal --symbol BTC-USD --period 1y

Files

FilePurpose
scripts/scanner.pyMain signal scanner
scripts/signals.pySignal generation logic
scripts/indicators.pyTechnical indicator calculations
config/settings.yamlConfiguration

Resources

  • yfinance for price data
  • pandas/numpy for calculations
  • Compatible with trading-strategy-backtester plugin

svg-icon-generator

jeremylongshore

Svg Icon Generator - Auto-activating skill for Visual Content. Triggers on: svg icon generator, svg icon generator Part of the Visual Content skill category.

10435

d2-diagram-creator

jeremylongshore

D2 Diagram Creator - Auto-activating skill for Visual Content. Triggers on: d2 diagram creator, d2 diagram creator Part of the Visual Content skill category.

8233

automating-mobile-app-testing

jeremylongshore

This skill enables automated testing of mobile applications on iOS and Android platforms using frameworks like Appium, Detox, XCUITest, and Espresso. It generates end-to-end tests, sets up page object models, and handles platform-specific elements. Use this skill when the user requests mobile app testing, test automation for iOS or Android, or needs assistance with setting up device farms and simulators. The skill is triggered by terms like "mobile testing", "appium", "detox", "xcuitest", "espresso", "android test", "ios test".

17928

performing-penetration-testing

jeremylongshore

This skill enables automated penetration testing of web applications. It uses the penetration-tester plugin to identify vulnerabilities, including OWASP Top 10 threats, and suggests exploitation techniques. Use this skill when the user requests a "penetration test", "pentest", "vulnerability assessment", or asks to "exploit" a web application. It provides comprehensive reporting on identified security flaws.

5317

designing-database-schemas

jeremylongshore

Design and visualize efficient database schemas, normalize data, map relationships, and generate ERD diagrams and SQL statements.

12414

optimizing-sql-queries

jeremylongshore

This skill analyzes and optimizes SQL queries for improved performance. It identifies potential bottlenecks, suggests optimal indexes, and proposes query rewrites. Use this when the user mentions "optimize SQL query", "improve SQL performance", "SQL query optimization", "slow SQL query", or asks for help with "SQL indexing". The skill helps enhance database efficiency by analyzing query structure, recommending indexes, and reviewing execution plans.

5413

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

1,5761,371

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

1,1191,193

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

1,4191,110

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

1,200751

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

1,159685

pdf-to-markdown

aliceisjustplaying

Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.

1,330621

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.