Join our fan page
- Views:
- 4107
- Rating:
- Published:
- 2016.07.20 14:33
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Exp_ColorRsiMACD Expert Advisor based on the signals taken from the ColorRsiMACD histogram. The signal is formed when a bar is closing if there is breakout of the zero level by the MACD histogram or if there is change in the direction of the histogram or signal line and also if there is breakout of the signal line by the histogram (depending on the options selected in the Mode input parameter).
input AlgMode Mode=MACDdisposition;//algorithm to enter the market
This Expert Advisor requires the compiled indicator file ColorRsiMACD.ex5 in order to run. Place it to <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.
Testing results for 2015 at USDJPY H6:
Fig. 2. Testing results chart
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/15753

The ColorRsiMACD indicator with the timeframe selection option available in input parameters.

The MACD histogram based on the difference of the RSI oscillator and its averaging.

The Directed_Movement indicator implemented as a sequence of candlesticks.

Trading system based on Directed_Movement_Candle indicator signals.