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

MACDWaterlineCrossExpectator, the effectiveness of a MACD system - expert for MetaTrader 5

Views:
9133
Rating:
(19)
Published:
2013.01.08 15:17
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

Jordi Bassagañas Galisteo

The problem is measuring the real power of this traditional system based exclusively on MACD.

The EA's rules are as follows:

  • Buy when the MACD signal crosses above the waterline line.
  • Sell when the MACD signal crosses below the waterline line.

There is also a money management strategy that seeks mathematical expectation by applying a positive risk-benefit ratio which equals or is less than 1.

Settings:

This EA launched the following graphs with the inputs below:

Expert: MACDWaterlineCrossExpectator
Symbol: EURUSD
Period: M15 (2012.01.01 - 2012.12.30)
Inputs: pair=EURUSD

timeframe=15

fastEMAPeriod=12

slowEMAPeriod=26

signalPeriod=9

stopLoss=300

size=0.10000000

riskBenefitRatio=3
Broker: MetaQuotes Software Corp.
Currency: USD
Initial Deposit: 10 000.00
Leverage: 1:100

Image:

EURUSD balance

Fig. 1. Balance


EURUSD correlations

Fig. 2. Correlations


EURUSD entries

Fig. 3. Entries


Recommendations:

There are many inputs that can be changed when testing MACDWaterlineCrossExpectator, for instance, you can change the risk-benefit ratio, the moving averages periods , the stop loss, etc., and, perhaps the most important, the symbol and the time period in which the robot is run. Please, run your experiments, update the EA's inputs, observe the results obtained and draw your own conclusions. 

MACDWaterlineCrossExpectator.mq5 has been developed exclusively for learning purposes, please, use it at your own risk.

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

The class is designed for calculation of a technical indicator Money Flow Index (Money Flow Index, MFI) using the algorithm of the ring buffer.

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

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

T3MACO T3MACO

The oscillator using T3 averaging.

ytg_Fractals_Price ytg_Fractals_Price

The indicator of fractals price levels