Squeeze Breakout Trader
- エキスパート
- バージョン: 1.0
Squeeze Breakout Trader - Volatility Squeeze + Breakout EA
Squeeze Breakout Trader is a fully automated Expert Advisor that trades the classic "volatility squeeze" pattern: it waits for the market to compress into a low-volatility range, then enters as soon as price breaks out with expanding volatility. The squeeze is detected by comparing Bollinger Bands against a Keltner Channel - when the Bollinger Bands contract to fit entirely inside the (wider) Keltner Channel, volatility is unusually low and a strong directional move often follows.
How It Trades
- Computes Bollinger Bands (price volatility bands) and a Keltner Channel (EMA midline +/- an ATR-based envelope) on every new bar.
- Confirms a "squeeze": the Bollinger Bands were fully contained inside the Keltner Channel on the prior closed bar.
- Enters a Buy when price closes above the Keltner Channel upper band right after a squeeze (breakout up), or a Sell when price closes below the Keltner Channel lower band after a squeeze (breakout down).
- Stop Loss and Take Profit are set using an ATR multiple, so trade risk automatically adapts to current market volatility.
- Optional ATR-based trailing stop moves the stop as the trade moves into profit, with built-in checks so it never tries to modify a stop past the broker's minimum distance or too close to an existing Take Profit.
- Only one position is managed per symbol/magic number at a time - no grid, no martingale, no multiplying lot sizes after losses.
- Includes a maximum spread filter so trades are skipped automatically during abnormally wide-spread conditions (e.g. news spikes or illiquid sessions).
Key Features
- No grid, no martingale - straightforward single-position risk management
- Fully automated: no manual chart-watching required
- Volatility-adaptive stop loss and take profit via ATR
- Optional trailing stop with safety checks (minimum stop distance and take-profit proximity)
- Maximum spread filter to avoid trading during unstable pricing
- Clean, readable input groups for quick configuration
- Works on any symbol and timeframe offered by your broker; test thoroughly before live use
Input Parameters
- Magic Number - unique identifier for this EA's trades, so it never interferes with other EAs or manual trades on the same account.
- Time Frame - the chart timeframe the EA analyzes for its signals (default H1).
- Max Spread (points) - trades are skipped whenever the current spread exceeds this value.
- Bollinger Bands Period / Deviation - controls how the squeeze bands are calculated.
- Keltner EMA Period - period of the EMA that forms the Keltner Channel midline.
- Keltner ATR Period / Multiplier - controls the width of the Keltner Channel envelope.
- ATR Period - period of the ATR used for position sizing (Stop Loss / Take Profit distances).
- Stop Loss (ATR multiple) / Take Profit (ATR multiple) - risk and reward distances expressed as a multiple of current ATR.
- Lot Size - fixed trade volume used for every position.
- Use Trailing Stop - enables/disables the ATR trailing stop module.
- Trail Start (ATR multiple) / Trail Step (ATR multiple) - how far into profit (in ATR units) the trailing stop begins, and how far it steps each time.
Recommendations
- Test the EA in the Strategy Tester on your target symbol and timeframe before using it on a live account.
- Use a broker with tight, stable spreads - squeeze breakouts can happen quickly and spread quality affects fill quality.
- Start with a conservative lot size and adjust position sizing according to your own account risk management.
- This description does not present any historical backtest results; always validate performance yourself in the Strategy Tester and on a demo account first.
