BACK TO CLAUDE SKILLS
◈
alert_script_pine
Pine ScriptPineAlerts
INSTALLATION
$python -c "exec(open('alert_script_pine.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]
A Pine Script v5 indicator that creates two `alertcondition` definitions — one for when price crosses a user-defined support level and one for a resistance level. Both levels are exposed as `input.float` parameters so they can be configured directly in TradingView's indicator settings panel without editing code.
Alert conditions defined via Pine Script integrate fully with TradingView's alert system: once the indicator is applied to a chart, you can create alerts from the Alerts dialog that fire via popup, email, or webhook. Webhook alerts can trigger downstream automation — for example, posting to a Telegram channel or calling a serverless function that updates the Supabase database.
[ USAGE EXAMPLE ]
[ FULL CODE ]
[ METADATA ]
CategoryPine Script
ComplexityAdvanced
LanguagePython 3.10+
TagsPine, Alerts
[ ASK CLAUDE ]
Ask AI about this skill before installing it.
[ RELATED SKILLS ]