Trading robot · MT5

DWater EA

by leet123

DWater EA is an automated trading robot for MetaTrader 5 that uses a trend-following approach based on price speed and position relative to trendlines.

High risk

GitHub stars1
Forks0
Last update7 years ago26 Aug 2019
LicenceNone stated

Overview

DWater EA utilizes smoothed moving averages across dual timeframes to identify entries. The strategy incorporates a grid-based recovery mechanism, adding positions at fixed intervals with incremental lot sizing. Risk controls include point-based stop losses, take profits, and a maximum lot limit. The system also monitors trend strength and provides options for both buy and sell trade management.

Details

Author

leet123 on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Trend following, Grid, Martingale

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Opens a grid of orders: exposure builds up in a trend

Input parameters

Read from DWaterEA_V26.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
tr_TimeframeENUM_TIMEFRAMES2趋势时间框架 ------趋势分割线
tr_XMA_MethodSmooth_Method趋势 平滑方法
tr_XLengthint趋势 平滑深度
tr_MaRounduint趋势 舍?
sg_TimeframeENUM_TIMEFRAMES2交易时间框架 ------信号分割线
sg_XMA_MethodSmooth_Method信号 平滑方法
sg_XLengthint信号 平滑深度
sg_MaRounduint信号 舍?
sg_ReverseSpeeddouble信号 转向速度
op_FirstLotsdouble0.01第一仓手数------建仓补仓分割线
op_LotsAdddouble0.01仓位递增
op_lotsGridint5仓位网格
Show all 30 inputs
NameTypeDefaultDescription
op_NextGridint10补仓网格
tr_speed_startint1.趋势速度范围开始
tr_speed_addint2.趋势速度范围增加
point_startint103.点数区间开始
point_addint204.点数区间增加
op_TPPointint20止盈点数
sLPointint100止损点数
op_SLProfitdouble60止损金额
Paramsecondsint300参数刷新频率(秒)-----分割线
MagicNumberlong861唯一魔法数
IsPrintLogboolfalse是否打印日志
IsSendEmailboolfalse是否发送邮件
b_IsOpenboolfalse是否开仓-多
s_IsOpenboolfalse是否开仓-空
RiskLotsdouble0.3风险仓位
SlPointUseTypeint1点位止损(1第一仓,2最后一仓)
MaxLotsdouble0.3最大手数限制
Max_backdouble0.0优化接受的最大回撤(余额)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone leet123/mt5_ea from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

Smart Grid Martingale EA

by chenhengyi53-design
8 stars

This MetaTrader 5 expert advisor executes a grid trading strategy enhanced with martingale lot scaling. The system identifies market direction through multi-timeframe analysis using Exponential Moving Averages and the Average Directional Index. It features dynamic grid spacing that adjusts based on market volatility an

MT5 Trading robot GridMartingaleTrend following High risk
Updated 7 months ago None stated GitHub repository of Smart Grid Martingale EA

Bot Trend

by uselinuxdev
3 stars

Bot Trend is a trend-following expert advisor for MetaTrader 5. It utilizes proprietary Francisca entry logic and manages trades through multiple concurrent execution threads. The system incorporates custom Zero Gravity step logic for position management and includes specific operational modes for Fridays and holidays.

MT5 Trading robot Trend followingGridMartingale High risk
Updated 8 months ago None stated GitHub repository of Bot Trend

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader

XAUUSD Basket Trailing EA

by Muhammad-TalhaK
2 stars

This MetaTrader 5 expert advisor implements a basket-trading strategy specifically for XAUUSD. It opens an initial position based on the current short-term trend and enters additional trades at fixed intervals if the market moves against the basket. The robot utilizes a progressive lot-sizing model to manage the grid.

MT5 Trading robot GridTrend followingMartingale High risk
Updated 3 months ago None stated GitHub repository of XAUUSD Basket Trailing EA

More trading robots

Need a broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers