Breakthrough Strategy

This EA can be used with a large number of sets of settings.

The type of the basic strategy is selected by switching the "Breach_else_Channel" parameter: channel breakout or trading withing the channel. The basic strategy is divided into two blocks (A and B) with different filters and logic for performing trades. They can be used both in conjunction and separately. You can perform the optimization for any instruments and trading hours. It is possible to consider the economic news in testing, since the EA contains them (from January 1, 2015 to December 31, 2017). The "Pass_of_News_else_Trade_at_News" parameter determines the trading logic during the release of economic news: do not trade at the specified time intervals during the news release, or trade only at the specified intervals during the news release.

The EA contains a news archive (01.01.2015 - 31.12.2017), which is used for testing.

3. By default, in the EA settings, the risk per trade is set to 1% of balance.

After testing on real accounts this parameter can be changed depending on your preferences. I recommend using a fixed lot (Use_Fix_Lots) or a recovery money management.

4. The expert works on any timeframe equally well, as it automatically takes the necessary data from multiple timeframes.

As the expert uses multiple timeframes for the analysis, it is necessary for the quotes of all timeframes (M1, M15, M30, H1, H4) to be downloaded in the terminal for testing. At the same time, the testing itself can be performed on any timeframe (when using the test model: "Every tick").

5. For brokers with the rule "First In First Out" enable the parameter FIFO_MODE = true.

6. The EA logs information on spread, slippage and other useful information when performing trades, and also when it is possible to make trades.

To write this information, set the parameter Record_Deals = true;

To view this information:

go to MQL4/Files in the terminal folder and open the corresponding file (this action can be made in time which is not coinciding with time of opening of transactions by the expert and when there is no open transactions of the expert);

after viewing, close the file (so that the expert could write down information further).

7. If you use an expert on different currency pairs, then there is no need to change the magic numbers ("magics"), since the expert identifies the transactions simultaneously by magic number and by currency pair.

2. Loaded a news archive (01.01.2015 - 20.08.2017) for testing with the news filter enabled:
Use_NewsFilter - use the news filter;
Pass_of_News_else_Trade_at_News - if "true", do not open trades in the specified time intervals with news; if "false", open trades only at the specified time intervals with news;

Version 1.1 - 2017.06.09

1) The algorithm is improved.
2) Field for entering dates for skipping.