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

sr_indicator_pine

Pine ScriptPineS&R
INSTALLATION
$python -c "exec(open('sr_indicator_pine.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]

A Pine Script v5 indicator that automatically draws support and resistance lines using TradingView's native `ta.pivothigh` and `ta.pivotlow` functions. The lookback period `n` is exposed as an input, allowing the trader to adjust sensitivity without editing the code. Lines are drawn with color-coded styling: red for resistance, green for support.

Once published to your TradingView account, this indicator runs natively in the browser and updates automatically as new bars form — no Python session required. The lines are persistent objects that appear on the chart alongside any other indicators, making it an ideal companion to the Claude MCP analysis pipeline for visual confirmation.

[ USAGE EXAMPLE ]
example.py
// Paste into TradingView Pine Editor > Add to Chart
// Indicator auto-draws S/R on every new bar
// Adjust "Pivot Lookback" input to control sensitivity
[ FULL CODE ]
sr_indicator_pine.py
// @version=5 indicator("Claude S&R Levels", overlay=true) n = input(10, "Pivot Lookback") ph = ta.pivothigh(high, n, n) pl = ta.pivotlow(low, n, n) if not na(ph) line.new(bar_index[n], ph, bar_index, ph, color.red) if not na(pl) line.new(bar_index[n], pl, bar_index, pl, color.green)
[ METADATA ]
CategoryPine Script
ComplexityAdvanced
LanguagePython 3.10+
TagsPine, S&R
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]