• Overview
  • Reviews
  • Comments (4)
  • What's new

Bollinger UpDown Advanced

The basic idea of ​​the Expert Advisor is to use certain timeframes for the analysis of various signals. Bollinger Bands are used for trading. The EA is a further development of the "Bollinger UpDown Simple" project (https://www.mql5.com/en/market/product/12661). Now it supports an advanced multicurrency mode and additional entry signals.

In addition to the main signal, the EA can detect strong movement based on the average size of the bar. Additional signals are used for opening and closure: ADX and a combination of ADX with price direction. Stochastic can be additionally used for closing orders. 4- and 5-digit quotes are determined automatically. The distances are given for 4-digit quotes (points)

Recommended deposit: 100 USD per every 0.01 lot. For most pairs 50-60 USD per 0.01 lot is enough


Parameters

Optimized for EURUSD, screenshot 1

  • DefaultLot = 0.01 - default lot;
  • DefaultProfit = 10.0 - minimum take profit distance;
  • SignalTPMult = 2.0 - DefaultProfit multiplier. If the price moves further than DefaultProfit * SignalTPMult, the trade will be closed when the price moves back to DefaultProfit. To disable set to 100.0;
  • SLDist = 100 - virtual stop-loss;
  • MaxDrawdown = 20.0 - if the current loss of open trades of other pairs is above the specified percent of balance, the deal will not be opened;
  • MaxMargin = 30.0; - if the margin of open trades of other pairs is above the specified percent of balance, the deal will not be opened;
  • AllowManual = FALSE - if disabled, no deal will be opened if there is an open deal for this pair. If enabled, it only considers trades with MagicNumber;
  • tfIndexOpen = 6 - the timeframe of an entry signal based on Bollinger (0-6);
  • UseNoOpen = TRUE; - checking the price direction before opening a trade;
  • UseNoOpenMA = TRUE - the deal will open if no opposite MA signal;
  • tfIndexClose = 3 - the timeframe for a signal to close based on Bollinger (0-6);
  • BollFlatDist = 25 - a distance between the extreme and middle lines of Bollinger in flat;
  • tfAltIndexOpen = 1 - the timeframe of an additional entry signal based on Bollinger (0-6);
  • UsePowerMove = TRUE - use strong movement analysis using Bollinger;
  • tfPowIndexOpen = 4 - the timeframe of a string movement based on Bollinger (0-6);
  • tfADXOpen = 0 - the timeframe for the analysis of opening based on ADX (0, 1-6);
  • tfPriceOpen = 0 - the timeframe for the analysis of opening based on price direction together with ADX (0, 1-6);
  • NumBarsOpen = 0 - the number of bars for price direction analysis;
  • tfPowerPrice = 0 - the timeframe for the analysis of strong movement based on the average bar (0, 1-6);
  • PowerPrice = 0.0 - the signal value of the bar size multiplier;
  • NumBarsMed = 0 - the number of bars for the average calculation;
  • tfStochClose = 0 - the timeframe for closing based on Stochastic (0, 1-6);
  • StochPowerDist = 5 - the signal value of Stochastic line change;
  • tfADXClose = 3 - the timeframe for the analysis of closing based on ADX (0, 1-6);
  • tfPriceClose = 2 - the timeframe for the analysis of closing in the price direction together with ADX (tfADXClose is used);
  • NumBarsClose = 10 - number of bars for price direction analysis;
  • CloseLossOrder = FALSE - close a losing trade at a signal before stop loss;
  • UseFilterTime = FALSE - use time filter;
  • StartHourMonday = 7;
  • EndHourFriday = 19;
  • MagicNumber = 124.
No reviews
Version 3.0 - 2016.01.26
Implemented the TWINS mechanism: while an order is opened, an opposite one with the volume equal to the volume of active orders is opened in case an opposite signal appears. These deals provide additional profit without increasing costs. Additionally, the counter orders act as hedging ones allowing a virtual stop loss to be moved further away. As a result, a percentage of profitable deals is exceeded together with the profit while a drawdown is reduced.
Added the parameters:
- UseTwins - allow opening opposite deals
- tfTwinsOpen - additional timeframe of the main market entry signal. It is used both for opening opposite deals and additional market entry analysis. Value range: 0..6 (-1 means opening by tfIndexOpen, you can set -1 for optimization)
- tfTwinsClose - additional timeframe of the main market exit signal. It is used both for closing opposite deals and additional market exit analysis. Value range: 0..6 (-1 means closing by tfIndexClose, you can set -1 for optimization)
Version 2.30 - 2016.01.06
The accuracy of the signals for opening at a strong price movement (tfPowIndexOpen and tfPowerPrice) has been increased by adding the filter based on Camarilla levels. Reduced drawdown and increased profitability.
Version 2.20 - 2016.01.05
- Greatly improved accuracy of the main signal to open an order.
- Improved accuracy of the main signal to close an order, reduced the number of trades closed before the end of the trend.
- Added filter based on Camarilla levels.
- Signals for opening an order on ADX is now used as a filter value of Stochastic

Reduced the number of trades, but at the same time increased the results (especially when using Risk), reduced drawdown
Version 2.10 - 2015.12.09
Some minor corrections in the code.
Small changes in the operating logic:
SLOpenOpposite - if enabled, when closing an order by a stop loss, an opposite order is opened regardless of the CloseLossOrder value
UseNoOpen and UseNoOpenMA are removed from the settings and always enabled
Version 2.0 - 2015.12.02
Added a dynamic calculation of the lot size. Modified signal of unprofitable lots closing. Now, profitability can be higher and drawdown can be lower. Added feature for tracking orders opened manually and closing them at a signal.
Added options:
Risk - percentage. The lot size is calculated as a percentage of free margin
tfCloseLoss - TF for calculating the signal for closing unprofitable orders
OpenOpposite - opening an opposite order if an unprofitable order is closed at a signal
SLOpenOpposite - opening an opposite order if an unprofitable order is closed by stop-loss
TrackManual - order opened manually, will be closed by the signal (or stop-loss)