Warrior_EA/Trailing
Repository files (latest commit first)
Filename Latest commit message Latest commit date
AnimateDread b2784b5a4d Enhance Feature and Topology Interfaces with Bulk Operations and Cache Management
- Added bulk read/write methods for feature caches in IFeaturesView and its implementations to optimize performance.
- Introduced LabelCacheInvalidateAll method to manage label cache invalidation alongside feature cache.
- Implemented PooledIndependentBars method in topology interfaces to account for additional independent observations.
- Enhanced risk budget management with throttling for peak-equity updates to reduce unnecessary file operations.
- Improved error handling and logging for ATR trailing stops to ensure better visibility of issues.
- Updated alt-data handling to prevent unnecessary operations during testing and optimization phases.
2026-08-25 22:51:50 -04:00
..
README.md feat: add percentage-based CPU load input for fallback tier 2026-07-14 18:04:48 -04:00
Trailing.mqh refactor(trade-mgmt): remove all confidence-scaled trade management 2026-08-25 10:10:20 -04:00
TrailingATR.mqh Enhance Feature and Topology Interfaces with Bulk Operations and Cache Management 2026-08-25 22:51:50 -04:00

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 CExpertTrailing for 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.