★ ★ ★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

mcp_draw_sr_levels

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

Iterates over computed support and resistance price arrays and issues `draw_line` MCP calls for each level. Support lines are rendered in green (`#22C55E`) and resistance in red (`#EF4444`) using TradingView's native line tool, making levels immediately visible on the active chart.

Designed to run immediately after `detect_support_resistance` — the two functions are intentionally decoupled so computed levels can be stored or re-drawn independently. Each call clears previously drawn S/R lines from the same session to avoid visual clutter on repeated runs.

[ USAGE EXAMPLE ]
example.py
levels = detect_sr(highs, lows)
draw_sr_levels(client, levels["support"], levels["resistance"])
# → green lines at support, red dashed at resistance
[ FULL CODE ]
mcp_draw_sr_levels.py
def draw_sr_levels(client, support, resistance): for lvl in support: client.call("draw_line", {"price": lvl, "color": "#22C55E", "style": "solid"}) for lvl in resistance: client.call("draw_line", {"price": lvl, "color": "#EF4444", "style": "dashed"})
[ METADATA ]
CategoryMCP Integration
ComplexityIntermediate
LanguagePython 3.10+
TagsMCP, Drawing
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]