记忆

moving-averages

试用

当用户要用移动平均线(MA)判断趋势、选择均线类型/周期/组合,或理解四周规则(唐奇安突破)、 4-9-18 天组合,并清楚其"滞后性"与"横盘失效"局限时激活。 不适用于:超买超卖摆动指数(转 oscillators-contrarian)、画趋势线(转 trend-tools)。 关键 trigger 词:均线金叉死叉、移动平均线、四周规则、双均线、EMA、均线滞后、4-9-18。 Activate when the user wants to use moving averages (MA) to judge trend, choose MA type/period/combination, or understand the four-week rule (Donchian breakout), the 4-9-18 day combo, and its limitations of "lag" and "failure in range-bound markets". Not applicable: overbought/oversold oscillators (-> oscillators-contrarian), drawing trendlines (-> trend-tools). Key trigger words: MA golden/death cross, moving average, four-week rule, dual MA, EMA, MA lag, 4-9-18.

它能做什么

当用户要用移动平均线(MA)判断趋势、选择均线类型/周期/组合,或理解四周规则(唐奇安突破)、 4-9-18 天组合,并清楚其"滞后性"与"横盘失效"局限时激活。 不适用于:超买超卖摆动指数(转 oscillators-contrarian)、画趋势线(转 trend-tools)。 关键 trigger 词:均线金叉死叉、移动平均线、四周规则、双均线、EMA、均线滞后、4-9-18。 Activate when the user wants to use moving averages (MA) to judge trend, choose MA type/period/combination, or understand the four-week rule (Donchian breakout), the 4-9-18 day combo, and its limitations of "lag" and "failure in range-bound markets". Not applicable: overbought/oversold oscillators (-> oscillators-contrarian), drawing trendlines (-> trend-tools). Key trigger words: MA golden/death cross, moving average, four-week rule, dual MA, EMA, MA lag, 4-9-18.

技能文档

移动平均线:趋势跟踪工具

R — 原文 (Reading)

"移动平均线是一种追踪趋势的滞后指标,它天生具有平滑作用和滞后特性。" "双移动平均线组合(一快一慢)在各类系统中表现最佳。" "当价格涨出前 4 周的新高位时买入,跌出前 4 周的新低位时卖出。"(四周规则)

— 约翰·墨菲,第九章 移动平均线


I — 方法论骨架 (Interpretation)

均线是"顺应趋势"的量化版,但有其固有特性:

  1. 滞后性不可消除(ce19):均值是过去价格的平均,天生慢半拍;别把它当领先信号。
  2. 简单均线常更可靠(美林研究):对多数市场,朴素简单均线胜过加权/EMA;不要过度追逐复杂变体。
  3. 双均线组合最优:快+慢交叉平衡灵敏与可靠;单均线噪音多,三均线太滞后。
  4. 周期选择:较长期胜较短(分水岭约 40 天);期货常用短组合(4/9/18 天分别看短/中/长趋势)。
  5. 四周规则(唐奇安):突破前 4 周高低点做方向,是最成功的趋势跟踪系统之一,但连续在市在横盘会拉锯(ce22)。
  6. 场景局限:均线法在横向市占 1/3~1/2 时间表现糟(ce21),短期均线更易出伪信号(ce20)。

用法:金叉/死叉、价格穿均线、均线多排/空排判断趋势;用 ADXR 等过滤器先判有无趋势再上均线系统。


A1 — 书中的应用 (Past Application)

案例 1:美林 1978–1982 均线研究

  • 问题:均线系统是否真能跑赢买入持有?
  • 方法论的使用:美林实证显示优化参数组合持续跑赢买入持有。
  • 结论:均线作为趋势跟踪工具有机构级证据。
  • 结果:验证均线系统有效性。

案例 2:4-9-18 天组合(艾伦 1972)

  • 问题:怎么同时看短/中/长趋势?
  • 方法论的使用:4/9/18 天三条均线分别刻画短/中/长期,依相对位置与交叉判时机。
  • 结论:多周期均线组合是经典实务方案。
  • 结果:成为书中推荐组合。

案例 3:四周规则 1970 测试最成功

  • 问题:最简单的趋势系统哪种好?
  • 方法论的使用:邓恩和哈吉特 1970 测试,四周规则表现最佳。
  • 结论:简单通道突破在趋势市极有效。
  • 结果:经典趋势跟踪系统。

A2 — 触发场景 (Future Trigger) ★

