Add OrdersEA documentation

This commit is contained in:
2026-03-24 09:45:23 -04:00
parent 390e3099d8
commit 50c9652489

View File

@@ -136,3 +136,44 @@ This will:
- Location: /usr/local/bin/ollama - Location: /usr/local/bin/ollama
- Service: systemd (ollama.service) - Service: systemd (ollama.service)
- API: localhost:11434 - API: localhost:11434
---
## OrdersEA Found and Committed
**Date:** March 24, 2026
### Files Located
- `~/mql/OrdersEA (1).mq4` - Original MT4 version (v1.1)
- `~/mql/OrdersEA.mq5` - MT5 version
### Committed to Repository
- Commit: `9fac45a`
- Files: `OrdersEA (1).mq4`, `OrdersEA.mq5`
- Location: `~/mql-trading-bots/`
### OrdersEA Strategy
**Type:** Grid/Layering/Basket Trading EA
**How it works:**
1. Defines a price range with `HIGH` and `LOW` parameters (central zone)
2. Places multiple small pending orders at intervals (`Entry` spacing)
3. Above HIGH: Layer of BUY STOP orders
4. Below LOW: Layer of SELL STOP orders
5. Manages basket of up to 600 trades
6. Calculates average price for exit
7. Equity-based lot sizing option
**Key Parameters:**
- `HIGH` / `LOW` - Central range boundaries
- `Entry` - Spacing between trade levels
- `Lots` - Size per trade
- `TP` - Take profit per level
- `TRADE_RANGE` - Trading range in pips
- `MaxTrades` - Up to 600
**Risk Management:**
- `EquityFactorPercent` - Dynamic lot sizing
- `TakeProfitLevelDollarAmount` - Basket profit target
- `GetOut` - Emergency exit flag
**Status:** Ready for use on MT4 or MT5