Join our fan page
- Views:
- 4525
- Rating:
- Published:
- 2012.12.27 11:56
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Exp_ColorTrend_CF trading system is based on change of the trend direction displayed by the ColorTrend_CF indicator. The signal is formed when a bar is closing if there is change in cloud color of the indicator.
Place ColorTrend_CF.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 XAUUSD H4:
Fig. 2. Chart of testing results.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1355

Initial library of combinatorics functions.

The class is designed for calculation of Moving Averages (Moving Average) using the algorithm of the ring buffer.

The class is designed for calculation of the Average True Range indicator (Average True Range, ATR) using the algorithm of the ring buffer.

The class is designed for calculation of a technical indicator Average Directional Movement Index (Average Directional Movement Index, ADX) using the algorithm of the ring buffer.