支持中心 帮助文档 联系我们
📱 微信: 18391752892 | 💬 QQ: 3313198376 | ✈️ Telegram | 📧 fishfx123@gmail.com
EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34% EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34%

Advanced Close Logic EA

👤 作者: SERGUEI PROKHOROV

4.5 分

¥210.00

📌 版本: v1
📥 下载: 0
⭐ 评分: 4.5

📝 产品详情

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手

📸 截图预览