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

generate_pine_from_claude

Pine ScriptPineClaude API
INSTALLATION
$python -c "exec(open('generate_pine_from_claude.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]

Calls the Anthropic API with a natural language description of a desired indicator and returns the generated Pine Script v5 code as a string. The prompt format instructs Claude to produce syntactically complete, directly pasteable Pine Script code — no placeholder comments or partial implementations.

This function dramatically accelerates custom indicator development: describing complex multi-condition signals in plain language produces working code in seconds rather than hours. For best results, describe the indicator in terms of its mathematical components (e.g. "20-period RSI crossover 30 with volume above 2× average") rather than its intended meaning ("show me reversal signals").

[ USAGE EXAMPLE ]
example.py
code = generate_pine(
    "RSI(14) below 30 crossing back above with volume spike"
)
print(code)  # Complete Pine Script v5 ready to paste
[ FULL CODE ]
generate_pine_from_claude.py
import anthropic def generate_pine(description: str): client = anthropic.Anthropic() msg = client.messages.create(model="claude-sonnet-4-5", max_tokens=1024, messages=[{"role":"user", "content": f"Write Pine Script v5: {description}"}]) return msg.content[0].text
[ METADATA ]
CategoryPine Script
ComplexityAdvanced
LanguagePython 3.10+
TagsPine, Claude API
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]