Trading Signals

Data & APIs

Generate trading signals for stocks, indices, crypto, and commodities using TradingView data. Use when user asks for trading signals, technical analysis, buy/sell recommendations, market indicators (RSI, MACD, SMA), or automated market monitoring. Supports real-time data from TradingView and CoinGecko.

Install

openclaw skills install aiescher-trading-signals

Trading Signals

Generate technical trading signals using TradingView real-time data.

Capabilities

  • Technical Indicators: RSI, SMA (20/50), MACD, Bollinger Bands
  • Signal Generation: Buy/Sell signals based on indicator combinations
  • Asset Coverage: Indices, stocks, crypto, commodities, forex
  • Timeframes: 15m, 60m, 240m, 1D
  • Alerting: Email notifications for strong signals

Quick Start

# Analyze default assets
node scripts/analyze.js

# Analyze specific asset
node scripts/analyze.js --symbol BINANCE:BTCUSDT --name Bitcoin

# Continuous monitoring (15min intervals)
node scripts/monitor.js --interval 15

Signal Types

SignalIndicatorStrength
🟢 BUYRSI < 30 (oversold)Strong
🟢 BUYGolden Cross (SMA20 > SMA50)Medium
🟢 BUYPrice near SMA20 bounceWeak
🔴 SELLRSI > 70 (overbought)Strong
🔴 SELLDeath Cross (SMA20 < SMA50)Medium
🔴 SELLPrice below SMA20 resistanceWeak

Configuration

Edit references/assets.json to customize monitored assets:

{
  "assets": [
    { "symbol": "XETR:DAX", "name": "DAX", "category": "Index", "timeframe": "60" },
    { "symbol": "BINANCE:BTCUSDT", "name": "Bitcoin", "category": "Crypto", "timeframe": "60" }
  ],
  "alerts": {
    "email": "ai.escher.bot@gmail.com",
    "minStrength": "medium",
    "rsiThresholds": { "oversold": 30, "overbought": 70 }
  }
}

Scripts

  • scripts/analyze.js - Single analysis run
  • scripts/monitor.js - Continuous monitoring with alerts
  • scripts/lib/tradingview.js - TradingView API wrapper
  • scripts/lib/indicators.js - Technical indicator calculations
  • scripts/lib/email.js - Email alert sender

Dependencies

  • @mathieuc/tradingview - TradingView WebSocket API
  • Node.js built-in https for CoinGecko API