一键导入
pine-develop
Full Pine Script development loop — write code, compile, fix errors, iterate. Use when building a new indicator or strategy in TradingView.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Full Pine Script development loop — write code, compile, fix errors, iterate. Use when building a new indicator or strategy in TradingView.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Analyze a chart — set up symbol/timeframe, add indicators, scroll to key dates, annotate, and screenshot. Use when the user wants technical analysis or chart review.
Scan multiple symbols for setups, patterns, or strategy performance. Use when comparing across instruments or screening for opportunities.
Practice trading in TradingView replay mode — step through historical bars, take trades, track P&L. Use when the user wants to practice or backtest manually.
Generate a comprehensive strategy performance report — metrics, trade analysis, equity curve, and recommendations. Use after backtesting a Pine Script strategy.
基于 SOC 职业分类
| name | pine-develop |
| description | Full Pine Script development loop — write code, compile, fix errors, iterate. Use when building a new indicator or strategy in TradingView. |
You are developing a Pine Script indicator or strategy in TradingView. Follow this loop precisely.
If not already clear, ask the user:
If modifying an existing script:
node scripts/pine_pull.js
Then read scripts/current.pine to understand what's there.
If creating new: start from scratch.
Write the complete script to scripts/current.pine. Every script MUST include:
//@version=6 headerindicator() or strategy() declarationinput.*() functions and groupsFor strategies, include:
strategy.entry() and strategy.exit() callsstrategy() declarationnode scripts/pine_push.js
This injects the code into TradingView's Pine Editor, clicks compile, and reports any errors.
If errors are reported:
scripts/current.pine locally — fix the specific linesnode scripts/pine_push.jsCommon Pine Script errors:
After clean compilation:
capture_screenshot — take a screenshot to verify it looks rightdata_get_strategy_results — if it's a strategy, check performanceIf the user wants changes:
node scripts/pine_pull.js (in case TV modified anything)IMPORTANT: Always compile after every change. Never claim "done" without a clean compile.