pinescript

Lint Pine Script v6 code and generate TradingView indicators from other languages.

24|7|Updated Oct 28, 2014
One-click install
npx skills add https://github.com/ajoslin/dot --skill pinescript
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pinescript
Source: https://github.com/ajoslin/dot/tree/main/config/opencode/skills/pinescript
Command: npx skills add https://github.com/ajoslin/dot --skill pinescript

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Pine Script developers often face the challenge of building and auditing v6 indicators, strategies, and libraries with consistent best practices, version management, and reliable linting.

Core Features & Use Cases

  • Pine Script v6 guidance for indicators, strategies, and libraries.
  • Non-repainting and performance best practices to improve reliability and efficiency.
  • Generate Pine Script from other languages (TypeScript, Python, etc.) while ensuring v6 compatibility and compliance.
  • Linting workflow using the bundled wrapper around pinescript-lint to validate formatting and basic issues.

Quick Start

Lint a Pine Script project using the bundled wrapper to validate v6 syntax and basic best practices.

Frequently Asked Questions about pinescript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Python trading script to Pine Script v6?▼

You can convert Python code to Pine Script v6 by translating the logic into TradingView indicators or strategies while ensuring v6 compatibility. The Skill applies a linting workflow to validate formatting and basic issues in the converted output.

What is the best way to lint Pine Script v6 for TradingView?▼

The best way to lint Pine Script v6 is using a bundled wrapper around pinescript-lint to validate formatting and basic syntax issues. This workflow checks your TradingView indicators and strategies against v6 best practices and compliance rules.

How do I stop my TradingView indicator from repainting?▼

To prevent your TradingView indicator from repainting, apply non-repainting best practices during Pine Script v6 development. This Skill provides reference materials and guidance to ensure your indicators and strategies calculate reliably without future data leakage.

Can I use this to build Pine Script libraries on TradingView?▼

Yes, you can use this Skill to build Pine Script libraries on TradingView. It provides v6 guidance specifically for developing indicators, strategies, and libraries, ensuring consistent best practices and version management across your codebase.

Does the linting workflow support Pine Script strategies and indicators?▼

Yes, the linting workflow supports Pine Script strategies, indicators, and libraries. The bundled wrapper validates v6 syntax and basic best practices across all supported TradingView script types to ensure reliable performance.