概要
これは、Three Line Strike(三重打撃)パターンとEngulfing Pattern(包み足)に基づく定量取引戦略です。連続する3本のローソク足の後に発生するブレイクアウト反転ローソク足を識別することで市場のトレンド転換点を捉え、複数のテクニカル指標を組み合わせて取引判断を行います。完全なシグナル認識システムとリスク管理メカニズムを備え、高度にカスタマイズ可能なパラメータ設定を提供します。
戦略原理
戦略の核となるロジックは、2つの主要なローソク足パターンに基づいています。
- Three Line Strikeパターン: 連続する3本の同方向ローソク足の後の反転ローソク足を認識することでトレンド反転を判断します。強気パターンは3本の連続した下降赤ローソク足の後に大きな緑の包み足が続くことで構成されます。弱気パターンは3本の連続した上昇緑ローソク足の後に大きな赤の包み足が続くことで構成されます。
- Engulfing Pattern: 単独の大きな包み足も補助シグナルとして使用します。戦略は現在のローソク足と前のローソク足の実体サイズを比較することで包み足パターンを識別します。
戦略の利点
- シグナル認識の精度: 厳密な数学的計算方法でローソク足パターンを判断し、複数の条件フィルタリングによりシグナル品質を保証します。
- 包括的なリスク管理: 初期資金やポジション比率などのリスクパラメータを設定し、再エントリーを禁止します。
- 高度なカスタマイズ性: 豊富なパラメータ設定を提供し、さまざまな市場特性や取引ニーズに応じて最適化できます。
- 視覚的サポート: 明確なグラフィカルマーカーとアラートメッセージを提供し、分析と監視を容易にします。
戦略のリスク
- 市場環境への依存: レンジ相場では過剰な偽シグナルが発生する可能性があります。
- スリッページの影響: 大きな包み足によるエントリーポイントでは、大きなスリッページの影響を受ける可能性があります。
- 遅延リスク: パターン認識には複数のローソク足が必要なため、最適なエントリータイミングを逃す可能性があります。
戦略の最適化方向
- 出来高指標の導入: 出来高の変化を組み合わせてシグナル品質をフィルタリングします。
- ストップロスの最適化: ATRやボラティリティに基づいてストップロス位置を動的に調整します。
- トレンドフィルターの追加: 移動平均線システムを追加して全体のトレンドを判断します。
- エグジットメカニズムの改善: より柔軟な利益確定条件を設計します。
まとめ
本戦略は体系的なテクニカル分析手法により市場の重要な転換点を捉え、理論的基盤と実践的価値が高いものです。パラメータ最適化とリスク管理の改善を通じて、堅牢な取引システムの重要な構成要素となり得ます。モジュール設計により、さらなる最適化のための良好な基盤も提供されます。
Overview
This is a quantitative trading strategy based on Three Line Strike and Engulfing patterns. The strategy captures market turning points by identifying breakthrough reversal candlesticks following three consecutive candles, combining multiple technical indicators for trading decisions. It features a complete signal detection system and risk control mechanism, with highly customizable parameter settings.
Strategy Principle
The core logic is based on two main candlestick patterns:
- Three Line Strike Pattern: Identifies trend reversals through three consecutive same-direction candles followed by a reversal candle. Bullish pattern consists of three consecutive red candles followed by a large green engulfing candle; bearish pattern consists of three consecutive green candles followed by a large red engulfing candle.
- Engulfing Pattern: Large single engulfing candles serve as auxiliary signals. The strategy identifies engulfing patterns by comparing the body size of current and previous candles.
Strategy Advantages
- Precise Signal Identification: Uses strict mathematical calculations to judge candlestick patterns, ensuring signal quality through multiple condition filtering.
- Comprehensive Risk Control: Includes risk parameters like initial capital and position sizing, with pyramiding prevention.
- Highly Customizable: Offers rich parameter settings for optimization according to different market characteristics and trading needs.
- Visual Support: Provides clear graphical markers and alert messages for analysis and monitoring.
Strategy Risks
- Market Environment Dependency: May generate excessive false signals in ranging markets.
- Slippage Impact: Entry points for large engulfing candles may be subject to significant slippage.
- Delay Risk: Pattern recognition requires multiple candles, potentially missing optimal entry points.
Optimization Directions
- Incorporate Volume Indicators: Filter signal quality by combining volume changes.
- Optimize Stop Loss Settings: Dynamically adjust stop loss positions based on ATR or volatility.
- Add Trend Filtering: Implement moving average systems to judge overall trend.
- Improve Exit Mechanism: Design more flexible profit-taking conditions.
Summary
The strategy captures important market turning points through systematic technical analysis, with strong theoretical foundation and practical value. Through parameter optimization and risk control refinement, it can serve as an important component of a robust trading system. The modular design also provides a good foundation for further optimization.
- 1

