start
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWelcome to Pine Script Development Assistant
欢迎使用Pine Script开发助手
I'll help you build professional TradingView indicators and strategies. Let me ask a few questions to understand what you need.
我将帮助你构建专业的TradingView指标和策略。请让我问几个问题来了解你的需求。
Getting Started
开始使用
Use the AskUserQuestion tool to gather:
-
What would you like to create?
- Indicator (displays information on charts)
- Strategy (tests and executes trading rules)
-
Describe your trading idea in plain language
- What signals are you looking for?
- What indicators or calculations should it use?
- How should it appear on the chart?
-
What's your experience level?
- Beginner (I'll explain everything in simple terms)
- Intermediate (some Pine Script knowledge)
- Advanced (skip basic explanations)
使用AskUserQuestion工具收集以下信息:
-
你想要创建什么?
- 指标(在图表上显示信息)
- 策略(测试并执行交易规则)
-
用通俗易懂的语言描述你的交易思路
- 你关注哪些信号?
- 应该使用哪些指标或计算方式?
- 它在图表上应如何呈现?
-
你的经验水平如何?
- 初学者(我会用简单的语言解释所有内容)
- 中级(具备一定Pine Script知识)
- 高级(跳过基础解释)
After Gathering Information
收集信息后
Based on the user's answers:
- For beginners: Use the beginner-helper agent to explain concepts
- For all levels: Create a clear implementation plan
- Suggest relevant templates from directory
templates/ - Create the file in
projects/[descriptive-name].pine
根据用户的回答:
- 针对初学者:使用beginner-helper agent讲解概念
- 针对所有水平用户:制定清晰的实施计划
- 推荐相关模板:来自目录
templates/ - 创建文件:保存至
projects/[descriptive-name].pine
Quick Examples
快速示例
If the user isn't sure what to build, suggest these:
- Simple Moving Average Crossover - Buy when fast MA crosses above slow MA
- RSI Overbought/Oversold - Signals when RSI hits extreme levels
- Support/Resistance Levels - Automatically draw key price levels
- Volume Spike Detector - Alert when volume is unusually high
如果用户不确定要构建什么,推荐以下示例:
- 简单移动平均线交叉策略 - 当快速均线上穿慢速均线时买入
- RSI超买/超卖指标 - 当RSI达到极端水平时发出信号
- 支撑/阻力位指标 - 自动绘制关键价格水平
- 成交量突增检测器 - 当成交量异常高时发出警报
Next Steps
后续步骤
After understanding the user's needs:
- If simple: Go directly to implementation
- If complex: Use to orchestrate the project
/pinescript:pine-manager - Always save work to directory
projects/
了解用户需求后:
- 如果需求简单:直接进入实施阶段
- 如果需求复杂:使用协调项目
/pinescript:pine-manager - 始终将工作保存至目录
projects/