---
title: "pinescript-plugin"
description: "TradingView Pine Script v6 for coding agents, backed by a real validator rather than prose. A language skill plus an MCP server that validates Pine and returns real signatures from the official 457-function reference, in"
canonical: https://agentpluginsdirectory.com/plugins/pinescript-plugin
last-updated: 2026-09-22
---

# pinescript-plugin
TradingView Pine Script v6 for coding agents, backed by a real validator rather than prose. A language skill plus an MCP server that validates Pine and returns real signatures from the official 457-function reference, including the overloads models routinely get wrong, and a hook that checks every.pine file the agent edits.
- Slug: pinescript-plugin
- Publisher: Jaroslav Pantsjoha
- Repository: https://github.com/jpantsjoha/pinescript-plugin
- Manifest: plugin.json
- Version: 0.4.3
- License: MIT
- Category (editorial): code-review
- Skills: 4 (pinescript-indicator, pinescript-strategy, pinescript-v6, pinescript-validation)
- MCP servers: 1 (pinescript)
- Stars: 2
- Repository created: 2026-08-07
- Repository last pushed: 2026-08-08
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/pinescript-plugin
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What pinescript-plugin does, in the publisher's words

> Your agent writes Pine Script it cannot check. This gives it a checker.

> Eight of these checks catch code that compiles perfectly and still loses money.

Every AI Pine Script tool on the market ships advice. None of them can verify a single line they produce. That gap is the whole reason this exists.

- Parameter names are not guessable. label.new takes textalign. box.new takes text_halign. Nothing about either implies the other.
- Several functions have two valid call forms. line.new, label.new and box.new each accept a chart.point or independent coordinates. A model that has seen one will insist the other is wrong.
- The language moves quarterly, in both directions. TradingView added request.footprint() and multiline strings, then removed the wrapped-line indentation rules in December 2025. Training data goes stale coming and going.

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/jpantsjoha/pinescript-plugin/HEAD/README.md

## Skills

- pinescript-indicator: Generate working TradingView Pine Script v6 indicators, plotting, drawing objects, tables, alerts, inputs and the plot/object limits that break scripts at scale. Provides validated scaffolds to start from rather than composing from memory. Use when asked to write, create or build an indicator, stu…
- pinescript-strategy: Write TradingView Pine Script v6 strategies that behave the same live as in backtest, entries, exits, position sizing, commission and slippage, and the repainting and lookahead traps that make a backtest lie. Includes validated scaffolds and webhook alert payloads for broker automation. Use when a…
- pinescript-v6: Write and debug TradingView Pine Script v6 correctly. Covers the execution model, the v6 type system, overloaded drawing constructors, anti-repainting with request.security, and the API TradingView shipped through 2026. Validate every script before claiming it works. Use when the user mentions: pin…
- pinescript-validation: Diagnose and fix Pine Script v6 errors deterministically, read each validator diagnostic, apply the known fix, re-validate. Covers every diagnostic class the validator emits, what it cannot see, and how to work through an existing codebase of broken.pine files. Use when a Pine script fails to com…

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.

## MCP servers

- pinescript: transport: stdio; command: node ./mcp/server.js

Read from the plugin's own mcp.json. Environment variable names only, never values.
