
User Guide – Sonic Boom Breakout EA
(MT5)
Strategy Logic
1. Bollinger Bands Squeeze
o The EA calculates BandWidth = (Upper – Lower) / Middle
o If BandWidth is below a threshold → market is in a “squeeze” (low volatility,
preparing for breakout)
2. MACD Confirmation
o MACD main > signal → bullish bias (Buy)
o MACD main < signal → bearish bias (Sell)
3. VSA Filter (Volume Spread Analysis)
o Uses tick volume + candle spread + Close Location Value (CLV)
o Bullish Effort → high volume, wide spread, close near the high
o Bearish Effort → high volume, wide spread, close near the low
o Filters out weak signals with “No Demand / No Supply” logic
4. Entry Conditions
o Buy: Price breaks above upper band + MACD bullish + Bullish VSA
o Sell: Price breaks below lower band + MACD bearish + Bearish VSA
5. Exit Conditions
o Multi Take Profit (TP1, TP2, TP3) → partial closing
o Trailing Stop → dynamically adjusts Stop Loss to protect profit
Input Parameters
Lot & Risk
• Lots – trade size per order (e.g., 0.10 = 0.1 lot)
• StopLoss – stop loss in points (e.g., 200)
Multi Take Profit
• TakeProfit1 / TakeProfit2 / TakeProfit3 – profit targets in points
• TP1_ClosePercent / TP2_ClosePercent / TP3_ClosePercent – % of position to close at
each target
o Example: 0.5, 0.3, 0.2 → close 50%, 30%, 20%Trailing Stop
• TrailingStart – minimum profit before trailing stop activates (points)
• TrailingStep – distance from price to SL when trailing
Indicators
• BollPeriod / BollDev – Bollinger Bands settings (default 20 / 2.0)
• MACDFast / MACDSlow / MACDSignal – MACD parameters (default 12, 26, 9)
• BandwidthThreshold – squeeze threshold (default 0.02 = 2%)
VSA Filter
• UseVSA – enable/disable VSA filter
• VSA_Period – number of candles for averages (default 20)
• VSA_VolMult – volume must be ≥ average × multiplier (default 1.5)
• VSA_SpreadMult – spread must be ≥ average × multiplier (default 1.2)
• VSA_CLV_BullMin – close near high threshold (≥ 0.60)
• VSA_CLV_BearMax – close near low threshold (≤ 0.40)
• NoDemand/NoSupplyFactor – filters weak up/down bars
Recommended Settings
• Timeframes: H1 or H4 (cleaner signals, fewer false entries)
• Pairs: Major pairs (EURUSD, GBPUSD, USDJPY) and XAUUSD (Gold)
• Lot Size: Start small (0.05 – 0.10 lots)
• Testing: Always backtest in Strategy Tester before live use
Example Setup
• Lots = 0.10
• StopLoss = 200
• TakeProfit1 = 200 (close 50%)
• TakeProfit2 = 400 (close 30%)
• TakeProfit3 = 600 (close 20%)
• TrailingStart = 150
• TrailingStep = 50
• BollPeriod = 20 / BollDev = 2.0
• MACD = 12, 26, 9
• BandwidthThreshold = 0.02Tips
• This EA works best during consolidation → breakout phases
• If you trade Gold or volatile pairs, increase StopLoss & TP accordingly
• Trailing Stop is crucial in trending markets – adjust carefully
• Use demo or backtest first before running live