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
Experts

Exp_RD-TrendTrigger - expert for MetaTrader 5

Views:
4396
Rating:
(23)
Published:
2013.01.16 15:39
Updated:
2023.03.29 13:42
\MQL5\Include\ \MQL5\Indicators\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The Exp_RD-TrendTrigger trading system is based on changes of the trend direction displayed by the RD-TrendTrigger indicator.

A signal to perform a deal is formed at bar closing, when there are two variants of the trading signals to make deals depending on the value of the input variable of the Mode Expert Advisor (the algorithm to enter the market):

  1. Change of the oscillator direction;
  2. The breakthrough of the oscillator levels defined by the input parameters of the Expert Advisor:
    input int HighLevel=+50;
    input int LowLevel=-50;

Place RD-TrendTrigger.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/1409

The class for drawing the DEMA using the ring buffer The class for drawing the DEMA using the ring buffer

The class is designed for calculation of the technical indicator Double Exponential Moving Average (Double Exponential Moving Average, DEMA) using the algorithm of the ring buffer.

PrevDayAndFloatingPivot PrevDayAndFloatingPivot

The Prev Day And Floating Pivot indicator.

StepMA_v6.4 StepMA_v6.4

A simple trend indicator of the NRTR type

Predict Predict

A semaphore, signal indicator with three variants of signals