📝 产品详情
Advanced Close Logic EA
| 作者 | SERGUEI PROKHOROV |
| 版本 | v1 |
| 激活数 | 20 |
| 原价 | $30 USD |
Description:
Advanced Close Logic EA monitors your open market orders per symbol, displays the counts directly on your chart, and automatically closes orders when configurable thresholds are met. It supports both global and per-symbol settings for direction, profit/loss filtering, and whether to close all matching orders or only those that passed your filters.
External Parameters:
1. GlobalMaxOpenOrders (int)
- Sets a single maximum number of open market orders for every symbol.
- 0 = use per-symbol settings; >0 = apply this threshold globally.
2. GlobalOrderDirection (enum: Buy / Sell / BuyAndSell)
- Filters trade direction. Only applies if GlobalMaxOpenOrders > 0.
3. ProfitLossAllOrders (enum: OnlyProfitPositions / OnlyLossPositions / ProfitAndLossPositions)
- Filters by current profit or loss. Only applies if GlobalMaxOpenOrders > 0.
4. ConcernedMode (enum: AllOrders / ConcernedOrders)
- AllOrders: close every order on the symbol.
- ConcernedOrders: close only those that met direction & P/L filters.
- Only applies if GlobalMaxOpenOrders > 0.
5. Ping (int)
- Scanning interval in seconds.
6. CustomizedSettings (string)
- Per-symbol overrides when GlobalMaxOpenOrders = 0.
- Format: SYMBOL,DIR,PL,CN,THR;...
• SYMBOL = instrument name (e.g. EURUSD)
• DIR = B (buy), S (sell), A (all)
• PL = P (profit), L (loss), X (profit & loss)
• CN = C (ConcernedOrders), A (AllOrders)
• THR = threshold integer
- Example: EURUSD,B,P,C,4;USDJPY,A,X,A,6
How It Works:
- If GlobalMaxOpenOrders > 0, the EA uses only global settings and ignores CustomizedSettings.
- If GlobalMaxOpenOrders = 0, the EA applies each entry in CustomizedSettings for that symbol.
安全须知
本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。
EA 配置
| 交易品种 | XAUUSD |
| 时间框架 | H1 (推荐) |
| 推荐经纪商 | IC Markets, IC Trading |
| 最低存款 | $300 / 0.01手 |
📸 截图预览