WIP: 6+ weeks of uncommitted EA development and preset tuning

Confluence EA (v1.16 → v1.20):
- Per-EA realized P&L tracking via history deals
- Weekly drawdown protection
- Warmup bars, pivot cache, state persistence
- Point-scaled pivot thresholds, ranging ATR factor
- Market filling mode helper per symbol

Grid EA (v3.1 → v4.1):
- Adaptive filters, adaptive entry, spread filter
- Session filter, breakeven, correlation caps, range drift
- Profit protection (stop-after-profit, cycle reports)
- Edge cleanup v5.0 — close wrong-side positions outside grid
- Master one-shot shutdown, grid state persistence

Presets:
- Fix GetOut=Y shutdown bug on 4 grid presets
- Relax ADXMax 18→40, widen RSI 20/80 across grid presets
- Standardize daily drawdown 3%→5%, add weekly 10%
- Increase grid lots 0.01→0.03
- Normalize confluence ATR thresholds per pair
- Add XAGUSD, EURCHF, EURGBP, AUDNZD presets

Docs & DevOps:
- April 23 audit files (preset mismatch, code review, checklist)
- n8n workflow and validation infrastructure updates
- AI agent analyses in notes/

Known issues carried forward:
- Shared drawdown budget contamination (both EAs)
- Confluence ranging-market threshold inversion
- Older grid presets missing v4.1 safety controls
This commit is contained in:
2026-05-12 09:02:25 -04:00
parent b9b4e2b22b
commit 0894d18db4
72 changed files with 3869 additions and 1416 deletions
Regular → Executable
+6 -2
View File
@@ -24,7 +24,7 @@ Grid trading around daily pivot levels with RSI/ADX filters
```
mql-trading-bots/
├── MultiSignal_Confluence_EA.mq5 # PRIMARY EA - Confluence trading (v1.14)
├── OrdersEA_Smart_Grid.mq5 # Grid trading EA (v3.1)
├── OrdersEA_Smart_Grid.mq5 # Grid trading EA (v3.3)
├── MultiSignal_Confluence.mq5 # Indicator version
├── HarmonicPatternFinderV2_Optimized.mq5
├── CandlestickPatternEA_Fixed.mq5
@@ -63,6 +63,8 @@ mql-trading-bots/
### OrdersEA_Smart_Grid.mq5
| Version | Date | Changes |
|---------|------|---------|
| v3.3 | 2026-04-16 | Fixed GridHigh/GridLow to use ATR bands; relaxed filter defaults |
| v3.2 | 2026-04-01 | Added `InpStopAfterProfit` option |
| v3.1 | 2026-03-30 | Added weekend gap protection |
| v3.0 | 2026-03-29 | Fixed daily forced closure bug |
@@ -146,10 +148,12 @@ Add: GBPJPY, XAUUSD (both EAs)
## 📂 Conversation History
See `conversation-history/` directory for session notes:
See `~/conversation-history/` directory for session notes:
- `2026-03-21-mql-trading-bots.md` - Initial verification & migration
- `2026-03-29-session-save.md` - Settings library & bug fixes
- `2026-03-30-weekend-gap-short-signal-fix.md` - Weekend protection & short signal fix
- `2026-04-07-confluence-ea-diagnosis.md` - ATR/ADX filter root cause analysis
- `2026-04-13-new-account-grid-issue.md` - New account & Grid EA filters
---