Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pinescript

Skill by iliaal

Pinescript is an agent skill with Pine Script v6 patterns for TradingView. It helps an assistant write, debug, backtest and publish indicators and strategies.

  • Score 50
  • 37 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pinescript

Built from the published package, never by AI.

git clone --depth 1 https://github.com/iliaal/whetstone /tmp/whetstone && mkdir -p ~/.claude/skills && cp -r /tmp/whetstone/distillery/generated-skills/pinescript ~/.claude/skills/pinescript

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pinescript in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The pinescript skill gives an AI assistant a set of Pine Script v6 patterns for TradingView. It covers critical syntax rules, such as keeping ternary operators on one line and avoiding plot() inside local scopes. It also lists platform limits, performance tips, debugging methods that work without a console, and publishing guidance including TradingView House Rules.

It adds notes on strategy backtesting, including walk-forward validation and drawdown tracking, plus visualization and anti-patterns such as indicator stacking and overfitting. Its debugging advice covers label and table monitors, a debug mode toggle, and a repainting detector. The skill is aimed at developers who write, create, or fix Pine Script indicators and strategies on TradingView.

Written from the project's SKILL.md and checked against it.

What it can do

  • Syntax rulesCovers ternary line breaks, continuation indentation, and plot() placement in local scopes.
  • PerformanceSuggests tuple security calls, pre-allocated arrays, and caching repeated calculations.
  • DebuggingShows label, table monitor, debug toggle, and repainting detector patterns.
  • Strategy and backtestingCovers drawdown tracking, Sharpe calculation, and walk-forward validation.
  • VisualizationCovers gradient trend coloring, adaptive text sizing, and dynamic table rows.
  • PublishingExplains documentation tags, tooltips, and TradingView House Rules.
  • Anti-patternsWarns against indicator stacking, divergence without structure, and overfitting.

What you need

  • TradingView, where Pine Script runs

Try asking

  • Write a Pine Script indicator that colors bars by trend direction
  • Build a Pine Script strategy with drawdown tracking and walk-forward checks
  • Fix this Pine Script code that gives an end of line error

Good to know

  • Platform limits include 500 bars for request.security, 500 plot calls, and 64 drawing objects
  • Limits also include 40 request.security calls and a 100KB compiled size
  • TradingView has no console or debugger, so debugging relies on labels and tables

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: distillery/generated-skills/pinescript/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to pinescript

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

pinescript: common questions

What Pine Script version does this skill cover?

The skill is titled Pine Script v6 patterns and covers syntax, performance, debugging, backtesting and visualization.

How does the skill help with debugging Pine Script?

Because TradingView has no console or debugger, it suggests label debugging, a table monitor, a debug mode toggle, and a repainting detector.

Does the skill cover publishing rules?

Yes, it covers documentation tags, multi-line tooltips, and TradingView House Rules such as no financial advice and no obfuscated code.

How do I install pinescript?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pinescript free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is pinescript safe to use?

It scores 50 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to pinescript?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

pinescript Install

Add to stack

Loading.