Commit Graph

3 Commits

Author SHA1 Message Date
c415cd9919 Convert OrdersEA to proper MT5 syntax (v2.0)
Major changes for MT5 compatibility:
- Replaced MT4 OrderSelect() with MT5 PositionGet/HistorySelect
- Replaced MarketInfo() with SymbolInfoDouble/Integer
- Replaced Bid/Ask/Digits/Point globals with function calls
- Updated trade functions to use CTrade class
- Changed ticket types from int to ulong
- Replaced WindowExpertName() with MQLInfoString()
- Replaced IsOptimization() with MQLInfoInteger()
- Updated copyright to Garfield Heron / fetcherpay.com

Note: Full grid logic needs comprehensive testing
2026-03-24 13:04:46 -04:00
bf70b79237 Clean up OrdersEA.mq5 - Remove WinAPI and license dependencies
- Removed #include WinAPI/winuser.mqh (no more MessageBox)
- Removed #include web.mq5 (no more license check)
- Replaced MessageBox with Print() for margin info
- Replaced SendMailEx with SendNotificationEx using native MT5 notifications
- Updated copyright to Garfield Heron / fetcherpay.com
- Email default set to garfield@fetcherpay.com
- License check bypassed - always allows access
2026-03-24 11:49:06 -04:00
9fac45a9be Add OrdersEA MT5 version
- MT5 compatible version of the grid/layering EA
- Same basket trading logic as MT4 version
2026-03-24 09:45:01 -04:00