The Signals/ directory contains all trade signal generation logic for the Warrior EA. It includes both traditional indicator-based signals and advanced AI/ML-driven signals. Each signal is encapsulated in its own class, supporting modularity and extensibility.
## Key Components
### Signals.mqh
- Main orchestration file for signal modules.
- Includes both traditional and AI/ML signal classes.
- Facilitates integration of filters (news, session, etc.) and advanced signals.
### AI/ML-Driven Signals
- **SignalLSTM.mqh**: Implements an LSTM-based neural network signal generator. Integrates with the AI subsystem, supports model training, loading, and inference. Designed for advanced, data-driven strategies.
- **SignalPAI.mqh**: Implements a Perceptron AI-based signal generator. Inherits from `CExpertSignalAIBase`. Provides methods for initializing, training, and using a perceptron neural network for trade signal generation. Supports dynamic configuration, indicator integration, and modular AI/ML pipeline features. Designed for advanced, data-driven strategies and easy integration into the EA's AI subsystem.
### Traditional Indicator-Based Signals
- **SignalMA.mqh**: Moving Average signal generator.
- **SignalMACD.mqh**: MACD oscillator signal generator.
- **SignalRSI.mqh**: Relative Strength Index signal generator.
- **SignalStoch.mqh**: Stochastic oscillator signal generator.
- **SignalPB.mqh**: Pin Bar pattern signal generator.
- **SignalNewsFilter.mqh**: News event filter for signals, configurable by impact and lookback period.
- **SignalSessionFilter.mqh**: Session-based filter (London, New York, Tokyo sessions).
## Individual Signal Modules
Below is a comprehensive list of all signal modules in the Signals/ directory, with a brief description of each:
- **SignalITF.mqh**: Intraday Time Filter. Filters signals based on time-of-day and day-of-week.
- **SignalLSTM.mqh**: LSTM AI signal. Uses a recurrent neural network for sequence-based prediction.
2026-04-20 22:35:14 -04:00
- **SignalMA.mqh**: (Removed)
- **SignalMACD.mqh**: (Removed)
- **SignalNewsFilter.mqh**: (Filters trading signals based on economic news events and impact levels. Configurable lookback window and impact threshold.)
- **SignalPAI.mqh**: Implements a Perceptron AI-based signal generator. Inherits from `CExpertSignalAIBase`. Provides methods for initializing, training, and using a perceptron neural network for trade signal generation. Supports dynamic configuration, indicator integration, and modular AI/ML pipeline features. Designed for advanced, data-driven strategies and easy integration into the EA's AI subsystem.