用户会在什么情境下需要这个 skill?

  1. 问"均线金叉/死叉怎么看、该用什么周期"。
  2. 问"EMA 和简单均线哪个好"。
  3. 问"四周规则/唐奇安突破怎么用"。
  4. 困惑"为什么均线信号总是慢、横盘总亏"。

语言信号

  • "均线金叉死叉、移动平均线"
  • "EMA、简单均线、双均线"
  • "四周规则、唐奇安"
  • "均线滞后、横盘亏钱"

与相邻 skill 的区分

  • oscillators-contrarian 的区别:均线是趋势跟踪(顺大势),摆动指数是动量/超买超卖(附属于趋势)。
  • dow-theory-framework 的区别:dow 是框架,均线是量化落地工具。

E — 可执行步骤 (Execution)

  1. 选类型与周期:默认简单均线;期货用短组合(如 4/9/18),长线偏长(>40 天)。
    • 完成标准:确定均线类型与 1–2 条周期。
  2. 判趋势:用双均线交叉/价格穿线/均线排列定方向。
    • 完成标准:明确多空。判停:若 ADXR 低(<20)无趋势,降级或不用。
  3. 用四周规则等突破:趋势市用通道突破(前 N 周期高低)触发。
    • 完成标准:定义突破阈值。
  4. 接受滞后与横盘磨损:不期待均线"预测",横盘期控制暴露。
    • 完成标准:认知滞后代价,配过滤器/退出机制。

B — 边界 (Boundary) ★

不要在以下情况使用此 skill

  • 用户问 RSI/K%/背离超买超卖 → 转 oscillators-contrarian。
  • 用户问画趋势线 → 转 trend-tools。

作者在书中警告的失败模式

  • 本质滞后(ce19):别用均线拐点当领先信号。
  • 横盘表现糟(ce21):1/3~1/2 时间无效,须先判有无趋势。
  • 短期均线伪信号(ce20):震荡市频繁交叉,反复止损。
  • 四周规则连续在市拉锯(ce22):无趋势期须有横向退出机制。

作者的盲点 / 时代局限

  • 1986 年无现代机器学习择时;但"先判趋势状态再选系统"的原则仍核心。

容易混淆的邻近方法论

  • 均线(趋势)vs 摆动指数(动量):强趋势中摆动指数可长期超买,勿用摆动逆均线(见 oscillators-contrarian B)。

相关 skills

  • composes-with: dow-theory-framework
  • contrasts-with: oscillators-contrarian

审计信息

  • 验证通过: V1 ✓ / V2 ✓ / V3 ✓
  • 测试通过率: 100% (6/6, Stage4 盲测)
  • 蒸馏时间: 2026-08-03

相关技能

当用户问时间周期(CRB 10.5 个月、28 天交易周期、季节性)、用"波峰左移/右移"判趋势拐点,或想用 周期窗口择时,并需要"周期须与传统信号验证""熊市少做周期抄底"等约束时激活。 不适用于:数艾略特波浪(转 elliott-wave)、均线趋势跟踪(转 moving-averages)。 关键 trigger 词:周期、季节性、波峰左移右移、28天、10.5个月、时间窗、1月高点、大豆4-7月、天数、上涨下跌天数。 Activate when the user asks about time cycles (CRB 10.5-month, 28-day trading cycle, seasonality), uses "peak left/right shift" to judge turning points, or wants to time with cycle windows, with constraints like "cycles must be confirmed by traditional signals" and "avoid cycle bottom-fishing in bear markets". Not applicable: counting Elliott waves (-> elliott-wave), MA trend-following (-> moving-averages). Key trigger words: cycle, seasonality, peak left/right shift, 28 days, 10.5 months, time window, January high, soybean Apr-Jul, day count, up/down day count.

当用户质疑"技术分析到底有没有用"、分不清技术分析 vs 基础分析、或想确定"什么时候该用图表法、 什么时候图表法会失效"时激活。也用于给新手建立技术分析的世界观与前提假设。 不适用于:具体买卖信号(转 trend-tools / 形态类 skill)、纯基本面研究。 关键 trigger 词:技术分析有效性、技术分析和基本面区别、图表预测原理、随机行走、历史会重演。 Activate when the user questions "does technical analysis even work", cannot distinguish TA from fundamental analysis, or wants to determine "when to use charting and when charting fails". Also for building a beginner's worldview and assumptions of TA. Not applicable: specific buy/sell signals (-> trend-tools / pattern skills), pure fundamental research. Key trigger words: TA validity, TA vs fundamental difference, chart prediction principle, random walk, history repeats.

