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

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

Fetches raw OHLCV candle data from the currently active TradingView chart via MCP's `get_chart_data` tool. The function requests a configurable number of daily bars (default 365) and returns a normalized dictionary with `open`, `high`, `low`, and `close` arrays ready for downstream indicator functions.

Because it reads directly from the active chart window rather than a REST API, the data exactly matches what the trader sees — including any broker-adjusted prices or exchange-specific tick data. This eliminates discrepancies between external data feeds and the chart being analyzed.

[ USAGE EXAMPLE ]
example.py
data = read_chart_data(client, bars=365)
# data = {"open": [...], "high": [...], "low": [...], "close": [...]}
rsi = calc_rsi(data["close"])
[ FULL CODE ]
mcp_read_chart_data.py
def read_chart_data(client, bars=365): result = client.call("get_chart_data", {"bars": bars, "timeframe": "1D"}) return {"open": result["o"], "high": result["h"], "low": result["l"], "close": result["c"]}
[ METADATA ]
CategoryMCP Integration
ComplexityIntermediate
LanguagePython 3.10+
TagsMCP, Data
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]