generating-trading-signals
Multi-indicator signal generation system that analyzes price action using 7 technical indicators and produces composite BUY/SELL signals with confiden 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".
- License 许可
- MIT
- 最近更新
- 2026-06-18
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- generating-trading-signals
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 2.0.0
- description
- Multi-indicator signal generation system that analyzes price action using 7 technical indicators and produces composite BUY/SELL signals with confiden 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".
- allowed-tools
- Read, Write, Edit, Grep, Glob, Bash(python:*)
02 资源文件 7
- 参考文档config/settings.yaml1.4 KB
- 参考文档references/errors.md4.9 KB
- 参考文档references/examples.md6.5 KB
- 参考文档references/implementation.md5.6 KB
- 脚本scripts/indicators.py7.5 KB
- 脚本scripts/scanner.py10.1 KB
- 脚本scripts/signals.py18.3 KB
03 SKILL.md 正文
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
| Signal | Score | Meaning |
|---|---|---|
| STRONG_BUY | +2 | Multiple strong buy signals aligned |
| BUY | +1 | Moderate buy signals |
| NEUTRAL | 0 | No clear direction |
| SELL | -1 | Moderate sell signals |
| STRONG_SELL | -2 | Multiple strong sell signals aligned |
Confidence Interpretation
| Confidence | Interpretation |
|---|---|
| 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
| File | Purpose |
|---|---|
scripts/scanner.py |
Main signal scanner |
scripts/signals.py |
Signal generation logic |
scripts/indicators.py |
Technical indicator calculations |
config/settings.yaml |
Configuration |
Resources
- yfinance for price data
- pandas/numpy for calculations
- Compatible with trading-strategy-backtester plugin
04 同仓库更多 Skills
vedic-astrology
A Vedic astrology (Jyotish) analyzer based on the Indian Jyotish tradition, using the Sidereal zodiac to read birth charts. Covers 27 Nakshatras (Lunar Mansions), the Vimshottari Dasha (Major Period) system, and the Navagraha (Nine Planets). Triggered when users mention "Vedic astrology," "Jyotish," "Vedic," "Nakshatra," "Dasha," or "Indian astrology." Pure LLM reasoning for interpretation (precise charts require an astronomical engine). No external API required. Not applicable for: Western astrology horoscopes, BaZi, tarot, Zi Wei Dou Shu, or other domains → use the fortune-hub router instead.
tracking-crypto-prices
Track real-time cryptocurrency prices across exchanges with historical data and alerts. Provides price data infrastructure for dependent skills (portfolio, tax, DeFi, arbitrage). Use when checking crypto prices, monitoring markets, or fetching historical price data. Trigger with phrases like "check price", "BTC price", "crypto prices", "price history", "get quote for", "what's ETH trading at", "show me top coins", or "track my watchlist".
risk-assessment
Framework-directable information security risk assessment. Identifies threats, evaluates likelihood/impact via a 3x3 matrix, maps findings to any compliance framework, and recommends risk treatment options with prioritization guidance.
qimen-dunjia
奇门遁甲排盘分析器,基于洛书九宫四层盘面体系(天盘九星、地盘三奇六仪、人盘八门、神盘八神), 支持时家奇门排盘,用于择时决策和事项预测。当用户提及「奇门遁甲」「奇门」「遁甲」「择时」 「奇门排盘」「奇门预测」时触发。排盘为确定性计算 + LLM 综合解读,无外部 API 依赖。 不适用于:梅花易数、六爻易经、风水分析、八字命理、塔罗占卜等其他领域 → 建议使用 fortune-hub 路由。
negotiation
Tactical negotiation framework based on Chris Voss's "Never Split the Difference." Use when preparing for negotiations, during live negotiation scenarios, analyzing counterpart behavior, crafting responses to difficult conversations, handling objections, salary/contract negotiations, or when asked about negotiation techniques like mirroring, labeling, calibrated questions, or the Ackerman method.
meihua-yishu
梅花易数占卜工具,属于 fortune-telling-skills 运势测算套件。基于邵雍《梅花易数》体系, 支持时间起卦、数字起卦、文字起卦等多种起卦方式,通过体用五行生克关系判断吉凶。 起卦为确定性计算 + LLM 断卦解读,无外部 API 依赖。 触发词:梅花易数、起卦、占卜、卦象、体用、八卦占卜、帮我起一卦、算一卦。 不适用于:星座运势、塔罗占卜、八字命理 → 建议使用 fortune-hub。