This trading system is drawn on the basis of the JMASlope indicator. A signal to perform a deal is formed at bar closing.

Depending on input parameter value there is a choice of one of two algorithms of trading system:

In the first algorithm the signal to perform a deal is formed if there was a breakthrough of the zero line. In the second algorithm the signal is formed when the oscillator changes its direction.

Place JMASlope.ex5 compiled file to the terminal_data_folder\MQL5\Indicators. Testing results for 2011 at XAUUSD H4: Fig. 2. Chart of testing results Support-Resistance Indicator

The channel is drawn using Gauss Transform MPC - Measure Popular Candles

MPC is a script which measures (searches) the most frequently occurring candlesticks The asymmetry indicator

The indicator which defines the moments when the market becomes asymmetric and there are strong trend changes The Moving Average drawn on the basis of Gauss algorithm
[null, {"document_url": "https://www.mql5.com/en/code/1524", "unformatted_src": "https://c.mql5.com/i/code/expert.png", "src": "https://c.mql5.com/i/code/expert.png", "formatted_filename": "expert", "alt_text": "Experts", "rendered_width": 60, "rendered_height": 60}, null, {"document_url": "https://www.mql5.com/en/code/1524", "unformatted_src": "https://c.mql5.com/18/10/iTesterGraph.png", "src": "https://c.mql5.com/18/10/iTesterGraph.png", "formatted_filename": "iTesterGraph", "alt_text": "Fig. 1. The instances of history of deals in the chart.", "rendered_width": 516, "rendered_height": 457}, null, {"document_url": "https://www.mql5.com/en/code/1524", "unformatted_src": "https://c.mql5.com/18/10/6TesterGraphReport.png", "src": "https://c.mql5.com/18/10/6TesterGraphReport.png", "formatted_filename": "TesterGraphReport", "alt_text": "Fig. 2. Chart of testing results", "rendered_width": 512, "rendered_height": 431}, null, {"document_url": "https://www.mql5.com/en/code/1524", "unformatted_src": "https://c.mql5.com/i/code/indicator.png", "src": "https://c.mql5.com/i/code/indicator.png", "formatted_filename": "indicator", "alt_text": "Support-Resistance Indicator"}, null, {"document_url": "https://www.mql5.com/en/code/1524", "unformatted_src": "https://c.mql5.com/i/code/script.png", "src": "https://c.mql5.com/i/code/script.png", "formatted_filename": "script", "alt_text": "MPC - Measure Popular Candles"}, null, {"document_url": "https://www.mql5.com/en/code/1524", "unformatted_src": "https://c.mql5.com/i/code/indicator.png", "src": "https://c.mql5.com/i/code/indicator.png", "formatted_filename": "indicator", "alt_text": "The asymmetry indicator"}, null, {"document_url": "https://www.mql5.com/en/code/1524", "unformatted_src": "https://c.mql5.com/i/code/indicator.png", "src": "https://c.mql5.com/i/code/indicator.png", "formatted_filename": "indicator", "alt_text": "OneSideGaussianMA"}, null]