Mae Mfe Optimization Skill — Development skill for Claude Code
Reusable MAE/MFE trading-analysis skill for strategy optimization.
How to install Mae Mfe Optimization Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open codeotter0201/mae-mfe-optimization-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mae Mfe Optimization Skill does
Reusable MAE/MFE trading-analysis skill for strategy optimization.
Alternatives in Development
- Ansoff Matrix — Ansoff Matrix analysis across 4 growth strategy quadrants 7.8k ★
- Gemini CLI Foundations — This repository is a comprehensive skills library for Gemini CLI - reusable, production-ready skill packages t 5.3k ★
- Vibe Research — Vibe-Research: Your Personal Trading Research Agent · A股/美股/港股 的个人投研 Agent:每日复盘、资讯雷达、个股数据、板块中心、我的持仓、研究记录、回测 2.5k ★
README
mae-mfe-optimization-skill
把公開分享的 MAE/MFE 交易分析內容,整理成可供 Codex、Claude Code 等 AI agent 直接載入使用的 skill。
這個 repo 是文件與方法論導向,不是回測引擎、最佳化 API 或下單框架。它的目標是把 MAE/MFE 策略優化的概念、術語和決策流程整理成 agent 可重複使用的知識包。
English version: [README.en.md](./README.en.md)
這個 skill 包含什麼
主題聚焦在以 MAE/MFE 為核心的策略優化,包括:
- MAE、MFE before MAE、Global MFE、MHL、Edge Ratio 的定義
- Delayed Entry 設計
- Stop Loss / Take Profit 配置
- Trailing Stop / Breakeven 的判斷
- Scaling in / Scaling out 的適用條件
- 深度優化前的 Practical Triage
- 以避免過擬合為前提的優化順序
適合拿來讓 agent:
- 解釋 MAE/MFE 優化框架
- 提出較合理的優化順序
- 討論 SL/TP 或延遲進場選擇
- 區分結構性改善與回測表面績效
- 用研究流程而不是零碎技巧理解這個主題
30 秒上手
如果你是第一次讀這份 repo,按這個順序開檔最短路徑:
- 策略剛回測完,不確定值不值得優化 →
references/practical-triage.md(PF → WR → RF 三階段分流) - 已有具體優化問題(SL/TP、延遲進場、加減碼、動態停損等) →
references/decision-playbooks.md(照場景找操作流程) - 需要對齊術語或追溯影片來源 →
references/core-concepts.md、references/source-map.md、references/episode-notes.md
`SKILL.md` 本身是入口索引與決策樹;細節都在 `references/`。
Repo 結構
.
├── README.md
├── README.en.md
├── SKILL.md
└── references
├── core-concepts.md
├── practical-triage.md
├── chapter-details.md
├── decision-playbooks.md
├── source-map.md
└── episode-notes.md
`SKILL.md`
主 skill 定義,包含:
- 觸發條件與使用範圍
- 核心術語
- 五步驟優化主軸
- 章節與決策對照
- 反過擬合原則
`references/practical-triage.md`
以前置分流 `Profit Factor -> Win Ratio -> Recovery Factor` 判斷策略是否值得進入更深的 MAE/MFE 分析。
`references/core-concepts.md`
整理最核心的概念層內容,包括:
- MFE before MAE 與 Global MFE 的使用邏輯
- 核心指標速查
- 反過擬合原則
`references/chapter-details.md`
補充主要主題的展開說明,包括:
- ATR 波動標準化
- 時間面 MAE/MFE 與 Edge Ratio
- Placement Test
- Delayed Entry
- 環境與 regime filter
- Trailing Stop / Breakeven
- 加減碼與帳戶層級風控
`references/decision-playbooks.md`
把章節內容轉成可直接照著跑的操作流程。遇到「要怎麼設計/判斷/優化 …」類問題時先開這個檔,內含 SL、TP、Placement Test、Delayed Entry、Trailing Stop / Breakeven、加減碼等場景的回答框架。
`references/source-map.md`
集數 ↔ 章節 ↔ reference 的對照表,含播放清單與每集 YouTube 連結。需要追溯概念出處或確認某段說法來自哪一集時使用。
`references/episode-notes.md`
Related Skills
Polymarket Agent MCP
The most comprehensive MCP server for Polymarket — 48 tools spanning direct trading, market discovery, smart m
Backtest2live
Backtest2Live: free, local, engine-agnostic checks for whether a trading strategy will survive live, plus a te
Trade Session
Run one trading cycle - parallel analysts and risk, strategy check, journaled plan, risk verdict, execution or
Agentic Trading Kit
Agentic trading kit for Robinhood: bring your own strategy, the agent runs it daily, you approve every order o
Description
Trading skills from the stock-trading-skills repo (trade, portfolio-review, reconcile, log, tax-desk, analyst-
Nse Trading Skills
9 Claude Code skills for Indian stock trading — technical analysis, position sizing, stop-loss, trailing stops
Related Agents
Backtesting Engineer
Backtesting and simulation specialist for strategy validation, walk-forward optimization, Monte Carlo simulati
Trading Researcher
Quantitative trading research specialist. Use when investigating market microstructure, prediction market mech
SEO Analyst
SEO specialist for technical SEO audits, keyword research, on-page optimization, content optimization, and lin