pinescript

Provide Pine Script v6 guidance for indicators, strategies, and libraries. Apply non-repainting and performance best practices. Support generating Pine Script via other languages (TypeScript, Python, etc.) by keeping generated output compliant with v6 guidance. Run linting with the bundled script wrapper around pinescript-lint .

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pinescript" with this command: npx skills add ajoslin/dot/ajoslin-dot-pinescript

Pine Script

Overview

Provide Pine Script v6 guidance for indicators, strategies, and libraries. Apply non-repainting and performance best practices. Support generating Pine Script via other languages (TypeScript, Python, etc.) by keeping generated output compliant with v6 guidance. Run linting with the bundled script wrapper around pinescript-lint .

Workflow

  • Determine script type and version

  • Add //@version=6 and choose indicator() , strategy() , or library() .

  • Apply execution model and repainting safeguards

  • Use barstate.isconfirmed , historical offsets, and request.security() lookahead guidance.

  • Optimize performance and state

  • Prefer var /varip for state, limit loops, precompute constants, avoid redundant security calls.

  • Generate Pine Script from other languages when needed

  • Emit Pine Script v6-compliant output and validate by inspection or TradingView editor diagnostics.

  • Lint before delivery (manual Pine Script only)

  • Run node scripts/pinescript_lint.mjs <path> to check formatting and basic issues.

References

  • Pine Script v6 concepts and best practices: references/pinescript_v6.md

  • Linting workflow and linter configuration: references/linting.md

Scripts

  • Lint Pine Script files: scripts/pinescript_lint.mjs

  • Lint script tests: scripts/pinescript_lint.test.mjs

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

tracer-dev

No summary provided by upstream source.

Repository SourceNeeds Review
General

session-export

No summary provided by upstream source.

Repository SourceNeeds Review
General

find-skills

No summary provided by upstream source.

Repository SourceNeeds Review
General

skill-creator

No summary provided by upstream source.

Repository SourceNeeds Review