Stairway D1 Breakout EA
Built for the few moves that matter.
Stairway D1 Breakout EA is a patient multi-asset breakout Expert Advisor for MetaTrader 5, designed for traders who prefer simple, transparent and low-maintenance D1 systems.
The EA is calibrated for three major markets:
GOLD / XAUUSD
US100 / NAS100 / USTEC
BTCUSD
The system is based on a simple idea: most of the time, markets do not offer meaningful breakout opportunities. But from time to time, strong upside moves appear — and these rare moves can drive a significant part of long-term performance.
Stairway does not try to trade every day. It waits for selected long-side breakout conditions, places BUY STOP orders above recent D1 highs, and manages open positions with a trailing stop instead of using a fixed Take Profit.
This EA is designed for patient traders who understand that long flat periods are a natural part of breakout and trend-following systems.
Stairway D1 Breakout EA is also monitored on the author’s own live real-money account.
The purpose of this account is to provide additional transparency around the real trading behaviour of the strategy, including growth, drawdown, trading frequency and account development over time.
Track the progress here: https://www.mql5.com/en/signals/2373518
Contents:
1. Core Strategy
2. Supported Market Profiles
3. How The EA Trades
4. Trade Management
5. Risk Management
6. Max Drawdown Pause
7. Safety Filters
8. How The Equity Curve May Behave
9. Recommended Setup
10. Capital Requirements
11. Tested Leverage and Broker Conditions
12. What This EA Does Not Do
13. Who This EA Is For
14. Who This EA Is Not For
15. Backtesting and Monitoring
16. Important Risk Notice
17. Summary
1. Core Strategy
Stairway D1 Breakout EA uses daily breakout logic combined with a long-term trend filter.
The EA trades long only.
The main trading condition is based on:
- D1 breakout above the recent high range,
- long-side trend confirmation,
- MA50 above MA300,
- valid broker trading conditions,
- sufficient historical data,
- margin and volume checks.
When the market is in a favourable long-side environment, the EA may place a BUY STOP pending order above the recent high range.
The EA does not open short positions.
The EA does not use a fixed Take Profit.
Open positions are managed by a trailing stop, allowing the system to stay in strong upside moves for as long as the market continues to support the trend.
2. Supported Market Profiles
The EA includes automatic profile detection for common broker symbol names.
Recommended profiles:
GOLD profile:
GOLD, GOLD.PRO, XAUUSD, XAUUSD., XAUUSDm, XAUUSD.pro, XAUUSD.r, XAUUSD.raw, GOLDmicro, GOLD.cash
US100 profile:
US100, US100.cash, US100.pro, NAS100, NAS100.cash, NAS100.pro, USTEC, USTEC.cash, USTECH, NASDAQ100, NDX100, USNAS100
BTCUSD profile:
BTCUSD, BTCUSD., BTCUSDm, BTCUSD.pro, BTCUSD.r, BTCUSD.raw, BTCUSD.cash, BTCUSD#
If the symbol is recognised, the EA automatically applies the corresponding internal profile.
If the symbol is not recognised, the EA uses a generic Default profile. The Default profile is not part of the recommended setup and should be treated as experimental/demo only.
Recommended use:
- GOLD / XAUUSD symbols for the GOLD profile,
- US100 / NAS100 / USTEC symbols for the US100 profile,
- BTCUSD symbols for the BTCUSD profile,
- Default profile only for unsupported symbols and testing.
3. How The EA Trades
The EA works with pending breakout orders.
When the trend and breakout conditions are valid, the EA calculates a BUY STOP level above the recent D1 high range.
Before sending the order, the EA checks:
- symbol trading mode,
- broker session availability,
- weekend and maintenance window filters for non-crypto instruments,
- minimum stop and freeze levels,
- tick size and price normalization,
- available margin,
- minimum and maximum lot size,
- volume step,
- historical data availability.
The EA keeps a maximum of one active EA pending order per symbol.
If market conditions change and the long-side trend filter is no longer valid, the EA removes its own pending order for that symbol.
Existing positions are managed separately by the trailing stop logic.
4. Trade Management
The EA does not use a fixed Take Profit.
This is intentional.
Breakout systems are often driven by a small number of large moves. A fixed Take Profit can cut these moves too early. Stairway instead uses trailing stop management, so that profitable positions can continue as long as the market allows.
The initial Stop Loss is based on market volatility.
The trailing stop is also volatility-based and moves only in the favourable direction.
For long positions, the trailing stop can move upward, but it will not be lowered by the EA.
The EA closes trades through Stop Loss / trailing stop logic.
The objective is to protect the position while avoiding unnecessary limits on exceptional upside moves.
5. Risk Management
The default risk setting is 1% of account balance per trade.
Position size is calculated using:
- account balance,
- selected risk percentage,
- actual Stop Loss distance,
- tick size,
- tick value,
- broker volume limits.
The EA automatically normalizes volume to the broker’s minimum lot, maximum lot and volume step.
If the calculated volume is too large for available margin, the EA attempts to reduce the volume to a level that fits the account’s available free margin.
Important: if the calculated position size is below the broker’s minimum lot, the EA may use the broker’s minimum volume. On small accounts, this can increase the effective risk per trade above the intended default level.
This is why account size and broker contract specifications matter.
6. Max Drawdown Pause
The EA includes a Max Drawdown Pause safety function.
Default setting:
MaxDrawdownPause = true
MaxDrawdownPercent = 25%
If account equity drawdown from the EA’s tracked peak equity reaches the defined limit, the EA stops opening new trades and removes its own pending order.
Existing positions are not force-closed by this function.
They continue to be managed by the trailing stop logic.
This function is designed as a safety pause for abnormal drawdown conditions, not as a guaranteed protection against losses.
7. Safety Filters
The EA includes several technical safety checks:
- margin check before order placement,
- automatic volume adjustment to available margin,
- broker minimum and maximum volume validation,
- volume step normalization,
- broker stop level and freeze level checks,
- price normalization to tick size,
- historical data readiness checks,
- weekend filter for non-crypto symbols,
- maintenance window filter for non-crypto symbols,
- broker trade session checks,
- trade mode checks,
- Max Drawdown Pause.
The EA does not use grid, martingale or averaging down.
8. How The Equity Curve May Behave
This is not a robot designed for daily profits.
The EA may stay inactive for days, weeks or even longer when the market does not offer the right breakout conditions. This is expected behaviour.
The equity curve may stay flat or slightly decline during quiet market periods. The objective is not to create a perfectly smooth curve. The objective is to capture selected breakout moves when they occur.
The system is designed to behave like a staircase:
- long periods of waiting,
- controlled risk during inactive or weak periods,
- sudden equity jumps when a strong breakout move develops,
- trailing stop management instead of fixed profit limitation.
This is why the EA is called Stairway D1 Breakout EA.
9. Recommended Setup
Recommended platform:
MetaTrader 5
Recommended timeframe:
D1
The EA has a SignalTimeframe input. The recommended setup is to run it on D1 charts or set the signal timeframe to D1.
Recommended instruments:
GOLD / XAUUSD
US100 / NAS100 / USTEC
BTCUSD
Recommended usage:
- run the EA on a VPS,
- attach it to the relevant charts,
- use the default recommended settings,
- do not over-optimise,
- do not change advanced parameters unless you fully understand the risk,
- use for at least 6–12 months to give the system enough time to capture potential breakout windows.
Recommended account type:
MT5 Hedging account is recommended.
Netting accounts may change how multiple entries and trailing stop management behave. If you use a netting account, test carefully on demo first.
10. Capital Requirements
The recommended account size depends on your broker’s contract specifications, leverage, minimum lot size, tick value and margin requirements.
As a practical reference, an account size of around 10,000 USD may be more suitable when the broker’s minimum trade size is 0.01 lot and the user wants to keep effective risk per trade close to the intended default level.
Smaller accounts may technically work with some brokers, but the effective risk per trade may become higher because of minimum lot size limitations.
Before using the EA on a live account, always check:
- minimum lot size,
- lot step,
- tick value,
- contract size,
- margin requirements,
- spread,
- swap,
- symbol name,
- trading hours,
- broker execution conditions.
11. Tested Leverage and Broker Conditions
The EA was developed and tested using broker conditions similar to OANDA TMS specifications for the recommended instruments.
Recommended tested leverage / margin environment:
GOLD / XAUUSD:
- tested around 5% margin requirement for standard retail CFD conditions, equivalent to approximately 1:20 leverage.
US100 / NAS100 / USTEC:
- tested around 5% margin requirement for standard retail CFD conditions, equivalent to approximately 1:20 leverage.
BTCUSD:
- tested around 50% margin requirement, equivalent to approximately 1:2 leverage.
These leverage and margin conditions are treated as the recommended reference environment for the EA.
Using the EA with significantly different leverage, margin requirements, contract sizes, symbol specifications or broker conditions may change the behaviour of the system, including position sizing, margin usage, order acceptance and drawdown profile.
Other leverage levels and broker conditions should be considered untested and used at the user’s own risk.
Important: the EA calculates position size based on account balance, risk percentage, Stop Loss distance, tick value and broker volume limits. However, leverage and margin requirements can still affect whether a trade can be opened, whether the calculated volume needs to be reduced, or whether the minimum lot size creates higher effective risk on small accounts.
Always check your broker’s:
- leverage,
- margin requirement,
- contract size,
- minimum lot,
- lot step,
- tick value,
- trading hours,
- symbol specification,
before using the EA on a live account.
12. What This EA Does Not Do
Stairway D1 Breakout EA is not:
- a scalper,
- a grid system,
- a martingale system,
- an averaging-down system,
- a high-frequency trading robot,
- a daily-income robot,
- a guaranteed-profit system,
- a “set and profit every day” system.
The EA does not try to force trades when breakout conditions are not present.
If you expect frequent trades or smooth monthly profits, this EA is probably not for you.
13. Who This EA Is For
Stairway D1 Breakout EA may be suitable for traders who:
- prefer D1 systems,
- understand breakout and trend-following logic,
- accept long periods without trades,
- are comfortable with non-smooth equity curves,
- want a low-maintenance system,
- are looking for exposure to GOLD, US100 and BTCUSD,
- understand that the strongest results may come from a small number of important trades,
- are willing to use the system for at least 6–12 months.
14. Who This EA Is Not For
This EA is not suitable for traders who:
- expect daily trades,
- expect guaranteed monthly profit,
- cannot tolerate several quiet months,
- want a scalping robot,
- want a grid or martingale system,
- want to constantly modify settings,
- use very small accounts without checking minimum lot size,
- do not understand CFD, index, commodity or crypto risk.
15. Backtesting and Monitoring
The EA has been tested historically on the recommended instruments and timeframe.
Backtests are useful for understanding the logic and long-term behaviour of the strategy, but they should never be treated as a guarantee of future performance.
When testing the EA, please use realistic assumptions:
- real broker symbol specification,
- realistic spread,
- realistic commission if applicable,
- correct D1 timeframe,
- sufficient historical data,
- correct account currency,
- realistic leverage,
- proper deposit size.
Different brokers may produce different results because of differences in spreads, swaps, execution, symbol specifications, contract sizes and trading sessions.
Live monitoring and screenshots may be provided for transparency, but live results, backtests and historical performance do not guarantee future results.
16. Important Risk Notice
Trading Forex, CFDs, indices, commodities and cryptocurrencies involves substantial risk.
You can lose part or all of your trading capital.
Past performance, live monitoring, backtests, modelling results and historical statistics do not guarantee future performance.
Use only capital you can afford to lose.
Always test the EA in the Strategy Tester and on a demo account before using it on a live account.
By using this EA, you accept full responsibility for your trading decisions, broker selection, account risk, lot size, leverage and trading results.
17. Summary
Stairway D1 Breakout EA is a patient D1 breakout system designed for GOLD, US100 and BTCUSD.
It waits for selected upside breakout conditions.
It uses BUY STOP pending orders.
It trades long only.
It uses MA50 / MA300 trend confirmation.
It uses volatility-based Stop Loss and trailing stop management.
It does not use fixed Take Profit.
It does not use grid, martingale or averaging down.
It includes margin, volume, session and drawdown safety checks.
It is built for the few moves that matter.