Bollinger Squeeze Breakout EA

  • Experts
  • Abdullah Al-murad
    Abdullah Al-murad
    I build Expert Advisors and utilities for MetaTrader 5, mainly for gold (XAUUSD), forex and crypto.
    How I build my products:
    - Every robot sends each order with a stop loss. No martingale, no grid averaging, no hidden rules.
    - Signals are calculated on closed bars, so they are not redrawn.
  • Versione: 1.0
  • Attivazioni: 5

Bollinger Squeeze Breakout EA is a volatility breakout robot for major forex pairs on the H1 chart. Quiet markets are followed by active ones: the EA waits for the Bollinger Bands to tighten and trades the move that follows.

HOW IT WORKS

  • Squeeze: the width of the Bollinger Bands (20, 2.0) is in the lowest 10% of its last 120 bars.
  • Entry: within 6 bars of a squeeze, an H1 candle closes above the upper band (buy) or below the lower band (sell).
  • Stop loss: 2 x ATR(14). Take profit: 3 x the stop distance.
  • Time exit after 48 bars. Optional ATR trailing stop (off by default).

The EA reads H1 data itself, so it can be attached to a chart of any timeframe. Attach one copy to each pair you want to trade.

INPUT PARAMETERS

Signal
  Working timeframe                       H1
  Bollinger period / deviations           20 / 2.0
  Squeeze compared with the last N bars   120
  Squeeze = lowest part of that range     0.10
  Squeeze within this many bars           6
Exit
  Stop loss, x ATR(14)                    2.0
  Take profit = stop distance x           3.0
  Trailing stop, x ATR(14)                0.0 (off)
  Close after this many bars              48

HISTORICAL SIMULATION (6 major pairs, H1, 2021-02 to 2026-12, fixed 0.01 lot)

The default settings were chosen on the first two thirds of the history only. The last third (from 2024-12) was not used for tuning. Spread is included, swap is not.

  EURUSD   built:  468 trades,     +16 USD   |   unseen:  197 trades,     +54 USD
  GBPUSD   built:  467 trades,     -93 USD   |   unseen:  196 trades,     +53 USD
  USDJPY   built:  421 trades,    +163 USD   |   unseen:  200 trades,     +28 USD
  AUDUSD   built:  379 trades,      +4 USD   |   unseen:  200 trades,     -25 USD
  USDCAD   built:  462 trades,    -160 USD   |   unseen:  230 trades,     +13 USD
  EURJPY   built:  383 trades,     +12 USD   |   unseen:  200 trades,      -3 USD
  TOTAL    built: 2580 trades,     -58 USD   |   unseen: 1223 trades,    +119 USD

Honest reading: in dollars the first period was slightly negative and the unseen period positive; pairs differ a lot (USDJPY and EURUSD positive, USDCAD and GBPUSD negative overall). About 30% of trades win, with larger winners than losers, so long losing streaks are normal. This simulation does not prove an edge.

RISK MANAGEMENT (same on every order)

  • A stop loss and a take profit are attached to every trade.
  • Fixed lot (default 0.01) or risk as a % of equity per trade.
  • Max loss at the stop: if the lot would lose more than the set % of equity at the stop, the stop (and the target, same ratio) is moved closer.
  • Margin check: no trade if it needs more than half of the free margin.
  • Volume is checked against the symbol's minimum, maximum, step and limit.
  • Broker stop level and freeze level are respected when opening, trailing and closing.
  • Works on hedging and netting accounts; one position per symbol, identified by its magic number.
  • No martingale, no grid, no averaging. No DLL and no external connections.
Money management inputs
  Fixed lot                               0.01
  Risk per trade, % of equity             0.0 (0 = fixed lot)
  Max loss at the stop, % of equity       5.0
  Max spread in points                    0 (0 = no limit)
  Magic number                            26120605

IMPORTANT

This Expert Advisor does not guarantee profit. The figures above come from the developer's own bar-by-bar simulation on historical prices, not from live trading; past results do not guarantee future results. Trading leveraged products involves a high risk of loss. Test on a demo account first and use only money you can afford to lose.

