The Expert Advisor is rewritten from MQL4, the author is AntS, link to the source https://www.mql5.com/en/code/7891.
How it works
If the price rises, it is a buy, if it falls it is a sell. When loss, a lot must be increased. Price movement is determined by two bars with t1 and t2 shift (open prices), if the difference in prices is more than Delta_L (for a buy) and Delta_S (for a sell), then position opens.
The image shows the performance of the Expert Advisor in the strategy tester's visual mode., Fig. 2 shows the results of the tester.

Fig. 1. Deals in the Expert Advisor tester.
Fig. 2. The results of work of the Expert Advisor for the last month (09.2012) at EURUSD M15.
Parameters
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/1160
Exp_ColorBBCandles
The Exp_ColorBBCandles Expert Advisor based on the ColorBBCandles indicator.
Balance of Power
The Balance of Power (BOP) indicator was described by Igor Livshin and measures the strength of the bulls vs bears by assessing the ability of each to push price to an extreme level.