The Expert Advisor based on the change of the ColorCoppock oscillator direction. The signal is formed when a bar is closing if there is change of direction of the indicator.
Place ColorCoppock.ex5 compiled file to the terminal_data_folder\MQL5\Indicators.
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. The instances of history of deals in the chart.
Testing results for 2011 at USDCHFH4:
Fig. 2. Chart of testing results
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1483
The Range indicator calculates the range expansion index and displays the range of price change in the current barDay Of Week
The "Day of Week" function is designed to determine the number of required month according to data of the week and the day of the week inside this month