Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
4144
Rating:
(19)
Published:
2012.12.27 11:56
Updated:
2016.11.22 07:32
\MQL5\Include\ \MQL5\Indicators\
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 on the chart.

Fig. 1. The instances of history of deals in the chart.

 Testing results for 2011 at XAUUSD H4: 

Fig. 2. Chart of testing results

Fig. 2. Chart of testing results.

 

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1355

Combinatorics Combinatorics

Initial library of combinatorics functions.

The class for drawing Moving Average using the ring buffer The class for drawing Moving Average using the ring buffer

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

The class for drawing the ATR using the ring buffer The class for drawing the ATR using 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 for drawing the ADX using the ring buffer The class for drawing the ADX using 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.