# Trendline Mechanics

> 当用户需要画趋势线、判断趋势线是否有效、趋势线被突破了怎么处理时调用

- Skill: `ck-2027/trendline-mechanics` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add ck-2027/trendline-mechanics`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ck-2027/trendline-mechanics/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ck-2027 (https://skillmd.com/u/ck-2027)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/ck-2027/trendline-mechanics

---


## R — 原文基础

> "A trendline is most helpful when looking for entries in the direction of the trend on pullbacks and in the opposite direction after the trendline is broken. Trendlines can be drawn using swing points or best fit techniques... Most of the time it is not necessary to actually draw a line since the lines are usually obvious. If you do draw a line, you usually can erase it moments after you verify that the market has tested it."
>
> "Both trendlines and trend channel lines are straight lines that are parallel to the trend but on opposite sides of the trend, forming a channel that contains the price action. Trendlines most often set up With Trend trades, and trend channel lines are most helpful finding tradable reversals."

---

## I — 方法论解读

趋势线有两个核心用途：
1. **未被突破时**：每次回调到趋势线附近 = 顺势入场机会
2. **被突破后**：可能的趋势反转起点（触发 [[trend-reversal-three-step]]）

### 趋势线绘制要点

**有效趋势线的条件**：
- 至少被2个摆动点触碰（3个更好）
- 连接摆动低点（牛市趋势线）或摆动高点（熊市趋势线）
- 无需精确——"Close is close enough"

**实用绘制方法**：
- 最简单：连接两个明显摆动点，目测画线
- 通道：平行于趋势线，拖到另一侧包住所有价格
- Brooks的建议：画完即可擦掉，重要的是理解，不是线本身

### 趋势线 vs 趋势通道线

| | 趋势线 | 趋势通道线 |
|--|-------|----------|
| **位置** | 与趋势同侧（下沿/上沿）| 趋势的另一侧 |
| **用途** | 顺势入场回调点 | 识别过冲/超买超卖点 |
| **信号** | 线附近=H2/L2入场区域 | 线附近=可交易的反转 |

### 有效突破的标准

- 趋势 bar 收盘在线外（不只是影线穿越）
- 后续1-2根 bar 不立即收回线内
- 突破的 bar 或后续 bar 显示强势（大实体）

**注意区分**：
- 回调超过趋势线但收回 → **不算突破**，只是测试
- 收盘在线外但后续立即收回 → **可疑突破**，观望
- 收盘在线外且后续继续 → **有效突破**，触发反转评估

---

## A1 — 书中案例

**案例1 — AAPL日线趋势线使用**（Ch.15 Fig.15.1）：牛市中，趋势线连接多个摆动低点，每次回调到趋势线附近形成 H2 入场。Bar 2处出现"突破陡峭趋势线后的First Pullback" → 典型趋势线突破→回测→入场序列。

**案例2 — 趋势通道线超射反转**（Ch.11）：价格过冲趋势通道线（overshoot）形成大影线或反转bar → 可交易的逆势信号。"Usually the market will overshoot the magnet and reverse."

**案例3 — Obama Crash，60分钟图趋势线突破**（Ch.15 Fig.15.11）：60分钟图 Bar D 出现趋势通道线超射反转，同时是5分钟图 Bar 7 强力上涨打破熊市趋势线的背景 → 多时间框架趋势线分析共振。

---

## A2 — 触发场景

当你面对以下问题时调用此 skill：
- "应该怎么画趋势线？连哪两个点？"
- "趋势线被穿了，算突破吗？"
- "趋势通道线附近价格有反应，怎么处理？"
- "为什么回调到这里就反转了？"（答：趋势线支撑）
- "趋势线突破了但价格又回来了，这算什么？"

---

## E — 执行步骤

1. **画趋势线**：
   - 找最近2-3个明显摆动低点（牛市）或高点（熊市）
   - 连线，不需要精确，目测即可
   - 同时画平行的趋势通道线（拖到另一侧包含价格）

2. **趋势线未突破时——找入场点**：
   - 等价格回调到趋势线附近
   - 此区域结合 H2/L2 信号 → 顺势入场（调用 [[with-trend-entry]]）

3. **趋势通道线附近——识别可能反转**：
   - 价格过冲通道线（overshoot）后出现反转 bar
   - 这是逆势 scalp 的机会（小仓位，快出）
   - 若同时满足 [[trend-reversal-three-step]] 的三步 → 可以做更大的反向

4. **判断突破是否有效**：
   - 趋势 bar 收盘在线外？后续不立即收回？→ 有效突破
   - 触发 [[trend-reversal-three-step]]：等步骤2回测旧极值

5. **更新趋势线**：
   - 有效突破后，以新的摆动点重画趋势线
   - 原趋势线可以擦掉

---

## B — 边界与盲点

**不适用场景**：
- 极度震荡的区间市场：无法画出有意义的趋势线
- 开盘前几根 bar：数据太少

**作者特别说明**：
- "Most of the time it is not necessary to actually draw a line" — 趋势线是辅助理解，不是必须画出来的工具
- 曲线太主观，Brooks 只用直线

**作者盲点**：
- 趋势线"重要性"的判断有主观性（多少次触碰才算重要？）
- 不同交易者画出的趋势线可能完全不同，导致"突破"的判断差异很大
- 在快速市场中，趋势线可能没有时间画就被破了

---

## 相关 Skills（阶段3补全）

- [[trend-identification]] — 趋势线是趋势识别的结构化工具
- [[trend-reversal-three-step]] — 趋势线突破是反转步骤1的唯一触发条件
- [[with-trend-entry]] — 趋势线未突破时，线附近是最佳顺势入场区域
- [[breakout-pullback]] — 趋势线突破后的处理逻辑

