Why Most Bollinger Arrow Indicators Fail in Visual Tester - And How I Built a Zero-Repaint Trade-Locked Engine
If you have tested paid Bollinger Band or reversal-arrow indicators in MetaTrader Strategy Tester Visual Mode, you have probably seen the same three problems:
- Intra-bar arrow flicker: A BUY arrow appears while the current candle dips below the lower band, then vanishes 40 seconds later when price pulls back - leaving a chart history that looks cleaner than live trading.
- Flip-flop arrow spam: While a trade is still working toward Stop Loss or Take Profit, a choppy pullback prints an opposite SELL arrow two bars later.
- Missing target alerts & filtered statistics: Alerts fire only when the arrow appears, never when TP1, TP2, or SL actually hits - and on-chart dashboards quietly ignore open drawdowns or ambiguous intrabar hits.
When building Apex Band Signal (MT5 & MT4), I started from one strict rule: every visual arrow, SL/TP map, and audit counter must hold up bar-by-bar in Strategy Tester without looking at the forming candle.
1. How the Closed-Bar Bar[1] Sweep Re-Entry Rule Works
Instead of firing whenever price merely touches a band, the default strict engine ( APEX_SWEEP_STRICT ) waits for breakout exhaustion and confirmed reclaim:
- Breakout Trap ( Bar[2] ): The prior closed candle closes outside BB(20, 2.0) , pulling late breakout orders into the extreme.
- Confirmed Reclaim ( Bar[1] ): The just-closed signal candle snaps back inside the Bollinger Band with strong body conviction ( >= 60% close position) and aligns with macro EMA(200) direction.
- Regime & Volatility Gates:
- Wilder ADX(14) <= 32 blocks parabolic knife-catching against runaway momentum.
- Wilder RSI(14) enforces pullback value ( <= 45 for BUY, >= 55 for SELL).
- Minimum band width >= 1.2x ATR(14) blocks dead sideways compression, while max signal candle <= 3.0x ATR(14) filters sudden news spikes.

Caption: Native MT5 XAUUSD M15 chart showing confirmed closed-bar signals, BB(20, 2.0) bands, and on-chart Audit HUD.
2. Active-Trade Lock & Honest Conservative Accounting
Once a closed-bar arrow prints, a trade object opens conservatively at Open[signal + 1] with SL = 2.0x ATR , TP1 = 0.8R (50% partial scale + optional move SL to Entry Breakeven), and TP2 = 2.0R (50% runner).
- Strict Trade Lock: Opposite arrows are suppressed while a setup remains active until TP2 , BE , SL , or MaxHoldBars ( 80 ).
- Worst-Case Intrabar Tie-Breaker: If a single historical bar spans both SL and TP, the audit engine always records an SL Loss, never a free win.
- Zero-Repaint Prefix-Equivalence Verification: Testing 251 consecutive incremental bar slices on XAUUSD M15 produced 0 signal shifts, 0 deleted arrows, and 0 backpainted targets.

Caption: Native MT5 XAUUSD M30 capture showing TP1 hit, SL shifted to Entry Breakeven (BE=), and transparent Audit HUD counts.

Caption: Native MT4 XAUUSD H1 capture showing full TP2++ target completion and real-time trade map.
3. Real Historical Data Results (Including Where It Loses)
I ran a historical mirror test across 16 core datasets ( XAUUSD M15/M30/H1/H4 , 11 FX H1 pairs, and BTCUSD H1 ) split into 60% In-Sample and 40% untouched Out-Of-Sample, deducting realistic spreads ( 0.35 on Gold, 1.5-2.5 pips on FX):
- 16 Core Datasets In-Sample (60%): 173 trades | TP1 Hit: 61.3% | +25.74R | Profit Factor: 1.38
- 16 Core Datasets Untouched OOS (40%): 107 trades | TP1 Hit: 62.6% | +16.22R | Profit Factor: 1.41
- Strongest Setups:
- XAUUSD M15 : Full 80 trades ( 65.0% TP1, +18.80R , PF 1.67 ) | OOS 27 trades ( 70.4% TP1, +8.60R , PF 2.07 )
- GBPUSD H1 : Full 14 trades ( 78.6% TP1, +6.74R , PF 3.25 )
- EURJPY H1 : Full 13 trades ( 76.9% TP1, +5.00R , PF 2.67 )
- EURUSD H1 : Full 12 trades ( 66.7% TP1, +5.20R , PF 2.30 )
- Where You Should NOT Run It (Honest Negative Data):
- XAUUSD M5 : 223 trades ( -19.17R , PF 0.83 ) - broker spread eats too much of the M5 ATR, and several choppy cross pairs ( AUDJPY H1 , GBPJPY H1 , USDCHF H1 ) ended negative over that sample window. That is why the product manual explicitly recommends M15-H4 rather than M1/M5 noise.

Caption: Native MT5 BTCUSD H1 capture showing an active locked setup with real-time Entry, SL, TP1, and TP2 lines.
4. Try It Yourself in Strategy Tester
You can test the engine directly on your own broker data in two editions:
- Free Mini Edition (Visual Signals + Entry Alerts + Honest Audit HUD):
- MT5 Free: Apex Band Signal Mini
- MT4 Free: Apex Band Signal Mini MT4
- Full Edition ($39 Lifetime / $30 Month Rent - Adds Realtime TP1/TP2/SL Mobile Push Alerts, Full Parameter Tuning, Sensitive Mode & 11 EA iCustom Buffers + 4 .set Presets):
- MT5 Full: Apex Band Signal
- MT4 Full: Apex Band Signal MT4
Open Strategy Tester ( Ctrl+R ) -> Visual Mode on XAUUSD M15 or GBPUSD H1 and inspect every candle yourself.
Risk Disclosure: Historical validation and Strategy Tester runs do not guarantee future market performance. Apex Band Signal is a technical analysis decision-support indicator and does not place or manage trades automatically.


