Mastering Deep Drawdown MA: Your Go-To EA for MetaTrader 5

Mike 2018.06.19 00:56 25 0 0
Attachments

Idea by: Vladimir Tkach.

Coded by: Vladimir Karputov.

The Deep Drawdown MA is an expert advisor (EA) designed to trade at the intersections of fast and slow moving averages (MAs). It’s a straightforward approach: open trades on the crossovers and close them on a reverse signal.

If you enable the Close losses feature, the EA won't simply close losing trades based on the reverse signal. Instead, it opens new positions while adjusting the Take Profit levels for the losing trades back to their original open prices.

You can control the maximum number of trades opened during overstaying with the Maximum positions parameter. The type of position that gets opened is managed under the OnTradeTransaction function.


Input Parameters

  • Lots - volume of each position;
  • Maximum positions - cap on the number of trades;
  • Close losses - option to close or keep losing positions (overstaying);
  • MA Fast: averaging period - period for fast MA;
  • MA Fast: horizontal shift - shift for fast MA;
  • MA Fast: type of price - price type for fast MA;
  • MA Slow: averaging period - period for slow MA;
  • MA Slow: horizontal shift - shift for slow MA;
  • MA Slow: type of price - price type for slow MA;
  • MA Fast and Slow: smoothing type - smoothing method for both MAs;
  • Magic number - a unique identifier for your EA.

Curious about how overstaying impacts your trading results? Check out the examples below:

Deep Drawdown MA losses No

Deep Drawdown MA losses Yes

List
Comments 0