Altri dall’autore
PendingStops
Abdullah Al-murad
PendingStops places a set of Buy Stop orders above the price and Sell Stop orders below it, then manages the trade that triggers. It is built for breakout moves: when the price breaks out in one direction, the stop orders on that side fill and the orders on the other side are removed. HOW IT WORKS When nothing is open, the robot places your chosen number of Buy Stop orders above the Ask and Sell Stop orders below the Bid. The first order sits at the distance you set; the next ones are spaced by
GA Trade Manager
Abdullah Al-murad
You decide when to enter. GA Trade Manager takes care of everything after that. Attach it to any chart and it starts protecting the trades you open by hand, on that symbol or on all symbols. It works with gold, forex, indices and crypto, on any broker and any timeframe. It never opens a trade by itself. WHAT IT DOES FOR EVERY TRADE - Missing stop loss? It adds one at the distance you choose (in points). - Missing target? It adds a take profit at the distance you choose. - Break-even: after th
This robot puts nine well-known chart strategies into one robot, so you can choose which ones trade and how they work together. THE NINE STRATEGIES Scalp Pro - MACD-style line crosses on closed bars. Scalper Pro Gold - a breakout of the last swing after a quiet range, stop at the opposite swing, target at twice the risk. Liquidity Hunter - a sweep of the last swing high or low and a close back inside. Mxwll SMC - market structure: a change of character, stop at the opposite swing. Measured Move
Crypto Trend Breakout follows one clear rule on 4-hour candles: trade a breakout in the direction of the long trend, and let a trailing stop close the trade. HOW IT ENTERS Buy: a candle closes above the highest high of the previous 55 candles and above the EMA 200. Sell: a candle closes below the lowest low of the previous 55 candles and below the EMA 200. The order is sent in the first 30 minutes of the next H4 candle. Signals use closed candles only, so they are not redrawn. HOW IT EXITS The f
Forex Mean Reversion EA trades the statistical tendency of currency pairs to return to their recent average after extreme deviations. The strategy is based on a Z-score filter: when the closing price moves more than 2.5 standard deviations away from its 50-bar rolling mean on the H4 chart, the EA enters against the extreme move and targets a return toward the mean. HOW THE SIGNAL WORKS The EA computes, at the close of each H4 bar: Rolling mean of the last 50 close prices Rolling standard deviati
Trend Dip Buyer EA
Abdullah Al-murad
Trend Dip Buyer EA is a pullback robot for US stock indices: Nasdaq 100 (US100, NAS100, USTEC) and Dow Jones 30 (US30, DJ30). It buys short, sharp dips while the long-term trend is up, and sells the bounce a few days later. HOW IT WORKS Trend filter: the daily close must be above its 200-day simple moving average. Below it the EA stands aside. Dip: a 2-period RSI below 20 at the close of the day. Entry: buy at the open of the next day. Exit: when a daily close is above the 10-day moving average
London Breakout EA is a session breakout robot for major forex pairs (EURUSD, GBPUSD, USDCAD, EURJPY, AUDUSD and others). It takes at most one trade a day per pair and closes it the same day. HOW IT WORKS Asian range: the high and low between 01:00 and 09:00 broker server time. Entry window 09:00 to 13:00: the first M15 candle that closes above the range high is bought, below the range low is sold. Stop loss: the other side of the range. Take profit: 1.5 x the stop distance. Days when the range
Forex Trend Pullback EA trades major forex pairs in the direction of the H4 trend, entering on pullbacks instead of chasing breakouts. HOW IT WORKS Trend: EMA 50 above EMA 200 and price above EMA 200 is an uptrend; the mirror is a downtrend. Pullback: in an uptrend the 3-period RSI falls below 15 (buy); in a downtrend it rises above 85 (sell). The signal is taken only on the candle where RSI crosses the level. Stop loss: 1.5 x ATR(14). Take profit: 1.5 x the stop distance. Time exit after 30 bar
NY Open Breakout EA
Abdullah Al-murad
NY Open Breakout EA is an opening-range breakout robot for US stock indices: Nasdaq 100 (US100, NAS100, USTEC) and Dow Jones 30 (US30, DJ30). It takes at most one trade a day and never holds a position overnight. HOW IT WORKS At the New York cash open (16:30 broker server time on most brokers) the EA records the high and low of the first 30 minutes: the opening range. After the range is complete it waits for an M15 candle to close above the range high (buy) or below the range low (sell). Stop lo
H4 Trend Rider EA
Abdullah Al-murad
H4 Trend Rider EA is a trend-following robot for US stock indices: Nasdaq 100 (US100, NAS100, USTEC) and Dow Jones 30 (US30, DJ30). It enters on new highs in an uptrend and lets the trade run behind a trailing stop. HOW IT WORKS Entry: an H4 candle closes above the highest high of the previous 20 candles while price is above the 100-period EMA. Initial stop loss: 2 x ATR(14). Take profit: 8 x ATR(14). Trailing stop: 3 x ATR below the best price reached since the entry; it only moves in the trade
Gold Spike Reversal EA is a scalper for XAUUSD (gold) on one-minute bars. When gold jumps or drops suddenly in a single minute, price often gives part of the move back in the next minutes. The EA waits for such a spike and trades the snap-back against it, with a small stop and a target three times larger. HOW IT WORKS Spike: a closed M1 bar whose range is at least 3 times the average true range of the 20 bars before it, with a body of at least 60% of the bar. Entry: at the next bar, against the
Filtro:
Nessuna recensione
Rispondi alla recensione