The main idea of the strategy is to trade from price levels aliquot to
fifty pips (for ex.: 1.2600, 1.2650, 1.2700 and so on). These levels
are adjusted buy deviation factor (dev_factor) in negative or positive
side, volumes (1 hour, shift 1) indicator is used in calculation for
dev_factor variable. Close price (30-min candle with shift 1) between
price levels (aliquot and adjusted) determines the future course of
the strategy. Momentum indicator ADX (daily, shift 1, time period 18)
is used to define time period (20 or 14) for fast SMA (4 hours, shift
1). Two strategies are used depending on the values slow SMA (4 hours,
shift 1, time period 200) and fast SMA (4 hours, shift 1, time period
20 or 14). Different combinations of close and open prices
(30-min candle with shift 1 and shift 2) for each strategy (str_1 and
str_2) are used for open positions.