ia-pinescript
CLAWHUB · Unverified
Pine Script v6: syntax, performance, error diagnosis, backtesting, visualization. Use when writing or debugging `.pine` files or TradingView Pine indicators/strategies. Skill: ia-pinescript Owner: iliaal Summary: Pine Script v6: syntax, performance, error diagnosis, backtesting, visualization. Use when writing or debugging .pine files or TradingView Pine indicators/strategies. Tags: latest:5.0.1 Version history: v5.0.1 | 2026-10-03T17:06:10.165Z | user v5.0.1 v5.0.0 | 2026-09-26T23:17:03.299Z | user v5.0.0 v4.5.2 | 2026-09-08T01:49:06.462Z | user v4.5.2 v4.4.3 | 2026-08-29T12:30:02.
- 62
- Rank
- 84
- Safety
- 1.7k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 10, 2026
- Adoption signal
- 1.7K downloadsadoption · Oct 10, 2026
- Latest release
- 5.0.1release · Oct 3, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 5.0.1release
v5.0.1
Observed Oct 3, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17bcar8wq0xhegs0ny6f57ypd8484bw:compound-eng-pinescript- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-iliaal-compound-eng-pinescript/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
117,071 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: ia-pinescript class: language description: >- Pine Script v6: syntax, performance, error diagnosis, backtesting, visualization. Use when writing or debugging `.pine` files or TradingView Pine indicators/strategies. paths: "**/*.pine" --- # Pine Script Development **Verify before implementing**: For Pine Script version-specific syntax or new built-in functions, look up current official docs before writing code. Prefer Context7 (`query-docs`) when available. Otherwise use available web tools to read the [TradingView Pine Script docs](https://www.tradingview.com/pine-script-docs/) for the script's version. TradingView updates Pine Script frequently and training data may be stale. ## Critical Syntax Rules - Keep simple ternaries readable; multiline expressions require valid continuation indentation. For complex ternaries, use intermediate variables: ``` isBull = close > open barColor = isBull ? color.green : color.red ``` - **Continuation lines outside parentheses MUST be indented by a non-multiple of 4**: same indentation as the start errors, and 4/8/12 spaces parse as a local block and error too (2 spaces is the conventional choice). Inside parentheses (function calls, parenthesized expressions) any indentation works, including multiples of 4 - **NEVER use plot() inside local scopes** (if/for/functions); use conditional value instead: `plot(condition ? value : na)` - Use `barstate.isconfirmed` when signals require the chart bar's closing values. It does not establish that requested higher-timeframe values are confirmed; inspect `request.security()` offsets and lookahead separately. ## Platform Limits Check the current [platform limits](https://www.tradingview.com/pine-script-docs/writing/limitations/) before sizing a script: 64 plot counts (one call can consume several); up to 500 line, box, or label IDs each and 100 polyline IDs; 40 unique `request.*()` calls, or 64 on Ultimate; 100,000 compiled tokens. History buffers, requested intrabars, and chart history have distinct limits; there is no general 500-bar `request.security()` history limit. - Drawings positioned with `xloc.bar_index` reach at most 9,999 bars into the past and 500 into the future; for anything older, switch the drawing to `xloc.bar_time` and pass a timestamp (a time value without `xloc.bar_time` is treated as a future bar index and errors) - Set the relevant `max_*_count` declaration parameter and cap growth with a rolling buffer: push each object, then `line.delete(arr.shift())` after the intended line count is exceeded. The default display count is approximately 50 per drawing type. ## Performance - **Tuple security calls**: one `request.security()` returning `[close, high, low]` instead of 3 separate calls - Pre-allocate arrays with `array.new<type>(size)` instead of push-and-resize - Short-circuit signals: build conditions incrementally, exit early when first condition fails - Cache repeated calculations in variables; Pine recalculates every b
_meta.json
{
"ownerId": "kn715jrbbh71q9zncr0bqdkr8n848q1a",
"slug": "compound-eng-pinescript",
"version": "5.0.1",
"publishedAt": 1791047170165
}references/evidence/findings-log.md
# ia-pinescript findings log
Persistent iteration evidence for ia-pinescript. See the `/diagnose-negatives` workflow Step 3 for the schema.
## EX-001: Misfire on TradingView MCP server (JS) audit
- Label: negative
- Kind: wrong_trigger
- Origin: human-verified (diagnose-negatives reviewer accepted)
- Source: 2 of 2 negative sessions in distillery/.eval-data/ia-pinescript/sessions.jsonl (2026-04-27 harvest)
- Status: resolved
- Expected behavior: skill should not inject when the user is auditing a JavaScript MCP server that connects to the TradingView API but contains zero `.pine` files
- Observed behavior: skill injected because regex `tradingview|...` matched bare "tradingview" in the prompt; agent then loaded ia-simplifying-code and ia-code-review (correct skills), wasting the injection
- Skill delta:
- `plugins/whetstone/hooks/skill-patterns.sh:65`: tightened regex so bare `tradingview` no longer matches; required Pine-context qualifier within 30 chars (`tradingview.{0,30}(pine|indicator|strategy|chart|script)`); added symmetric `\bstrategy\b.{0,20}(pine|trading.?view)` clause
- `plugins/whetstone/skills/ia-pinescript/SKILL.md:4-7`: rewrote description to scope triggers to `.pine` files or TradingView Pine indicators/strategies (drops standalone "TradingView", "indicators", "strategies", "backtesting" as triggers)
- `distillery/tests/fixtures/triggers/ia-pinescript.jsonl`: added two negative-case fixtures from the actual misfire prompts
- Anonymization: redacted nothing; both prompts were generic infrastructure audits with no sensitive contentskill-card.md
## Description: Guides developers in writing and debugging Pine Script v6 indicators and strategies, including performance, backtesting, and visualization. This skill is ready for commercial/non-commercial use. ## Publisher: [iliaal](https://clawhub.ai/user/iliaal) ### License/Terms of Use: MIT-0 ## Use Case: Developers use this skill to write, debug, and evaluate TradingView Pine Script v6 indicators and strategies. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Pine Script syntax or platform limits may change. Mitigation: Check current TradingView documentation and compile scripts before use. Risk: Backtests may overstate the reliability of trading signals. Mitigation: Use walk-forward validation and test across symbols and timeframes before trusting results. ## Reference(s): - [TradingView Pine Script documentation](https://www.tradingview.com/pine-script-docs/) - [TradingView Pine Script limitations](https://www.tradingview.com/pine-script-docs/writing/limitations/) - [TradingView Pine Script debugging](https://www.tradingview.com/pine-script-docs/writing/debugging/) - [TradingView Pine Script operators and history references](https://www.tradingview.com/pine-script-docs/language/operators/) ## Skill Output: **Output Type(s):** [Code, Guidance] **Output Format:** [Markdown with Pine Script code blocks] **Output Parameters:** [1D] **Other Properties Related to Output:** [No code execution or persistent changes evidenced.] ## Skill Version(s): 5.0.1 (source: ClawHub release metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
SPEC.md
# ia-pinescript Specification ## Intent `ia-pinescript` is a `language`-class skill (stack-specific patterns and idioms). Pine Script v6 patterns: syntax, performance, error diagnosis, backtesting, visualization. Use when working with PineScript, TradingView, indicators, strategies, or backtesting. ## Scope In scope: - Behaviors described in `SKILL.md` and routed via the should_trigger phrasings in `distillery/tests/fixtures/triggers/ia-pinescript.jsonl`. - Updates to runtime behavior, structure, trigger precision, references, and validation. Out of scope: - Acting as the runtime instructions themselves (those live in `SKILL.md`). - Trigger phrasings already covered by adjacent `ia-*` skills (`validate-plugin` flags >70% description overlap as DUPLICATE_TRIGGER). - <!-- to fill in: domain-specific exclusions when the skill drifts --> ## Trigger Context - Class: `language` - Hook regex: `plugins/whetstone/hooks/skill-patterns.sh` -> `SKILL_PATTERNS[ia-pinescript]` - Common requests (from fixture should_trigger): - "write a pine script indicator for RSI divergence" - "fix the TradingView strategy backtest results" - "write a Pine Script v6 indicator for ATR-based stops" - Should not trigger for (from fixture should_not_trigger): - "set up a PostgreSQL replication cluster" - "write unit tests for the checkout service" - "write a Python pandas script to backtest" ## Source And Evidence Model Authoritative sources: - `SKILL.md`: runtime instructions and reference routing. - `references/*.md`: bundled supplementary content (0 file(s)). - `distillery/tests/fixtures/triggers/ia-pinescript.jsonl`: positive and negative trigger phrasings under regression test. - `plugins/whetstone/hooks/skill-patterns.sh`: regex pattern that fires this skill. - `distillery/.eval-data/ia-pinescript/`: harvested session examples (when present). Data that must not be stored in this skill or its references: - Secrets, credentials, tokens. - Machine-specific filesystem paths (`/home/...`, `/Users/...`, `~/ai/...`). The validator (`MACHINE_PATH_LEAK`) flags these as HIGH. - Private URLs, customer data, or unredacted personal information. ### Coverage matrix | Dimension | Status | Evidence | |---|---|---| | Trigger fixtures | complete | distillery/tests/fixtures/triggers/ia-pinescript.jsonl (>=5 should_trigger, >=5 should_not_trigger) | | Hook regex pattern | complete | plugins/whetstone/hooks/skill-patterns.sh (`SKILL_PATTERNS[ia-pinescript]`) | | Reference architecture | n/a | no references; SKILL.md is self-contained | | Real-usage signal | <!-- populated by harvest-sessions when sessions exist --> | distillery/.eval-data/ia-pinescript/ (created by harvest-sessions) | ## Evaluation Lightweight (run on every change): ```bash python3 distillery/scripts/distiller.py validate-plugin --component ia-pinescript python3 distillery/scripts/distiller.py test-triggers --skill ia-pinescript ``` Deeper (when behavior risk warrants): ```bash python3 distillery
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-iliaal-compound-eng-pinescript. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about ia-pinescript. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-iliaal-compound-eng-pinescript, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/iliaal/skills/compound-eng-pinescript",
"sourceUrl": "https://clawhub.ai/iliaal/skills/compound-eng-pinescript",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T03:38:09.969Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-iliaal-compound-eng-pinescript/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-iliaal-compound-eng-pinescript/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T03:38:09.969Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.7K downloads",
"href": "https://clawhub.ai/iliaal/compound-eng-pinescript",
"sourceUrl": "https://clawhub.ai/iliaal/compound-eng-pinescript",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T03:38:09.969Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "5.0.1",
"href": "https://clawhub.ai/iliaal/compound-eng-pinescript",
"sourceUrl": "https://clawhub.ai/iliaal/compound-eng-pinescript",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-10-03T17:06:10.165Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-iliaal-compound-eng-pinescript/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-iliaal-compound-eng-pinescript/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 5.0.1",
"description": "v5.0.1",
"href": "https://clawhub.ai/iliaal/compound-eng-pinescript",
"sourceUrl": "https://clawhub.ai/iliaal/compound-eng-pinescript",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-10-03T17:06:10.165Z",
"isPublic": true
}
]
}Record generated Nov 23, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-iliaal-compound-eng-pinescript/run-check
