finance-tools/data/patterns/automation-overrides.json

295 lines
8.3 KiB
JSON
Raw Permalink Normal View History

2026-06-21 20:28:06 +00:00
{
"byName": {
"黃金交叉": {
"id": "golden_cross",
"name": "黃金交叉",
"bias": "bullish",
"timeframe": ["日", "週"],
"automatable": true,
"rule": "ma_cross",
"params": { "fast": 5, "slow": 25 },
"backtest": { "strategy": "golden_cross", "defaultStopPct": 5 }
},
"死亡交叉": {
"id": "death_cross",
"name": "死亡交叉",
"bias": "bearish",
"timeframe": ["日", "週"],
"automatable": true,
"rule": "ma_cross",
"params": { "fast": 5, "slow": 25, "direction": "down" },
"backtest": { "strategy": "death_cross", "defaultStopPct": 5 }
},
"多頭排列": {
"id": "bull_alignment",
"name": "多頭排列",
"bias": "bullish",
"automatable": true,
"rule": "ma_alignment",
"params": { "periods": [5, 25, 75], "order": "asc" }
},
"空頭排列": {
"id": "bear_alignment",
"name": "空頭排列",
"bias": "bearish",
"automatable": true,
"rule": "ma_alignment",
"params": { "periods": [5, 25, 75], "order": "desc" }
},
"向上跳空缺口": {
"id": "gap_up",
"name": "向上跳空缺口",
"bias": "bullish",
"automatable": true,
"rule": "gap",
"params": { "direction": "up", "minPct": 0.5 }
},
"向下跳空缺口": {
"id": "gap_down",
"name": "向下跳空缺口",
"bias": "bearish",
"automatable": true,
"rule": "gap",
"params": { "direction": "down", "minPct": 0.5 }
},
"多方吞噬": {
"id": "engulfing_bull",
"name": "多方吞噬",
"bias": "bullish",
"automatable": true,
"rule": "engulfing",
"params": { "direction": "bull" }
},
"空方吞噬": {
"id": "engulfing_bear",
"name": "空方吞噬",
"bias": "bearish",
"automatable": true,
"rule": "engulfing",
"params": { "direction": "bear" }
},
"覆蓋線": {
"id": "engulfing_bull",
"name": "覆蓋線(多方吞噬)",
"bias": "bullish",
"automatable": true,
"rule": "engulfing",
"params": { "direction": "bull" }
},
"下影陽線": {
"id": "hammer",
"name": "錘子線(下影陽線)",
"bias": "bullish",
"automatable": true,
"rule": "shadow_candle",
"params": { "type": "hammer", "shadowRatio": 2 }
},
"下影陰線": {
"id": "hammer",
"name": "下影陰線(錘子型)",
"bias": "bullish",
"automatable": true,
"rule": "shadow_candle",
"params": { "type": "hammer", "shadowRatio": 2 }
},
"上影陽線": {
"id": "shooting_star",
"name": "射擊之星(上影陽線)",
"bias": "bearish",
"automatable": true,
"rule": "shadow_candle",
"params": { "type": "shooting_star", "shadowRatio": 2 }
},
"上影陰線": {
"id": "shooting_star",
"name": "射擊之星(上影陰線)",
"bias": "bearish",
"automatable": true,
"rule": "shadow_candle",
"params": { "type": "shooting_star", "shadowRatio": 2 }
},
"RSI相對強弱指標": {
"id": "rsi_oversold",
"name": "RSI 相對強弱指標",
"bias": "neutral",
"automatable": false
},
"MACD指標": {
"id": "macd_cross_bull",
"name": "MACD 指標",
"bias": "neutral",
"automatable": false
},
"MACD": {
"id": "macd_cross_bull",
"name": "MACD",
"bias": "neutral",
"automatable": false
},
"成交量": {
"id": "volume_spike",
"name": "成交量放大",
"bias": "neutral",
"automatable": true,
"rule": "volume_spike",
"params": { "mult": 2, "lookback": 20 }
},
"紅三兵": {
"id": "three_white_soldiers",
"name": "紅三兵",
"bias": "bullish",
"automatable": true,
"rule": "three_soldiers",
"params": { "direction": "bull" }
},
"黑三兵": {
"id": "three_black_crows",
"name": "黑三兵",
"bias": "bearish",
"automatable": true,
"rule": "three_soldiers",
"params": { "direction": "bear" }
},
"三兵": {
"id": "three_white_soldiers",
"name": "酒田三兵",
"bias": "bullish",
"automatable": true,
"rule": "three_soldiers",
"params": { "direction": "bull" }
},
"漲停": {
"id": "limit_up",
"name": "漲停(台股 10%",
"bias": "bullish",
"markets": ["tw"],
"automatable": true,
"rule": "limit_move",
"params": { "direction": "up", "pct": 0.099 }
},
"跌停": {
"id": "limit_down",
"name": "跌停(台股 10%",
"bias": "bearish",
"markets": ["tw"],
"automatable": true,
"rule": "limit_move",
"params": { "direction": "down", "pct": 0.099 }
},
"買進模式①": {
"id": "granville_buy_1",
"name": "葛蘭碧買進模式①",
"bias": "bullish",
"automatable": false
},
"跳動點": {
"id": "tick_chart",
"name": "跳動點Tick",
"bias": "neutral",
"timeframe": ["分", "秒"],
"automatable": false
}
},
"byTitle": {
"判斷多空轉折的黃金交叉與死亡交叉": {
"split": ["黃金交叉", "死亡交叉"]
},
"在K線之間出現的大型跳空缺口": {
"split": ["向上跳空缺口", "向下跳空缺口"]
},
"下影陽線.下影陰線可能是急跌後的反彈訊號": {
"split": ["下影陽線", "下影陰線"]
},
"上影陽線.上影陰線可能是急漲後的下跌訊號": {
"split": ["上影陽線", "上影陰線"]
},
"覆蓋線切入線穿透線觀察3種K線組合": {
"split": ["覆蓋線", "多方吞噬", "空方吞噬"]
},
"股價急速上漲或下跌時出現的漲停與跌停": {
"split": ["漲停", "跌停"]
},
"酒田五法④三兵": {
"split": ["紅三兵", "黑三兵"]
}
},
"teachExtras": {
"golden_cross": {
"entryHint": "交叉確認後(收盤站上)再進場,避免盤中假突破。",
"exitHint": "出現死亡交叉,或跌破近期支撐/停損位。",
"caution": "盤整區容易出現假交叉;宜搭配成交量或 RSI 確認。"
},
"death_cross": {
"entryHint": "做空或減碼參考;多頭宜設停損或降倉。",
"exitHint": "趨勢重新站回均線之上,或出現黃金交叉。",
"caution": "強勢股拉回時也可能出現,需看大週期趨勢。"
},
"rsi_oversold": {
"id": "rsi_oversold",
"name": "RSI 超賣",
"bias": "bullish",
"automatable": true,
"rule": "rsi_threshold",
"params": { "period": 14, "below": 30 },
"backtest": { "strategy": "rsi_revert", "defaultStopPct": 5 }
},
"rsi_overbought": {
"id": "rsi_overbought",
"name": "RSI 超買",
"bias": "bearish",
"automatable": true,
"rule": "rsi_threshold",
"params": { "period": 14, "above": 70 }
}
},
"extraPatterns": [
{
"id": "rsi_overbought",
"name": "RSI 超買",
"category": "指標",
"chapter": 3,
"bookPage": 22,
"bias": "bearish",
"timeframe": ["日"],
"automatable": true,
"rule": "rsi_threshold",
"params": { "period": 14, "above": 70 },
"teach": {
"summary": "RSI 高於 70 代表買盤過熱,短線可能面臨拉回。",
"bookRef": "022.md"
}
},
{
"id": "macd_cross_bull",
"name": "MACD 金叉",
"category": "指標",
"chapter": 3,
"bookPage": 23,
"bias": "bullish",
"timeframe": ["日"],
"automatable": true,
"rule": "macd_cross",
"params": { "direction": "up" },
"teach": {
"summary": "MACD 線向上穿越訊號線,柱狀體由負轉正,代表動能轉強。",
"bookRef": "023.md"
}
},
{
"id": "macd_cross_bear",
"name": "MACD 死叉",
"category": "指標",
"chapter": 3,
"bookPage": 23,
"bias": "bearish",
"timeframe": ["日"],
"automatable": true,
"rule": "macd_cross",
"params": { "direction": "down" },
"teach": {
"summary": "MACD 線向下穿越訊號線,動能轉弱訊號。",
"bookRef": "023.md"
}
}
]
}