ChronoTrader
- Utilities
- Version: 1.0
🕒 ChronoTrader.mq5 — Time-Controlled Trade Management EA
ChronoTrader is a lightweight, powerful Expert Advisor for MetaTrader 5 designed to automatically manage your open positions based on specific times of day. Perfect for traders who want to enforce discipline, automate daily close-outs, and optionally re-enter markets under predefined conditions.
✅ Features
-
⏰ Time-Based Trade Closure
Automatically closes all open trades at a user-defined local time—ideal for end-of-day or pre-news risk management. -
🔁 Intelligent Auto-Reopen
Reopens previously closed positions only when price conditions are met (e.g., price returns to original entry). This keeps your strategy intact without unnecessary re-entries. -
🖥️ Visual Control Panel
Fully interactive GUI panel on the chart lets you adjust closing/reopening times and toggle auto-reopen without modifying code. -
🔔 Smart Notifications & Logging
Get alerts, mobile push notifications, and maintain a clean .log file tracking all EA actions. -
📊 CSV Trade Report
Automatically creates a CSV file with full trade history (symbol, entry, SL/TP, type, time closed, time reopened).
⚙️ Inputs
| Parameter | Description |
|---|---|
| InputCloseHour | Hour to close all trades (local time). Default: 23 |
| InputCloseMinute | Minute to close all trades (local time). Default: 59 |
| InputReopenHour | Hour to attempt reopening trades (local time). Default: 0 |
| InputReopenMinute | Minute to attempt reopening trades (local time). Default: 1 |
| InputEnableAutoReopen | Toggle automatic reopening of positions. Default: true |
| NotifyOnCloseSuccess | Alert and notify on successful trade closure. Default: true |
| NotifyOnCloseFailure | Notify if a trade could not be closed. Default: true |
| NotifyOnReopenSuccess | Alert and notify on successful trade reopening. Default: true |
| NotifyOnReopenFailure | Notify if trade reopening fails. Default: true |
📌 Who It's For
-
Day traders who need to close trades automatically before specific sessions end.
-
Prop firm traders and risk-averse users who avoid overnight exposure.
-
Algorithmic/systematic traders looking to reset trades cleanly each day.
-
Multi-account managers who want consistent timing across all symbols.
📝 Notes
-
All times are based on your local machine time.
-
EA does not open new trades — it only manages existing ones.
-
Attach the EA to any chart — it monitors all positions across symbols.
-
Only one instance of the EA is needed per account.
📥 Try ChronoTrader today and take control of your trade timing — with confidence and clarity!
