重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
python-workspace by terrylica/cc-skills
npx skills add https://github.com/terrylica/cc-skills --skill python-workspace无缝将 MQL5 指标翻译为 Python,并具备自主验证和自我修正能力。
自我进化技能:此技能通过使用不断改进。如果指令错误、参数漂移或需要变通方案——请立即修复此文件,不要拖延。仅针对真实、可复现的问题进行更新。
当用户希望进行以下操作时,请使用此技能:
激活短语:"MQL5"、"MetaTrader"、"指标翻译"、"Python 验证"、"导出数据"、"mql5-crossover workspace"
主要主题:通过以下方式,使 MQL5-Python 翻译尽可能无缝:
项目根目录:~/Library/Application Support/CrossOver/Bottles/MetaTrader 5/drive_c
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
状态:生产环境 (已验证 0.999920 相关性)
功能:
命令示例:
CX_BOTTLE="MetaTrader 5" \
WINEPREFIX="$HOME/Library/Application Support/CrossOver/Bottles/MetaTrader 5" \
wine "C:\\Program Files\\Python312\\python.exe" \
"C:\\users\\crossover\\export_aligned.py" \
--symbol EURUSD --period M1 --bars 5000
使用场景:用户需要无需 GUI 交互的自动化市场数据导出
限制:无法访问自定义指标缓冲区(API 限制)
参考:/docs/guides/WINE_PYTHON_EXECUTION.md
详细信息请参阅:
| 问题 | 原因 | 解决方案 |
|---|---|---|
| 未找到 Wine Python | 未安装 CrossOver/Wine | 安装 CrossOver,验证 bottle 路径 |
| MT5 API 连接失败 | MetaTrader 未运行 | 运行导出前先启动 MetaTrader 5 |
| 相关性低于 0.999 | 指标不匹配 | 验证预热周期,检查计算对齐 |
| 自定义指标不工作 | API 限制 | 使用 MT5 的 CSV 导出,而非 Python API |
| UnicodeDecodeError | Windows 路径编码问题 | 在 Wine 中对 Windows 路径使用原始字符串 |
| 未找到品种 | 品种格式错误 | 使用确切的 MT5 品种名称(例如 EURUSD 而非 EUR/USD) |
| 导出超时 | 请求的 K 线数量过多 | 减少 K 线数量,默认 5000 是安全的 |
| 权限被拒绝 | Wine 前缀不正确 | 将 WINEPREFIX 设置为正确的 CrossOver bottle 路径 |
此技能完成后,请在关闭前检查:
仅在实际且可复现的问题上进行更新——而非推测性的问题。
每周安装次数
65
代码仓库
GitHub Stars
28
首次出现
2026年1月24日
安全审计
安装于
opencode61
gemini-cli60
claude-code59
codex59
github-copilot58
cursor58
Seamless MQL5 indicator translation to Python with autonomous validation and self-correction.
Self-Evolving Skill : This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Use this skill when the user wants to:
Activation Phrases : "MQL5", "MetaTrader", "indicator translation", "Python validation", "export data", "mql5-crossover workspace"
Main Theme : Make MQL5-Python translation as seamless as possible through:
Project Root : ~/Library/Application Support/CrossOver/Bottles/MetaTrader 5/drive_c
Status : PRODUCTION (0.999920 correlation validated)
What It Does :
Command Example :
CX_BOTTLE="MetaTrader 5" \
WINEPREFIX="$HOME/Library/Application Support/CrossOver/Bottles/MetaTrader 5" \
wine "C:\\Program Files\\Python312\\python.exe" \
"C:\\users\\crossover\\export_aligned.py" \
--symbol EURUSD --period M1 --bars 5000
Use When : User needs automated market data exports without GUI interaction
Limitations : Cannot access custom indicator buffers (API restriction)
Reference : /docs/guides/WINE_PYTHON_EXECUTION.md
For detailed information, see:
| Issue | Cause | Solution |
|---|---|---|
| Wine Python not found | CrossOver/Wine not installed | Install CrossOver, verify bottle path |
| MT5 API connection failed | MetaTrader not running | Launch MetaTrader 5 before running export |
| Correlation below 0.999 | Indicator mismatch | Verify warmup periods, check calculation alignment |
| Custom indicator not working | API restriction | Use CSV export from MT5, not Python API |
| UnicodeDecodeError | Windows path encoding | Use raw strings for Windows paths in Wine |
| Symbol not found | Wrong symbol format | Use exact MT5 symbol name (e.g., EURUSD not EUR/USD) |
| Timeout on export | Too many bars requested | Reduce bar count, default 5000 is safe |
| Permission denied | Wine prefix incorrect | Set WINEPREFIX to correct CrossOver bottle path |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.
Weekly Installs
65
Repository
GitHub Stars
28
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode61
gemini-cli60
claude-code59
codex59
github-copilot58
cursor58
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
48,700 周安装