当用户问摆动指数(RSI/KD/%R/MACD/ROC/动力指数)的超买超卖、背离,或相反意见理论(看涨一致数字、 COT 持仓报告、看跌/看涨期权比)的情绪极端信号,并需要理解"趋势市 vs 横盘市用法相反"时激活。 不适用于:趋势方向/均线交叉(转 moving-averages)、画趋势线(转 trend-tools)。 关键 trigger 词:RSI 超买超卖、KD 金叉死叉、MACD 背离、%R、相反意见、看涨一致数字、市场情绪、COT。 Activate when the user asks about oscillator (RSI/KD/%R/MACD/ROC/momentum) overbought/oversold and divergences, or contrary-opinion theory (bullish consensus, COT report, put/call ratio) sentiment extremes, and needs to understand that "usage in trending vs range-bound markets is opposite". Not applicable: trend direction / MA cross (-> moving-averages), drawing trendlines (-> trend-tools). Key trigger words: RSI overbought/oversold, KD cross, MACD divergence, %R, contrary opinion, bullish consensus, market sentiment, COT.

当用户要定仓位规模、设止损距离、算报偿-风险比(≥3:1)、定单市场/群类资金限额,或用复合头寸/ 金字塔加码管理风险,并需要"绝不加保证金、分散勿过、保守生存"等纪律时激活。 不适用于:择时/入场点(转 trading-tactics-checklist)、情绪反向(转 oscillators-contrarian)。 关键 trigger 词:仓位、止损、报偿风险比、资金管理、复合头寸、金字塔、单市场限额、5%/10%/50%、追加保证金、扩大本金、加注、顶峰扩注。 Activate when the user needs to size positions, set stop-loss distance, compute reward-to-risk ratio (>=3:1), set per-market/group capital limits, or use compound positions / pyramiding to manage risk, with disciplines like "never add margin, diversify but not over, survive conservatively". Not applicable: timing / entry (-> trading-tactics-checklist), sentiment contrarian (-> oscillators-contrarian). Key trigger words: position sizing, stop loss, reward-risk ratio, money management, compound position, pyramiding, per-market limit, 5%/10%/50%, margin call, increase capital, add to a loser, top extrapolation.

当用户要落实"由长到短"的分析流程、用复合头寸化解突破择时两难、做日内逐步聚焦(日线→5分钟线), 或需要交易前核对清单(21 条要领 / 23+8 技术分析清单)与"预先/当场/伺后"入市策略时激活。 不适用于:仓位规模与止损距离(转 money-management)、趋势方向判定(转 trend-tools)。 关键 trigger 词:交易策略、择时、入市时机、突破跟不跟、复合头寸、日内聚焦、交易清单、邓尼根突刺、盲信传媒、独立研判、重仓跟进、计划。 Activate when the user wants to implement the "long-to-short" analysis flow, use compound positions to resolve the breakout-timing dilemma, do intraday progressive focus (daily -> 5-min), or needs a pre-trade checklist (21 essentials / 23+8 TA checklist) and "pre/at/post entry" strategies. Not applicable: position sizing and stop distance (-> money-management), trend direction (-> trend-tools). Key trigger words: trading strategy, timing, entry timing, follow breakout or not, compound position, intraday focus, trading checklist, Dunnigan thrust, blindly trust media, independent judgment, heavy follow, plan.

当用户要用量能(交易量)与持仓兴趣来验证价格信号、判断趋势健康度,或理解胀爆/抛售高潮、交易商分类报告(COT)等时激活。 核心是"价格第一、量能第二",量能只是验证价格的旁证。 不适用于:单纯画价格线(转 trend-tools)、摆动指数超买超卖(转 oscillators-contrarian)。 关键 trigger 词:成交量验证、持仓兴趣、量价背离、突破量能、胀爆、抛售高潮、COT、交易商分类报告。 Activate when the user wants to use volume and open interest to confirm price signals, judge trend health, or understand blowoffs/selling climaxes and the COT (commitments of traders) report. The core is "price first, volume second" - volume is only corroborating evidence. Not applicable: simply drawing price lines (-> trend-tools), oscillator overbought/oversold (-> oscillators-contrarian). Key trigger words: volume confirmation, open interest, volume-price divergence, breakout volume, blowoff, selling climax, COT, trader classification report.