2 Commits

Author SHA1 Message Date
Kunthawat Greethong
db575179ae feat(maea): migrate from MQL4 to MQL5 and simplify strategy
Migrate MAEA Expert Advisor from MetaTrader 4 to MetaTrader 5 platform with
significant strategy simplification and architectural improvements.

Key changes:
- Platform: MQL4 → MQL5
- Indicators: Reduced from 5 lines (3 EMAs + 2 borders) to 2 EMAs with zone fill
- Strategy: Removed pullback signals and dynamic lot sizing
- Lot sizing: Changed from dynamic (0.01/0.02) to fixed 0.01 lot
- Stop loss: Changed from Border Lines to opposite EMA (Buy: EMA Low, Sell: EMA High)
- Signal logic: Added opposite signal close for reversal protection
- New filter: Added minimum zone width filter (100 points)
- Documentation: Updated implementation plans and project summary
- New files: Added AGENTS.md, MAEA_Indicator.mq5, and opencode.jsonc

BREAKING CHANGE: Complete rewrite from MQL4 to MQL5 with simplified strategy.
Previous MAEA.mq4 and README.md deleted. New implementation requires MetaTrader 5.
2026-01-03 14:25:25 +07:00
Kunthawat Greethong
7c7c118c5f Initial commit: MAEA Expert Advisor v1.00
- Implemented complete trend-following strategy with EMA-based signals
- Added 5 visual indicator lines (3 EMAs + 2 Border Lines)
- Implemented breakthrough and pullback signal detection
- Added dynamic lot sizing (0.01/0.02 based on pullback)
- Implemented comprehensive filters:
  * Volume filter (20-bar average)
  * Spread filter (max 30 points)
  * Multiple Timeframe filter (H1 trading, D1 trend confirmation)
  * News filter (Thailand timezone)
- Added advanced risk management:
  * Take Profit in USD
  * Stop Loss at Border Lines
  * Breakeven (100 points)
  * Trailing Stop (100 points)
  * Max drawdown protection (10%)
- Created comprehensive documentation
- Connected to Gitea repository
2026-01-02 11:13:52 +07:00