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: RSI, MACD, Bollinger Bands, Trend (SMA 20/50/200), Volume, Stochastic Oscillator, ADX.
Prerequisites
Install required dependencies:
set -euo pipefail
pip install yfinance pandas numpy
Optional for visualization: pip install matplotlib
Instructions
- Quick signal scan across multiple assets:
python ${CLAUDE_SKILL_DIR}/scripts/scanner.py --watchlist crypto_top10 --period 6m
Output shows signal type (STRONGBUY/BUY/NEUTRAL/SELL/STRONGSELL) and confidence per asset.
- Detailed signal analysis for a specific symbol:
python ${CLAUDE_SKILL_DIR}/scripts/scanner.py --symbols BTC-USD --detail
Shows each indicator's individual signal, value, and reasoning.
- Filter and rank the best opportunities:
# Only buy signals with 70%+ confidence
python ${CLAUDE_SKILL_DIR}/scripts/scanner.py --filter buy --min-confidence 70 --rank confidence
# Save results to JSON
python ${CLAUDE_SKILL_DIR}/scripts/scanner.py --output signals.json
- Use predefined watchlists:
python ${CLAUDE_SKILL_DIR}/scripts/scanner.py --list-watchlists
python ${CLAUDE_SKILL_DIR}/scripts/scanner.py --watchlist crypto_defi
Available: cryptotop10, cryptodefi, cryptolayer2, stockstech, etfs_major
Output
The scanner produces a summary table with symbol, signal type, confidence %, price, and stop loss for each asset scanned. Detailed mode adds per-indicator breakdowns with risk management levels (stop loss, take profit, risk/reward ratio).
Signal types: STRONGBUY (+2), BUY (+1), NEUTRAL (0), SELL (-1), STRONGSELL (-2)
Confidence ranges: 70-100% high conviction | 50-70% moderate | 30-50% weak | 0-30% avoid
See ${CLAUDESKILLDIR}/references/implementation.md for full output format examples and signal type tables.
Error Handling
| Error |
Cause |
Fix |
| No data for symbol |
Invalid ticker or delisted |
Verify symbol exists on Yahoo Finance |
| Insufficient data |
Period too short for indicators |
Use --period 6m minimum |
| Rate limit exceeded |
To
How It Works
Generate Signal Command
/generate-signal
Or use the shortcut:
/signal
Example Queries
/signal Generate signal for BTC/USDT
/signal Give me scalping signals for SOL 15-minute chart
/signal Should I long or short ETH right now?
/signal What's the swing trade setup for LINK?
/signal Analyze XRP and give me entry and exit points
/signal Compare signals: BTC vs ETH vs SOL
Ready to use crypto-signal-generator?
|