Bollinger Bands Dynamic Strategy Builder
- Experts
- Rocio Uriburu
- Version: 1.1
- Activations: 10
| Explore all my products for MetaTrader 4, MetaTrader 5, and free Trial versions: You have two versions of the EA: Create your own trading strategies with complete flexibility! This Expert Advisor (EA) is designed to support multiple trading approaches, including scalping, grid systems, hedging, martingale, anti-martingale, news trading, pending order management, arbitrage, trend following, breakout strategies, and price action trading. It can be applied across different markets such as forex (EURUSD, GBPUSD, USDJPY), cryptocurrencies (BTC, Bitcoin), indices (NAS100, US30, USA500, Dow Jones), and metals like gold (XAUUSD). The EA is compatible with a wide range of technical indicators and trading concepts, including support and resistance, EMA (moving average), RSI, MACD, Bollinger Bands, ATR, Stochastic, and ADX, allowing traders to build and customize their own strategies according to their preferred tools and trading style.
|
|---|
Bollinger Bands Dynamic Strategy Builder EA – Adaptive Volatility Trading System
Overview
Expert Advisor based on market volatility using Bollinger Bands as the core of the strategy. This EA allows building multiple trading configurations through a dynamic system for lot sizing, Take Profit, and Stop Loss management. It includes Martingale, Anti-Martingale modes, and advanced risk control, adapting to different market conditions.
It integrates key technical indicators such as EMA (trend direction), ADX (trend strength), and ATR (dynamic volatility) to improve entry accuracy and optimize risk management.
Designed for both technical and quantitative traders, this EA works as a professional Strategy Builder, allowing the creation of custom systems based on price behavior and volatility.
Trading Logic
The EA opens trades based on price interaction with Bollinger Bands:
- Buy when price bounces from or breaks the lower band
- Sell when price bounces from or breaks the upper band
- Ability to operate in mean reversion or breakout mode
- Inverted mode available
Optional additional filters using indicators:
- EMA: defines trend direction (buy only or sell only)
- ADX: filters trades based on trend strength
- ATR: dynamically adjusts Stop Loss, Take Profit, and lot size according to volatility
The logic can adapt to different approaches:
- Mean reversion
- Volatility breakout
- Trend confirmation
Operation Modes
Open Mode:
- Single: one active trade at a time
- Multi: multiple trades per signal
- Replace: closes the current trade and opens a new one
Trade Progression:
- Always: progression applied on every trade
- On Loss: progression applied only after losses
Compatible with:
- Martingale
- Anti-Martingale
- Hybrid strategies
Risk Management
Includes advanced tools to protect capital and optimize performance:
- Configurable Stop Loss
- Configurable Take Profit
- Automatic Breakeven
- Classic Trailing Stop
- Dynamic trailing stop based on volatility or candles
Automatic EA closure:
- By total profit (money)
- By total loss (money)
- By maximum drawdown (%)
- By Take Profit reached
Advanced Features
- Fully configurable Bollinger Bands (period, deviation)
- Integration with EMA, ADX, and ATR as intelligent filters
- Distance settings in Pips, Points, or Ticks
- Stop Loss based on market structure or candles
- Maximum orders control
- Maximum simultaneous trades control
- Automatic system restart
- Cycle persistence after platform restart
- Compatible with Netting and Hedging accounts
Input Parameters (Inputs)
Global Settings
MagicNumber
Unique identifier for EA trades
DistMode
Distance unit for TP, SL, and trailing (Pips, Points, or Ticks)
Slippage
Maximum allowed slippage
BreakevenPips
Level to move Stop Loss to entry price
TrailingStop
Distance for automatic trailing stop
RestartAfterClose
Restarts the system after all trades are closed
Close EA Settings
CloseByTPOrder
Closes all trades when a Take Profit is reached
MaxDrawDownPct
Closes the EA when maximum drawdown (%) is reached
CloseProfitMoney
Closes all trades when total profit is reached
CloseLossMoney
Closes all trades when total loss is reached
MaxOrders
Maximum number of orders per cycle
MaxTrades
Maximum number of simultaneous trades
Next Opened Trade Settings
OpenMode
Trade opening mode (Single, Multi, Replace)
NextTradeProgressionMode
Defines when progression is applied (Always / On Loss)
Lot Settings
Lot
Initial lot size
LotMultiplier
Lot multiplier
LotDivider
Lot divider
TP Settings
TP
Initial Take Profit
TpIncrease
TP increase for next trade
TpDecrease
TP decrease for next trade
SL Settings
SL
Initial Stop Loss
SlIncrease
SL increase for next trade
SlDecrease
SL decrease for next trade
Bollinger Bands Settings
BBPeriod
Bollinger Bands period
BBDeviation
Standard deviation
SignalMode
Signal mode (Reversion / Breakout / Inverted)
AppliedPrice
Applied price (Close, Open, etc.)
UseMiddleBand
Use middle band as trend filter
TrailingStopCandles
Enable candle-based trailing stop
SLCandles
Number of candles for Stop Loss calculation
EMA Settings (Trend Filter)
UseEMAFilter
Enable trend filter
EMAPeriod
EMA period
EMAMode
Defines direction: BUY only, SELL only, or both
ADX Settings (Trend Strength Filter)
UseADXFilter
Enable ADX filter
ADXPeriod
ADX period
ADXLevel
Minimum required level to trade
ATR Settings (Volatility Management)
UseATR
Enable dynamic volatility management
ATRPeriod
ATR period
LotATRMultiplier
Multiplier for dynamic lot calculation
TPATRMultiplier
Multiplier for dynamic TP
SLATRMultiplier
Multiplier for dynamic SL
Recommendations
It is recommended to test the EA on a demo account before using it on a live account. Adjust parameters according to the asset, timeframe, and market conditions.
Disclaimer
Trading involves risk. This Expert Advisor does not guarantee profits and should be used with proper risk management.
