Pressure Box EA
Automates volatility-compression breakout setups in MetaTrader 5 by detecting tight Pressure Box ranges, confirming expansion, and applying structured entries, stops, targets, sessions, spread filters, and risk controls.
Fit check
Review fit, evidence, and next action.
Best for
- Automated volatility-compression breakout testing
- Confirmed expansion setups after tight box formation
Not for
- Blind live trading without Strategy Tester, demo, and broker-specific validation
- Random range breakouts without box quality and breakout confirmation
Evidence
Next step
- Platform
- MetaTrader 5
- Type
- Expert Advisor
- Access
- MQL5 Market
- Premium
- Version
- v1.1
- 28 May 2026
Tools navigation
On this page
Performance evidence
Strategy Tester evidence for linked setfiles. These snapshots document tested scenarios only; they are not live performance guidance.
EURUSD M15
Result summary
Source report and full metrics
All report metrics
Derived from initial deposit plus total net profit.
Derived from total net profit / initial deposit.
Historical tester result.
Profit trades: 290 of 611 total trades.
Maximal balance drawdown.
Maximal equity drawdown.
Account currency in the Strategy Tester report.
Gross profit divided by gross loss in the tester report.
Closed trades in the tester report.
Source report image
Backtesting limitations
- This snapshot belongs to the exact EURUSD M15 v1.1 setfile linked in this section and should not be read as a general product result.
- Backtest results depend on data source, broker conditions, spread, commission, execution assumptions, and test period.
- Backtests and examples cannot guarantee future results and may differ from live execution.
Testing assets
Linked setfiles are research baselines for the named symbol and timeframe. Treat them as starting points for Strategy Tester work, not live trading instructions.
Pressure Box EA EURUSD M15
EURUSD M15 v1.1 research baseline for testing Pressure Box compression-breakout logic with the linked Strategy Tester snapshot.
- Platform
- MetaTrader 5
- Asset
- EURUSD
- Timeframe
- M15
- Profile
- EURUSD M15 v1.1
v1.1 · 2026-05-28
v1.1
2026-05-28
5 KB
Optional legacy downloads Older versions Archived baselines stay available here while the current v1.1 setfiles remain the primary downloads. 1 file
Pressure Box EA EURUSD M15 v1.0
v1.0Legacy EURUSD M15 v1.0 starter configuration retained for users who still need the previous baseline.
- Platform
- MetaTrader 5
- Asset
- EURUSD
- Timeframe
- M15
- Profile
- Legacy EURUSD M15 v1.0
Pressure Box EA is built around one market idea: tight volatility compression can lead to directional expansion, but the breakout still has to prove enough quality before automation is allowed.
Pressure Box EA automates a compression-breakout workflow in MetaTrader 5: define a compact box, confirm that price has broken out with measurable strength, then apply entry, stop, target, spread, session, and risk checks.
It is not a general range robot. It does not trade every sideways market. The value of the EA is that it makes the compression-to-expansion model explicit enough to test, reject, or refine with evidence.
The market idea
Markets often alternate between contraction and expansion. A Pressure Box is a compact price structure where price stays inside a defined range and volatility contracts. That structure can become useful when the next move breaks out with enough confirmation to measure objectively.
The important word is “can.” A small range does not guarantee a clean move. Compression can continue, breakouts can fail, and news or poor liquidity can distort the setup. The EA is designed to ask a narrower question: did price build a box that meets the configured quality rules, and did the breakout meet the configured expansion rules?
That separation helps keep the model testable. Box quality, breakout quality, entry style, stop model, target model, and risk controls can be reviewed as separate decisions instead of being blended into one discretionary impression.
How the EA reads a setup
The first layer is Pressure Box formation. The EA scans for a narrow range using settings such as lookback, minimum and maximum box bars, ATR relation, average-range limits, candle-body behavior, close behavior, range cleanliness, spread, and session context.
The second layer is breakout confirmation. A valid breakout should show more than a simple touch outside the box. The EA can require a close outside the range, minimum breakout distance, breakout candle range, candle body size, close-position quality, optional volume confirmation, and a minimum planned risk-reward ratio.
The third layer is entry style. The EA can enter after a confirmed breakout close, place stop orders above or below the box, or wait for a retest limit entry near the broken box boundary. Each mode should be tested separately before combining assumptions.
The fourth layer is risk and trade management. Stops can be placed behind the box, behind the breakout candle, or with ATR-based logic. Targets can use fixed risk-reward, box-range multiples, or ATR-based distances. Session filters, spread limits, daily trade limits, maximum open positions, break-even, trailing, drawdown brake, dashboard, and CSV logging complete the workflow.
Version 1.1 also treats open positions and pending orders as combined managed exposure. When the configured exposure slot is occupied, the EA pauses new scans and keeps the active trade context visible on the chart with the originating pressure box, entry, stop, target, direction, RR, and lot size.
Settings to configure first
Start with the box settings. Review lookback, box size, ATR relation, average range, candle-body limits, close behavior, and minimum compression score until the EA is detecting structures that make sense for the symbol and timeframe.
Then tune breakout confirmation. Require a candle close outside the box when you need stricter evidence. Test minimum breakout distance, candle range, body size, close position, volume filter, and minimum RR one group at a time.
Only after that should entry mode and trade management be optimized. Breakout close, stop order, and retest limit entries create different execution profiles. Stops behind the box, behind the breakout candle, or ATR-based stops also change the entire risk-reward shape.
Risk settings need their own pass. Risk percent, maximum risk, daily trade count, maximum open positions, spread filter, session window, pending-order expiration, drawdown brake, break-even, trailing, and broker stop-distance rules can all change both risk and trade frequency.
Testing workflow
Use the included EURUSD M15 v1.1 setfile as a research baseline. It is not a live trading instruction. It is a documented starting point for reproducing and challenging the published Strategy Tester snapshot.
Test one symbol and one timeframe at a time. Confirm broker symbol specification, point size, tick value, commission, spread, slippage, server time, and session mapping before comparing settings. Then optimize in order: box detection, breakout confirmation, entry mode, stop and target logic, risk controls, then trade management.
Do not optimize everything at once. A strong-looking backtest can become fragile when too many parameters are tuned together. Use out-of-sample periods, higher spread assumptions, worse slippage, and demo execution before considering live risk.
Reading the evidence
The product page links the EURUSD M15 v1.1 setfile, user manual, MQL5 listing, changelog, and one Strategy Tester screenshot for the same setfile. The snapshot documents the test period, modelling quality, core metrics, and source image.
That evidence is useful because it gives users a concrete scenario to inspect. It is also limited. It does not mean another broker, spread model, commission model, symbol, session, or live execution environment will match the same outcome.
The correct reading is practical: use the snapshot to understand the tested scenario, then reproduce and challenge the assumptions on your own installation.
When not to use it
Avoid blind live deployment. Avoid using the EA during news conditions, unstable spreads, low-liquidity sessions, untested symbols, or broker environments where stop distances and execution rules are unclear.
Be cautious when boxes form inside messy chop or when a larger trend is already extended. A breakout can fail even when the box looks clean.
Pressure Box EA can make compression-breakout rules consistent. It cannot make expansion predictable, and it cannot replace the user’s market selection, risk limits, account rules, or testing process.
Key parameters
Configure these settings before live use. Review each group on the exact symbol, timeframe, broker, and account rules you intend to test.
| Setting | What to configure |
|---|---|
| Pressure Box detection | Configure lookback, minimum and maximum box bars, ATR relation, average-range limits, candle-body behavior, close behavior, and compression score. |
| Breakout confirmation | Require a close outside the box, minimum breakout distance, candle range, body size, close-position quality, optional volume filter, and minimum RR. |
| Entry mode | Test breakout close entries, stop orders above or below the box, or retest limit entries near the broken boundary. |
| Stop and target model | Use stops behind the box, behind the breakout candle, or ATR-based logic, then compare fixed RR, box-range, and ATR target models. |
| Risk and trade limits | Review risk percent, maximum risk, daily trade count, combined open-position and pending-order exposure, spread filter, session filter, pending-order expiration, and drawdown brake. |
| Management and logging | Test break-even, trailing stop, dashboard display, visual objects, Journal diagnostics, and CSV trade logging separately before combining them. |
Operating boundaries
Works well for
- Detecting compact Pressure Box structures before a breakout becomes relevant
- Filtering weak breakouts with close, distance, body, range, volume, and minimum RR checks
- Keeping entries, stops, targets, exposure limits, sessions, spread, trade management, active-trade overlays, and logging inside one testable EA workflow
Limitations
- The published snapshot covers EURUSD M15 v1.1 so far; other symbols, timeframes, sessions, and brokers still need independent testing
- Compression-breakout models can fail during noisy ranges, news-driven spikes, or poor-liquidity sessions
- Live results can differ from tests because of broker data, spread, commission, slippage, and execution
User must test
- Symbol, timeframe, box lookback, box size, ATR relation, candle behavior, and compression score
- Breakout close, distance, candle range, body size, volume filter, entry mode, and minimum risk-reward
- Stop model, target model, risk percent, session window, spread, daily trade limits, drawdown brake, and broker server time
Resources
Pressure Box EA user manual
Installation notes, Pressure Box setup logic, entry modes, stop and target models, risk controls, logging, and testing workflow.
- Format
- Version
- v1
- File
- 28 KB
Version history v1.1 2026-05-27 · Pressure Box EA v1.1
Pressure Box EA v1.1
Added
- Added combined exposure handling through open positions plus pending orders for the current symbol and
MagicNumber. - Added an exposure-slot check before new signal scanning so the EA waits when
MaxOpenPositionsis already reached. - Added persistent active-trade drawings for pending orders and open positions, including the originating pressure box, entry, SL, TP, direction, RR, and lot size.
- Added stored pressure-box context to trade records so active trade overlays can remain visible after the live setup scan is cleared.
- Added order-cancel, order-expiry, and order-rejection handling to close inactive trade records and refresh active-trade drawings.
Changed
- Changed
MaxOpenPositionssemantics to limit total managed exposure, not only open positions. - Changed live setup drawings to use the
PPB_LIVE_prefix and active trade drawings to use the separatePPB_TRADE_prefix. - Changed signal scanning to pause and clear transient setup drawings while an active position or pending order is occupying the exposure slot.
- Changed executed trade-plan visual handling so temporary setup objects are removed and replaced by persistent active-trade overlays.
- Changed active trade records to update from actual deal data after entry, including fill price, volume, entry time, equity, and initial risk.
Improved
- Improved chart clarity by keeping active trade context visible while new box scans are paused or refreshed.
- Improved dashboard and journal diagnostics by using the same combined exposure count throughout the EA.
- Improved cleanup compatibility by retaining legacy
PPB_DRAW_object cleanup while moving new objects to the split live/trade prefixes. - Improved documentation for visual object behaviour and the new exposure handling model.