Exp_X2MA_JJRSX trend-following trading system is based on ColorX2MA and ColorJJRSX indicator signals. ColorX2MA indicator is used to define the main slow trend direction, while ColorJJRSX indicator allows us to define an entry point when a fast trend direction is changing. An entry signal is generated at a bar closure if the following two conditions are met:
EA inputs:
String variables containing text in the inputs code are included only for better visual display of the EA inputs window.
ColorJJRSX_HTF and ColorX2MA_HTF indicators in the EA are included only for more convenient trend visualization in the strategy tester. They are not used in other operation modes.
Place ColorX2MA.ex5, ColorX2MA_HTF.ex5, ColorJJRSX.ex5 and ColorJJRSX_HTF.ex5 compiled files to the <terminal_data_folder>\MQL5\Indicators for the generated EA correct operation.
Note that the TradeAlgorithms.mqh library file allows using Expert Advisors with brokers who offer nonzero spread and the option of setting Stop Loss and Take Profit together with position opening. You can download more variants of the library at the following link: Trade Algorithms.
Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.

Fig. 1. Examples of trades on the chart
Testing results for 2015 on GBPUSD, slow trend on H4, entry by fast trend on M30:
Fig. 2. Testing results chart
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: /ru/code/16673
Multi Lot Scalper
Multi Lot Scalper Expert Advisor, MetaTrader 5 version.
ColorJJRSX_HTF
The ColorJJRSX indicator with the timeframe selection option available in the input parameters.
ZigZagOnParabolic_Arrows
ZigZagOnParabolic with its values displayed as fractal labels.
Zigzag2_R_Color_HTF
The Zigzag2_R_Color indicator with the timeframe selection option available in the input parameters.