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 ]
[ FULL CODE ]
[ METADATA ]
CategoryMCP Integration
ComplexityIntermediate
LanguagePython 3.10+
TagsMCP, Drawing
[ ASK CLAUDE ]
Ask AI about this skill before installing it.