cb0f520623
SKILL.md Section 5 rewritten with PointValue-based formulas:
- Direction A: SL points → SL price
- Direction B: Risk% + lots → SL price (with currency conversion)
- Direction C: SL price + risk% → lot size
- FindFXRate helper for profit_currency ≠ account_currency
- OrderCalcProfit verification pattern
Section 8 expanded with 6 SL/TP pitfalls (PointValue vs TICK_VALUE,
TickSize ≠ Point, currency conversion, NormalizeDouble rounding,
lot step quantization, STOPS_LEVEL check).
Section 9 EA skeleton now includes inline PointValue, FindFXRate,
CalcSLFromRisk, CalcLotsFromSL functions.
New files:
- LICENSE (MIT)
- README.md
- docs-dev/symbol-spec.md (symbol spec workflow)
- skills/mql5/references/symbol-spec/specs-{XAUUSD,USDJPY}.csv
- skills/mql5/scripts/verify_sl_tp_formulas.py (Python verification)
Updated: pyproject.toml, AGENTS.md, .gitignore, docs-dev/skill-design.md
12 lines
302 B
TOML
12 lines
302 B
TOML
[project]
|
|
name = "mql5-skills"
|
|
version = "0.1.0"
|
|
description = "MQL5 Agent Skill for MetaTrader 5 development — extraction pipeline and risk formula verification"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
requires-python = ">=3.14"
|
|
dependencies = [
|
|
"beautifulsoup4>=4.15.0",
|
|
"requests>=2.34.2",
|
|
]
|