Your AI can fixany Pine script.Teach it how.
Paste your broken script. Say "fix this."Get back a working script — and the why.
★ proof, not promises · a real repair from the shipping demo
Paste broken. Say fix this. Get it back — with the why.
Demo pair 01 of 8, exactly as it ships in the box — every pair compiled on real TradingView before this product shipped.
Demo 01 — the classic: plot() inside an if
//@version=6
indicator("Demo 01 - MA Toggle (broken)", overlay = true)
bool showMa = input.bool(true, "Show MA")
int maLen = input.int(21, "MA Length", minval = 1)
float ma = ta.ema(close, maLen)
if showMa
plot(ma, "EMA", color = color.orange)//@version=6
indicator("Demo 01 - MA Toggle (fixed)", overlay = true)
bool showMa = input.bool(true, "Show MA")
int maLen = input.int(21, "MA Length", minval = 1)
float ma = ta.ema(close, maLen)
plot(ma, "EMA", color = showMa ? color.orange : na)…and the report that comes back with it
Never a silent edit — every repair must fill this report. The filled example for the pair above:
- VerdictFIXED (offline checks passed — compile on TV to confirm)
- Root cause`plot()` must run at global scope — toggle it through its arguments, not an `if`.
- Also in every reportWhat changed · why your logic is intact · verify-it-yourself steps · watch-outs.
What's inside the zip
- SKILL.mdThe repair loop — TRIAGE → DIAGNOSE → FIX → VERIFY → REPORT, six binding Fix Gates.
- error-encyclopedia.md45 failure classes keyed by the exact TradingView error text, every entry compiler-verified.
- silent-failures.md · repaint-clinic.md · v5-to-v6.mdThe compiles-clean-but-lies clinic · 3 repaint phenomena + a 2-minute test · the migration table the free converter can't apply.
- tools/pine-preflight.mjsOffline linter (Node 18+, zero deps) — catches structural mistakes before TV.
- demo/8 real broken→fixed pairs — all 16 files TV-compiled.
The honesty that ships in the box
Demos 07–08 stay honest: offline checks can't catch type-form errors or data-dependent crashes — only the real compiler can. So the Fix Gate ends at "compile on TradingView", and no fix is ever called TV-confirmed before you compile it.
Own Pine Fixer — $9.99 · every fix after that is freeCorrect is the floor, not the edge. Pine Fixer makes scripts compile, stop repainting, and stop lying — it does not, and nothing can, make a losing idea profitable. Offline checks can't catch everything: the final gate is always TradingView's compiler.
Which AI do I need?
Any of them. Claude Code gives the best experience (it runs the bundled linter itself); Claude.ai Projects, ChatGPT (attach the files or a Custom GPT), Cursor / Windsurf and Gemini all work — HOW_TO_USE.md has the exact setup for each.
Do I need a paid TradingView plan?
No. Fixed scripts compile on the free plan; only webhook alerts ever need a paid TradingView tier (their limit, not ours).
License & refund?
Personal, non-exclusive license — read, modify and extend the kit for yourself; don't resell or republish it. Stripe checkout, 7-day refund before download; broken files fixed or refunded anytime.
Own every line — and extend it forever.
The full source, the AI-agent kit and free updates for life — yours the moment you pay.
One price · full refund within 7 days · own the source forever
Get all three —
the Starter Stack
One zip, the complete AI-assisted Pine workflow: Prompt Vault to ask right, Builder Lite to write right, Pine Fixer to repair right — three full products, not a sampler.
Educational AI skill packs — not financial advice, not a signal service, and not code that trades. They teach the AI you already use to write, repair, prompt for, or read charts around TradingView Pine Script; scripts your AI produces with them are testable drafts — no win-rate, profit, or accuracy is claimed or implied, and correct code is not a profitable idea. TradingView and Pine Script are trademarks of TradingView, Inc.; these are independent educational products, not affiliated with TradingView. Trading involves risk; forward-test on a demo and manage your own risk. © 2026 ProEA Lab.