Update:
- Trades will only be initiated after a bullish or bearish candle closes.
- Indicators like Moving Average and Bollinger Bands will be removed from the chart once the EA is disabled.
- Minor glitches have been noted with closing positions after a certain timeframe.
The BollingerBandsEA is designed to trade based on the Bollinger Bands strategy. When the lower band is breached downwards, it triggers a buy order, and conversely, it places a sell order when the upper band is broken.
Here are the settings you can tweak:
- Magic number
- Fixed volume
- Percentage volume
- Volume type
- Risk per position
- Lot size
- Stop loss in points
- Trading begins (minutes) after session start
- Trading ends (minutes) before session close
- Close position based on indicator signals
- Enable trailing stop?
- Profit factor (RR) after stop is adjusted
- Enable breakeven?
- Close position if in loss (after specified minutes)

Please stick to testing this in a demo account or backtester!
I hope you have a blast experimenting with it!
PS: Just a heads-up, there was a typo in the initial version. Feel free to download the updated version!
Cheers, Igor
Related Posts
- Mastering Trading Signals with MQL5 Wizard: Bullish and Bearish Engulfing Strategies
- Harnessing MQL5 Wizard for Trading Signals: 3 Black Crows & 3 White Soldiers with MFI
- Creating a Stochastic-Based EA for Hammer and Hanging Man Patterns in MetaTrader 5
- Creating an Expert Advisor for Dark Cloud Cover and Piercing Line Patterns with CCI Confirmation
- Creating Powerful Trade Signals with MQL5 Wizard: Bullish and Bearish Engulfing Patterns + RSI