Files
garfield 0894d18db4 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
2026-05-12 09:02:25 -04:00

1.3 KiB
Executable File

MQL Trading Bots - Quick Reference Card

Deploy EA to MT5

cp MultiSignal_Confluence_EA.mq5 ~/mt5-docker/config/.wine/drive_c/Program\ Files/MetaTrader\ 5/MQL5/Experts/
cp OrdersEA_Smart_Grid.mq5 ~/mt5-docker/config/.wine/drive_c/Program\ Files/MetaTrader\ 5/MQL5/Experts/

Check MT5 Status

cd ~/mt5-docker && ./STATUS.sh

View Latest Log

tail -100 ~/mt5-docker/config/.wine/drive_c/Program\ Files/MetaTrader\ 5/MQL5/Logs/*.log

View Trading Report

# Direct browser access
file:///home/garfield/mt5-docker/config/.wine/drive_c/users/abc/Desktop/ReportHistory-104125640.html

Verify Short Signals

python3 verify-short-signals.py

Git Commands

git add -A
git commit -m "description"
git push  # May need credentials

Current Versions

EA Version
MultiSignal_Confluence_EA.mq5 v1.14
OrdersEA_Smart_Grid.mq5 v3.1

Critical Reminders

  1. Use _Symbol directly (not CSymbolInfo)
  2. Always add #include <Trade\Trade.mqh>
  3. Copy files to MT5 after git commit
  4. Enable weekend protection on Grid EA
  5. Test compilation before deploying

Key Files

  • AGENTS.md - AI context (read first!)
  • README.md - Project overview
  • conversation-history/ - Session notes
  • .set files - Pair-specific settings