Raff and Bollinger – dual channel trend robot

The robot is intended for trading on a real account. Two channels are being constructed: Hilbert Raff and John Bollinger. The external Raff channel allows you to determine the direction of the global trend. Inside it, in the Bollinger channel, trade is conducted on a trend. Provision is made for disabling martingale and money management, transactions are protected by stop-loss.

Trading strategy – two channels, Raff and Bollinger

The robot calculates two channels. The external channel is calculated by the method of Hilbert Raff, inside it is built the channel of John Bollinger. These channels respectively reflect global and local trends. The most effective and safe is trade with the coincidence of directions of identified trends. Entry to the market and profit-taking are made near the borders of the internal channel. Positions open only in the direction of the trend defined by the external channel. Thus, most of the positions are closed at a profit. Loss positions are averaged by additional transactions, which are calculated so that their aggregate is also closed at a profit. As the deposit grows due to money management, the volume of transactions increases to reconcile available funds, profitability and risk. Testing and application of the robot is shown in the video.


During testing for the period from January 2015 to August 2018 on a pair GBPJPY and hour timeframe with an initial capital of $1000 and with default settings, the robot received a profit of $63936.

Recommendations for use

For the work of the robot, no indicators are required, all the necessary algorithms are contained in a single robot file. To control the work of the robot, you can use the additional indicator Raff Channel indicator, which displays the Raff channel and also the standard indicator Bollinger Bands, which is included in the terminal. Indicators can be set on one graph together with the robot. Indicator parameters should be set as the corresponding input parameters of the robot.

By switching the Open counter positions parameter, you can enable or disable the setting of counter positions when the entry criteria in the opposite direction are met. Allowing counter positions increases the total number of trading cycles and reduces drawdowns due to locking.

The robot is easily optimized for work on other currency pairs and timeframes.

I will tell you the features of optimization in a personal message.


General parameters

  • Language – robot message language (Eng, Rus);
  • Magic – magic number for orders;
  • Open counter positions – to open opposing positions (Yes, No);
  • Period Bollinger bands – the period of the internal Bollinger channel;
  • Deviation Bollinger bands – deviation of internal channel Bollinger Bands;
  • Number of bars – number of bars for calculating the external Raff channel;
  • Coefficient of the channel width – Ruff channel width factor;
  • Entry criteria – distance to the trend line (in% of the width of the channel) to enter the transaction / exit from the transaction;
  • Gradient criteria – gradient of the inclination of the internal channel, at which it is permitted to conclude deals;
  • Offset for determining Gradient criteria – offset for gradient calculation;
  • Distance to safety levels – distance to safety levels, points.

Parameters of averaging positions

  • Use martingale – use martingale (Yes, No);
  • Step of averaging positions – averaging step, points;
  • Lot increase coefficient – coefficient of increase in the lot;
  • Maximum number of steps for averaging positions – the maximum number of steps of averaging (if all is exceeded);
  • Coefficient of stop – the stop ratio (the fraction of the averaging step, 0.1 … 1);
  • Specified profit with averaging – given averaging profit, $ by 0.01 lot.

Additional parameters

  • Clearance – clearance above characteristic points (points);
  • Use money management – use of money management (Yes, No).
  • Initial lot – начальный лот.

The robot can be used on 5- and 4-digit quotes. The number of digits in quotes is defined automatically. All parameters specified in points should always be set for 5-digit quotes (set by default).

Download demo version. It only works in the strategy tester.

Buy a robot   $65

4 thoughts on “Raff and Bollinger – dual channel trend robot

  1. Adam

    Well made EA. Advanced features. Good results. Good support from the author.

  2. Leon

    Following the advices and support from the Developer, this software is simply astonishing! Very well done and crafted. The Developer, for sure, masters the guidance and principles of Raff and Bollinger.

  3. Andrew

    Just starting to use on life some days ago after 2 week on demo account. EA look promizing. Author imporve always news feature after feedback from user. Great work. From another hand it’s sometime difficult to follow all the update and can be little bit confusing with version of EA and version of trading type. I hope the author will take time to make everything clear on the description page of the product. Anyhow, after one week life, some profit and money management working as planed. Looking forward 🙂

  4. Tito

    This EA is a money making machine, only if you apply Sami’s settings and employ a strict money management. It can give you 25-40% each month with these settings, so don’t waste your time searching for a better set up.

Comments are closed.