teaceo-debug/DEEP6 / .claude/skills/tradingview-pinescript-error-doctor
tradingview-pinescript-error-doctor
Verified| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.2 KB |
| errors/common-compile-errors.md | markdown | 1.1 KB |
| errors/drawing-object-errors.md | markdown | 3.2 KB |
| errors/loop-and-scope-errors.md | markdown | 2.4 KB |
| errors/official-error-codes.md | markdown | 1.9 KB |
| errors/request-security-errors.md | markdown | 3.2 KB |
| errors/type-system-errors.md | markdown | 4.1 KB |
| knowledge.md | markdown | 6.3 KB |
| patterns/debug-instrumentation.md | markdown | 1.7 KB |
| patterns/quick-fixes.md | markdown | 2.1 KB |
| playbooks/alert-debugging.md | markdown | 4.3 KB |
| playbooks/expert-checklist.md | markdown | 993 B |
| playbooks/repainting-and-mtf.md | markdown | 1004 B |
| playbooks/repair-workflow.md | markdown | 588 B |
| playbooks/version-migration.md | markdown | 2.9 KB |
playbooks/repainting-and-mtf.md
View on GitHub# Repainting and MTF Playbook
Last verified: 2026-05-22
Use this file when the script compiles but behaves dishonestly or inconsistently across replay, realtime, or timeframe changes.
## Common Causes
- `request.security(..., lookahead=barmerge.lookahead_on)`
- using current higher-timeframe bar data as if confirmed
- signals firing intrabar without the user understanding the consequence
- `varip` state that has no historical equivalent
- drawings anchored to `bar_index` when they should be anchored to `time`
## First Repairs To Try
- default to `barmerge.lookahead_off`
- gate close-confirmed logic with `barstate.isconfirmed` when appropriate
- use previous confirmed HTF values where the strategy requires non-repainting behavior
- move candle-locked drawings to `xloc.bar_time`
## Verification
- compare chart state after replay stepping
- inspect labels/lines/boxes after timeframe changes
- for strategies, compare trade behavior with and without intrabar options consciously enabled
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |