Skip to content

teaceo-debug/DEEP6 / .claude/skills/tradingview-pinescript-builder-doctor

tradingview-pinescript-builder-doctor

Verified

patterns/alerts-and-webhooks.md

View on GitHub
# Alerts and Webhooks

Last verified: 2026-05-22

Use this file when the script must emit TradingView alerts, webhook JSON, or event markers for external systems.

## Preferred Patterns

- `alertcondition()` for named indicator conditions exposed in the alert dialog
- `alert()` for dynamic payloads and event-driven JSON
- explicit event names and stable field names in webhook payloads
- `alert.freq_once_per_bar_close` by default unless intrabar behavior is explicitly desired

## DEEP6 Reference

`C:\Users\Tea\DEEP6\scripts\po3_webhook_additions.pine` is the local model for:

- JSON string assembly in Pine
- safe `na` handling before serialization
- event-specific alert dispatch
- using Pine alerts as a bridge into DEEP6 backend services

## Build Checklist

- payload fields have stable names
- booleans and nullable values are serialized deliberately
- alert frequency matches the intended execution model
- webhook scripts expose enough context to debug failures downstream
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall