Ballast EA Pause MT4
- 유틸리티
- 버전: 1.0
- 활성화: 5
Pauses the Expert Advisors on your other charts when trading is a bad idea, and restarts them afterwards with their own settings: after a daily loss or a run of losing trades, at the hours you choose, or while the spread is too wide. One copy on one chart looks after all the others.
Any EA works as it is: no code changes, no DLL, no web requests.
- How a pause works: EA Pause saves the chart's template, takes the EA off the chart and keeps everything else (indicators, drawings, settings). While paused the EA cannot open, change or close anything. When the pause ends the saved template is applied back: the same EA with the same inputs starts again.
- Daily loss: once the account is down X% from the day start (closed trades of the day plus open losses), every EA stays off for the rest of the day. The day starts at any server hour.
- Losing streak: after N losing trades in a row every EA is paused for M minutes.
- Hours: a daily window, e.g. 23:50-00:30 around the rollover, and the weekend from a Friday time to a Monday time (server time).
- Spread: a chart is paused while the spread of its own symbol is above your limit, and restarts after it has been normal for a set number of seconds.
- Manual: Pause all and Resume buttons on the panel. Your own scripts or EAs can pause everything too by setting the terminal global variable BallastEAPause_Manual to 1 (0 resumes).
- During a pause (optional): delete the pending orders, or close the positions and pending orders on the paused charts' symbols. EA trades only (magic number not 0) unless you include manual trades.
- Safe by design: removing EA Pause, closing its chart or putting another template over it restarts every EA it paused. A terminal restart keeps the paused state. Only one copy runs per terminal. Lists of EAs to pause only or never to pause. The panel shows every EA, its chart and why it is paused; alert and push notification on every pause and restart.
Tested
- Live, demo terminal, three test EAs with their own inputs and a custom indicator on each chart: pauses by time window, spread and manual; every EA restarted when the pause ended, when EA Pause was removed, its chart closed, a template put over it, and 1.2 seconds after it paused; the custom indicators stayed; the inputs were the same after every restart. The terminal closed while paused and opened again: still paused, all restarted when the pause ended.
- Strategy Tester, EURUSD M15, two months, the rules logged with a demo trade every two hours: 88 pauses on time, no run of two losing trades missed, 0 of 154 demo trades opened during a pause. EURUSD and GOLD: 0 errors.
Good to know
- A restarted EA starts fresh, exactly as after a terminal restart: its OnInit runs again. EAs that keep their state only in memory lose it; most EAs read their open trades again.
- The open trades of a paused EA keep their broker stop-loss and take-profit, but nothing trails or manages them during the pause unless you choose to close them.
- Applying a template takes the terminal about 1 to 10 seconds; EA Pause checks every chart and retries if needed.
- It works on the EAs of the terminal it runs in. Use one copy per terminal; leave its own chart free of other EAs.
- In the Strategy Tester there are no other charts: it logs every pause it would make and opens a small demo trade every two hours, skipping the pauses, so you can see the rules work.
- MT4 has no built-in economic calendar, so this version has no news rule.
Works well with
- Ballast Prop Guard MT4 — keeps a prop-firm challenge inside the daily and total loss limits
- Ballast Account Alerts MT4 — push alerts for equity drops, low margin and trades without a stop
- Ballast Equity Target MT4 — closes everything at a basket profit or loss target
