Goldesel identifies trend direction using 21 and 55 EMAs on the H1 chart and enters on M15 pullback continuations. Risk management calculates lot size from a percentage of equity, capped at 1% after a commission reserve, and skips trades if the broker minimum lot exceeds this cap. Every position uses an ATR-based stop loss, a reward-to-risk take profit, and optional bundled break-even and chandelier trailing stops. Additional protections include daily and weekly loss halts, drawdown scaling, spread and session filters, and Friday position flattening.
H1 EMA trend bias with M15 pullback entries
Equity-based lot sizing with 1% hard risk cap
ATR stop loss with bundled break-even and chandelier trail
Read from Goldesel.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpMagic
long
20260908
Magic number
InpRiskPercent
double
0.5
Risk per trade, % of equity
InpSignalTF
ENUM_TIMEFRAMES
PERIOD_M15
Signal timeframe
InpBiasTF
ENUM_TIMEFRAMES
PERIOD_H1
Bias timeframe
InpFastEMA
int
21
Fast EMA period
InpSlowEMA
int
55
Slow EMA period
InpATRPeriod
int
14
ATR period
InpSLATRMult
double
1.5
SL = this × ATR beyond extreme/EMA
InpTPRMultiple
double
2.0
Take profit in R (reward:risk)
InpUseTrail
bool
true
BE at 1R AND chandelier at 1.5R (bundled)
InpUseSessions
bool
true
Limit to session hours (server live / GMT in tester)
InpSessionStartHour
int
7
Session start hour, inclusive (wrap OK)
Show all 18 inputs
Name
Type
Default
Description
InpSessionEndHour
int
20
Session end hour, exclusive
InpMaxSpreadATRFrac
double
0.15
Skip if spread > this × ATR
InpDailyLossPercent
double
2.0
Latch halt: daily loss % of day-start equity
InpWeeklyLossPercent
double
5.0
Latch halt: weekly loss % of week-start equity
InpMaxSlippagePoints
int
30
Slippage cap in TICKS (tick_size), not SYMBOL_POINT
InpFridayFlatten
bool
true
Close our positions before Friday session end
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone domsendotnet/MT5-Goldesel 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.
EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat
EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di
EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario
Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT
Ladino Bot is an open-source expert advisor for MetaTrader 5 that uses HiLo Activator indicators and moving average crossovers to identify trade entries. It features a triple-timeframe architecture, allowing users to align entries with higher-period trends. Risk controls include daily gain and loss caps, brokerage fee
Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n