Regime Pulse is an MQL5 Expert Advisor for MetaTrader 5, version 1.02. It is a BTC-focused M1 regime EA with five market regimes: DEAD, RANGE, TREND, EXPANSION and CHAOS.
Signals are built from M1 data even if the chart is on another timeframe. The EA trades the symbol it is attached to; it is written as a BTC-specific advisor. Lot size is fixed by default, or can be set from a risk percentage of equity. Unfilled stop orders expire after a set number of bars.
Nothing on this page is a performance claim. No Expert Advisor can guarantee profit. Test on a demo account before using live funds.
How it decides
The regime engine combines an efficiency ratio with an ATR percentile over a long lookback (1,440 M1 bars by default, about 24 hours), plus a Donchian breakout and a tick-volume surge check for expansion. A new regime must hold for a confirmation count, and a regime must last a minimum number of bars before it can change.
- DEAD: ATR is in a low percentile. No new trades.
- RANGE: low efficiency ratio. The EA can fade Bollinger-band extremes back toward the middle, if a minimum reward-to-risk to the mid-band is met.
- TREND: higher efficiency ratio. The EA looks for a pullback to a fast EMA, then places a stop entry above or below the signal bar, in line with the M15 EMA bias.
- EXPANSION: high ATR percentile plus a breakout and volume surge. One momentum entry per breakout direction.
- CHAOS: extremely high ATR percentile. No new trades. Closing open trades when CHAOS starts is optional and off by default.
Exits use ATR stops (tighter rules for range trades), an ATR take-profit on trend and expansion trades, a move to breakeven, and an ATR trail. Range stops are placed beyond the signal-bar wick, with a maximum ATR cap.
Risk controls
- A spread cap as a fraction of ATR, a session window (13:00–21:00 server time by default), and weekend trading off by default.
- A daily loss cap for this EA’s closed and floating P/L only (default 5% of balance).
- One new entry per bar (on by default), a cooldown after a losing close (default 20 minutes, same direction only unless you widen it), and a maximum of two open positions plus pending orders.
- A breakout guard that can block trades against a large recent move, and an anti-chase cap on distance from the higher-timeframe EMA. Stops can be floored by a multiple of HTF ATR.
- A warning if more than one copy is attached to the same symbol with the same magic number.
Recommended use
| Platform | MetaTrader 5 |
|---|---|
| Version | 1.02 |
| Symbols | Written for BTCUSD on M1. It trades the chart symbol and reads M1 data. |
| Timeframe | M1 (designed for M1; signals still use M1 data on another chart period) |
| Account type | Raw-spread or ECN (low-spread) account recommended |
| First use | Attach the EA on a demo account and confirm your inputs before any live use |
Key settings
| InpMagic | 7780001 |
|---|---|
| InpLotMode / InpFixedLot | Fixed lot / 0.01 (risk-percent mode is optional) |
| InpMaxPositions | 2 |
| InpTradeRange / InpTradeTrend / InpTradeExpansion | true / true / true |
| InpHTF | M15, with a 50-period EMA bias |
| InpSL_ATR / InpTP_ATR | 1.5 / 3.0 (trend and expansion) |
| InpDailyLossPct | 5.0% (0 = off) |
| InpUseSession / InpTradeWeekend | true, 13:00–21:00 server time / false |
Requirements
- A MetaTrader 5 terminal and a broker account you control.
- A raw-spread or ECN (low-spread) account is recommended.
- You remain responsible for inputs, risk limits, and supervision while the EA is running.
Trading leveraged products is high risk. This is not financial advice. Past performance is not indicative of future results. Read the risk disclaimer.