| Nome del file | Ultimo messaggio di commit | Ultima data di commit |
|---|---|---|
- Replaced standard library signal modules with custom implementations to allow for named patterns and improved voting. - Added new input parameters for module weights, allowing for optimization of individual signal contributions. - Enhanced the management of trades with new options for breakeven and management cut. - Introduced a mechanism for dynamic ranking of signal weights based on historical performance. - Improved initialization logic to ensure proper registration of filters and handling of trading conditions. - Added detailed logging for trading permissions and account status during initialization. |
||
| .. | ||
| README.md | ||
| TrailingATR.mqh | ||
Trailing Subsystem (Trailing/)
Overview
The Trailing/ directory contains logic for trailing stop management in the Warrior EA. It supports ATR-based trailing or none (disabled). Each strategy is modular and configurable.
Key Components
Trailing.mqh
- Aggregates all available trailing stop strategies.
- Includes: ATR-based and None.
- Entry point for trailing stop logic selection.
TrailingATR.mqh
- Class:
CTrailingATR - Purpose: Implements trailing stops based on the Average True Range (ATR) indicator.
- Key Features:
- Configurable ATR multiplier, periods, and shift.
- Dynamically adjusts stop loss based on market volatility.
- Inherits from
CExpertTrailingfor integration with the EA framework.
Integration Notes
- Modular design allows for easy switching between trailing stop strategies.
- ATR-based trailing is suitable for adaptive, volatility-aware risk management.
- The None strategy is included via a standard MQL5 module.
Documented April 2026. For further details, see the main project documentation.