• Overview
  • Reviews (4)
  • Comments (5)
  • What's new

MACD Not So Simple

This is an example of how the MetaTrader terminals's Strategy Tester can help to find good input parameters for an old and widely known MACD Sample Expert Advisor, which is available in the Navigator window (tab: Expert Advisors).


Input parameters

  • Indicator MACD:
    • fast - fast Period;
    • slow - Slow Period;
    • sign - Signal Period;
    • appPrice - PRICE_CLOSE=0; PRICE_OPEN=1; PRICE_HIGH=2; PRICE_LOW=3; PRICE_MEDIAN=4; PRICE_TYPICAL=5; PRICE_WEIGHTED=6;
    • MACDOpenLevel;
    • MACDCloseLevel;
  • Indicator Moving Average:
    • MATrendPeriod;
    • maMethod - MODE_SMA=0; MODE_EMA=1; MODE_SMMA=2; MODE_LWMA=3;
    • maPrice - PRICE_CLOSE=0; PRICE_OPEN=1; PRICE_HIGH=2; PRICE_LOW=3; PRICE_MEDIAN=4; PRICE_TYPICAL=5; PRICE_WEIGHTED=6;
  • Money Management:
    • UseMM - Money Management;
    • PercentMM - If UseMM = true then the EA will calculate a percentage from AccountFreeMargin as a Lot Size;
    • MagicNum - Magic Number;

Naturally you need to optimize this expert on your platform by using "Strategy Tester".

Testing Trading Strategies: https://www.mql5.com/en/docs/runtime/testing.

Matthew Todorovski
12129
Matthew Todorovski 2018.06.25 07:45 
 

1 Star (20%) = Bad

2 Stars (40%) = Undecided (still testing)

3 Stars (60%) = Okay

4 Stars (80%) = Good

5 Stars (100%) = Excellente!

Andrey Litvichenko
7581
Andrey Litvichenko 2017.10.23 18:31 
 

User didn't leave any comment to the rating

Ali irwan
5165
Ali irwan 2017.08.01 15:52 
 

thank for update

Nork
6068
Nork 2017.07.22 19:44 
 

User didn't leave any comment to the rating

Version 2.10 - 2017.08.01
By many traders demand I added an input parameter: StopLoss