★ ★ ★LIVE97 COINS ANALYZED BY CLAUDE MCP·VIEW SKILLS →★ ★ ★
MCP
claude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updatedclaude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updated
BACK TO CLAUDE SKILLS

scan_macd_crossover

Market ScannerScannerMACD
INSTALLATION
$python -c "exec(open('scan_macd_crossover.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]

Detects coins where the MACD line crossed above (bullish) or below (bearish) the signal line on the most recent bar by comparing the current bar's relative position to the prior bar's. The direction parameter controls which cross type to scan for, making the function reusable for both long and short signal generation.

MACD crossovers are lagging signals — they confirm a momentum shift that has already occurred rather than predicting it. They are most reliable when the crossover happens near the zero line (indicating a trend shift rather than a short-term oscillation) and when the histogram has been steadily declining for several bars before the cross.

[ USAGE EXAMPLE ]
example.py
bull_crosses = scan_macd_cross(coin_list, direction="bullish")
# → ["ETH", "BNB"]  — MACD just crossed above signal line
[ FULL CODE ]
scan_macd_crossover.py
def scan_macd_cross(coins, direction="bullish"): hits = [] for c in coins: macd, sig = get_macd(c) cross = macd[-1]>sig[-1] and macd[-2]<sig[-2] if direction=="bullish" and cross: hits.append(c) return hits
[ METADATA ]
CategoryMarket Scanner
ComplexityIntermediate
LanguagePython 3.10+
TagsScanner, MACD
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]