technical-patterns-lab/docs/RERUN_DETECTION.md
褚宏光 6d545eb231 Enhance converging triangle detection with new features and documentation updates
- Added support for a detailed chart mode in plot_converging_triangles.py, allowing users to visualize all pivot points and fitting lines.
- Improved pivot fitting logic to utilize multiple representative points, enhancing detection accuracy and reducing false positives.
- Introduced a new real-time detection mode with flexible zone parameters for better responsiveness in stock analysis.
- Updated README.md and USAGE.md to reflect new features and usage instructions.
- Added multiple documentation files detailing recent improvements, including pivot point fitting and visualization enhancements.
- Cleaned up and archived outdated scripts to streamline the project structure.
2026-01-26 16:21:36 +08:00

1.1 KiB

快速重新运行检测

修复了"下降通道被误判为三角形"的问题,现在需要重新运行检测。

改进内容

增加了相向收敛检查,现在会自动过滤:

  • 下降通道(上下沿都向下)
  • 上升通道(上下沿都向上)

只保留真正的收敛三角形:

  • 对称三角形(上沿向下 + 下沿向上)
  • 上升三角形(上沿水平 + 下沿向上)
  • 下降三角形(上沿向下 + 下沿水平)

重新运行

# 1. 激活环境
.\.venv\Scripts\Activate.ps1

# 2. 运行完整流水线(推荐)
python scripts/pipeline_converging_triangle.py

# 或者只重新检测最近一天
python scripts/pipeline_converging_triangle.py --skip-detection
python scripts/report_converging_triangles.py
python scripts/plot_converging_triangles.py

预期变化

  • 候选股票数量可能减少 10%-20%
  • 图表质量更高(不再有明显的通道形态)
  • 之前的 SZ300530 领湃科技 将被过滤

技术细节

详见:docs/2026-01-26_相向收敛约束改进.md