Xtra Grid System
- 유틸리티
- 버전: 1.96
- 업데이트됨: 25 5월 2026
🧩 Core Grid Strategy
-
Places Buy Stop and Sell Stop pending orders on both sides of the current price.
-
Configurable distance to the first level and spacing between same‑side levels.
-
Uses a custom list of lot sizes (comma‑separated) – one lot per level.
-
Maximum number of levels per side can be limited.
💰 Money Management
-
Basket Take Profit – closes all orders when the total floating profit (incl. swaps) reaches a target in account currency.
-
Basket Stop Loss – closes all orders if the total loss hits a threshold (optional, can be disabled).
-
Cooldown after a take profit – waits a configurable number of seconds before placing a new grid.
🛡️ Protective Filters
-
Loss Pause – if the floating loss reaches a set amount, all orders are closed and the EA pauses for X hours (1–72), then resumes automatically.
-
Grid Duration Limit – if the grid remains open (no TP/SL) for longer than X hours, it is closed. You can choose whether the EA restarts trading or stops completely.
-
Maximum Spread – prevents placing a new grid when the spread is too high.
⏱️ Scheduling & Time Filters
-
Weekend Pause (GMT+5) – closes all orders at a specific day/time (e.g., Saturday 01:00) and resumes at another day/time (e.g., Monday 03:00). Includes on/off switch.
-
Daily Pause (GMT+5) – closes all orders during a configurable daily window (e.g., 01:00–03:00).
-
Trading Time Filter – only allows trading between specified server times. Optionally closes all orders when outside the allowed period.
-
Friday Close – closes all orders at a configurable time on Friday (to avoid weekend gaps).
📈 Pending Order Trailing
-
One‑way trailing – Buy Stops are moved down only; Sell Stops are moved up only, keeping them at their designated distances relative to the current price. Can be enabled/disabled.
🔄 State Machine & Recovery
-
Five internal states: IDLE, ACTIVE, COOLDOWN (after TP), LOSS_PAUSED, and WAIT_CLOSE.
-
WAIT_CLOSE state – if closing orders fails (e.g., market already closed), the EA retries every 10 seconds until success, preventing it from getting stuck and never trading again.
-
Restart after SL/Duration options – you control whether the EA continues placing new grids after a stop‑loss or grid‑timeout event, or stops permanently.
⚙️ Operational Details
-
All orders use a unique magic number to avoid interfering with other EAs.
-
FOK filling (Fill or Kill) is used by default (no longer an input).
-
Custom order comment for easy identification.
-
No graphical panel – all status is printed in the Experts journal.
