create
Quick wizard to create a new Pine Script from a description. Just describe what you want and get working code.
How do I install this agent skill?
npx skills add https://github.com/traderspost/pinescript-agents --skill createIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a template wizard for generating Pine Script files based on user descriptions. It provides structured guidance, templates, and a quality checklist for creating trading indicators and strategies. No security risks were identified.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
Quick Pine Script Creation
Creating new Pine Script from your description: $ARGUMENTS
Implementation Steps
-
Analyze the request to determine:
- Type: Indicator or Strategy?
- Complexity: Simple, Medium, or Complex?
- Key components needed
-
Check for relevant templates in:
templates/indicators/- For indicator patternstemplates/strategies/- For strategy patternstemplates/utilities/- For helper functions
-
Create the file at
projects/[descriptive-name].pine -
Implement with best practices:
//@version=6declaration//@strategy_alert_messagefor strategies (after thestrategy()call)- Proper input groups and tooltips
- NA value handling
- No repainting issues
-
Add basic debugging if helpful
Quick Implementation Patterns
For Indicators:
//@version=6
indicator("Title", overlay=true)
// Implementation
For Strategies:
//@version=6
strategy("Title", overlay=true)
//@strategy_alert_message {{strategy.order.alert_message}}
// Implementation
Quality Checklist
Before delivering:
- Compiles without errors
- Handles NA values
- Uses cached loop boundaries
- Ternary operators on single lines
- Inputs have tooltips
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/traderspost/pinescript-agents/create">View create on skillZs</a>