Ballast EA Pause
- 유틸리티
- 버전: 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: around high-impact news, 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.
- News: high or medium impact events from the built-in MT5 calendar, minutes before and after. Only the charts whose symbol uses that currency are paused (EURUSD for EUR or USD news, USDJPY stays on for EUR news), or a fixed currency list.
- 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 weekday test on a demo account with real demo trades: the news rule paused EURUSD and USDJPY for USD news and GBPUSD for GBP news from the real calendar; a daily-loss pause with an open demo position paused every EA and closed the position; two real losing trades started the losing-streak pause for the set 5 minutes; every EA restarted afterwards.
- Live, demo terminal, three test EAs with their own inputs, each writing a heartbeat four times a second: a pause by time window started on the minute, the heartbeats stopped, and at the end of the window all three restarted with the same inputs. Removing EA Pause, closing its chart, a template over it and a removal 1.2 seconds after it paused: every EA restarted. The terminal closed while paused and opened again: still paused, restarted at the end of the window. Spread and manual pauses: correct. Indicators on the paused charts: kept.
- Strategy Tester, EURUSD M15, two months, the rules logged with a demo trade every two hours: 106 pauses; time window and weekend on the minute; all 64 runs of two losing trades caught, each pause ending 180 minutes after the last loss as set; all 11 daily-loss pauses held until midnight; 0 of 179 demo trades opened during a pause. Market-style check on 8 symbols and timeframes: 0 errors.
- The news rule reads the built-in calendar the same way as Ballast News Shield.
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.
Works well with
- Ballast Prop Guard — keeps a prop-firm challenge inside the daily and total loss limits
- Ballast News Shield — closes trades and blocks trading around high-impact news
- Ballast Account Alerts — push alerts for equity drops, low margin and trades without a stop
- Ballast Backtest Stress Test — is your EA's optimised backtest an edge or search luck?
