detect_signals
Detect classic technical-analysis signals on a ticker's price history. Each requested signal is evaluated and reported as triggered/not-triggered with a date and human-readable detail under signal_summary. Signals (omit signals to check all six): golden_cross = SMA(50) crosses above SMA(200) within lookback; death_cross = SMA(50) crosses below SMA(200); macd_cross = MACD line crosses above its signal line (bullish); rsi_oversold = RSI(14) below 30 at the latest bar; rsi_overbought = RSI(14) above 70 at the latest bar; breakout = latest close exceeds the highest high of the prior 20 bars. A signal needing more history than is available is returned not-triggered with an insufficient-history detail and a warning — it never fails the call. (paid: $0.0050/call)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | ||
| ticker | Yes | ||
| signals | No | ||
| interval | No | ||
| lookback | No |