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.
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.
Read from DWaterEA_V26.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
tr_Timeframe
ENUM_TIMEFRAMES2
—
趋势时间框架 ------趋势分割线
tr_XMA_Method
Smooth_Method
—
趋势 平滑方法
tr_XLength
int
—
趋势 平滑深度
tr_MaRound
uint
—
趋势 舍?
sg_Timeframe
ENUM_TIMEFRAMES2
—
交易时间框架 ------信号分割线
sg_XMA_Method
Smooth_Method
—
信号 平滑方法
sg_XLength
int
—
信号 平滑深度
sg_MaRound
uint
—
信号 舍?
sg_ReverseSpeed
double
—
信号 转向速度
op_FirstLots
double
0.01
第一仓手数------建仓补仓分割线
op_LotsAdd
double
0.01
仓位递增
op_lotsGrid
int
5
仓位网格
Show all 30 inputs
Name
Type
Default
Description
op_NextGrid
int
10
补仓网格
tr_speed_start
int
—
1.趋势速度范围开始
tr_speed_add
int
—
2.趋势速度范围增加
point_start
int
10
3.点数区间开始
point_add
int
20
4.点数区间增加
op_TPPoint
int
20
止盈点数
sLPoint
int
100
止损点数
op_SLProfit
double
60
止损金额
Paramseconds
int
300
参数刷新频率(秒)-----分割线
MagicNumber
long
861
唯一魔法数
IsPrintLog
bool
false
是否打印日志
IsSendEmail
bool
false
是否发送邮件
b_IsOpen
bool
false
是否开仓-多
s_IsOpen
bool
false
是否开仓-空
RiskLots
double
0.3
风险仓位
SlPointUseType
int
1
点位止损(1第一仓,2最后一仓)
MaxLots
double
0.3
最大手数限制
Max_back
double
0.0
优化接受的最大回撤(余额)
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone leet123/mt5_ea from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
Prem Gold Advisor is an automated MetaTrader 5 expert advisor specialized for XAUUSD (Gold) trading on the five-minute timeframe. It initiates trades using breakout levels placed at specific distances from the candle open. The strategy features a progressive scale-in mechanism, adding new orders as the price hits succe
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
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
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.
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
This Expert Advisor for MetaTrader 5 focuses on gold trading through a combination of mean-reversion signals and a grid management system. It uses multi-timeframe filters, including exponential moving averages and ADX on the H1 timeframe, to identify trend direction while executing entries on M15 based on RSI and Bolli