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

calculate_pivot_points

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

Computes the classic floor trader pivot point (PP) from the prior period's high, low, and close, then derives R1, R2 (resistance) and S1, S2 (support) algebraically. All values are rounded to 2 decimal places and returned as a dictionary keyed by level label for direct use in drawing or alert functions.

Pivot points are recalculated daily using the previous day's OHLC, making them forward-looking price references rather than trailing indicators. They are widely watched by institutional participants which makes them self-fulfilling at high-volume markets like BTC/USDT — pass the results to `mcp_draw_sr_levels` to render them on chart.

[ USAGE EXAMPLE ]
example.py
pp = pivot_points(high=105, low=92, close=100)
# → {"PP": 99.0, "R1": 106.0, "R2": 113.0, "S1": 93.0, "S2": 87.0}
[ FULL CODE ]
calculate_pivot_points.py
def pivot_points(high, low, close): pp = (high + low + close) / 3 return {"PP": round(pp, 2), "R1": round(2*pp-low, 2), "R2": round(pp+high-low, 2), "S1": round(2*pp-high, 2), "S2": round(pp-high+low, 2)}
[ METADATA ]
CategoryChart Analysis
ComplexityBeginner
LanguagePython 3.10+
TagsPivots, S&R
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]