feat: add ZHUOYAO indicator (multi-period momentum resonance), bump to 1.4.1

Add 捉妖大师 (ZHUOYAO) indicator to the indicator registry. Outputs
ZY_LONG/ZY_MID/ZY_SHORT/ZY_TREND four lines based on 20/60/120-day
ROC with EMA smoothing for trend resonance detection.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
GitHub
2026-05-28 17:49:30 +08:00
co-authored by Claude Opus 4.7
parent bcddf5a052
commit 6b06f9eb40
4 changed files with 148 additions and 5 deletions
+10
View File
@@ -177,6 +177,16 @@ _reg(
"ASI 振动升降指标",
)
# ── 捉妖大师(仅需 close)─────────────────────────────────────────────
_reg(
"ZHUOYAO",
("close",),
("ZY_LONG", "ZY_MID", "ZY_SHORT", "ZY_TREND"),
MyTT.ZHUOYAO,
{"N1": 120, "N2": 60, "N3": 20, "M": 10},
"ZHUOYAO 捉妖大师 多周期涨幅共振",
)
# ── 仅需 high + low ────────────────────────────────────────────────────
_reg(
"TAQ", ("high", "low"), ("TAQ_UP", "TAQ_MID", "TAQ_DOWN"), MyTT.TAQ, {"N": 20}, "TAQ 唐安奇通道"