Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2014.03.25 15:12
Experts

Exp_Digital_MACD - expert for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
3644
Rating:
votes: 30
\MQL5\Include\\MQL5\Indicators\

Trading system using the Digital_MACD indicator.

A trade signal is formed when a bar is closing if the MACD histogram breaks through the zero level or direction of the histogram or signal line has changed, and if the histogram breaks through the signal line.

The following input parameter is used for selecting an entry algorithm option:

input AlgMode Mode=MACDtwist;  // Algorithm for market entering

The Expert Advisor requires the compiled file of the indicator Digital_MACD.ex5. Place it to terminal_data_folder\MQL5\Indicators.

Note that the TradeAlgorithms.mqh library file allows using Expert Advisors with brokers who offer nonzero spread and the option of setting Stop Loss and Take Profit together with position opening. You can download more variants of the library at the following link: TradeAlgorithms.

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 on the chart.

Testing results for 2013 at USDJPY H4:

Fig. 2. Chart of testing results

Fig. 2 Testing results

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/2159

Dinapoli_ZZ Dinapoli_ZZ

The ZigZag indicator using Joe DiNapoli algorithm.

MultiBlauTSStochasticx7Signal MultiBlauTSStochasticx7Signal

The MultiBlauTSStochasticx7Signal indicator shows information on active trends using the values of seven BlauTSStochastic indicators from different timeframes.

Dyn_Pivot Dyn_Pivot

Pivot Points indicator.

BW-wiseMan-1 BW-wiseMan-1

Semaphore signal indicator, based on Bill Williams' Alligator indicator.