Trading robot · MT5

Vilona Gold Trading EA

by DIRJEN-BOT

Vilona Gold Trading EA is a trend-following robot for MetaTrader 5 tailored for XAUUSD.

High risk

GitHub stars1
Forks0
Last update2 months ago2 Sep 2026
LicenceNone stated
Latest releasev1.0.02 months ago

Overview

Vilona Gold Trading EA executes trades based on daily breakouts and moving average filters, often focusing on long-only setups to align with secular trends. Risk management features include equity-based lot sizing, fixed stop losses, trailing stops, and partial profit-taking. The EA incorporates defensive controls such as a daily loss percentage limit and a maximum drawdown floor. It avoids high-risk methods like martingale or grid, managing one position at a time. The repository also provides a unique graphical HUD and pet animation for visual tracking.

Details

Author

DIRJEN-BOT on GitHub

Type

Trading robot

Strategy

Trend following, Breakout, Indicator crossover, Martingale

Markets

Gold

Timeframes

M15-H1, H4 and above

Risk Profile

  • Uses martingale lot scaling: losses can grow fast

Topics

algorithmic-tradingexpert-advisorforex-tradingfree-tradinggold-tradingmetatrader-5mql5mt5trading-eaxauusd

Input Parameters

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

NameTypeDefaultDescription
InpRiskPctdouble8.00equity risk per full stop (growth profile, WF-validated)
InpMaxLotdouble50.00hard lot cap
InpMinLotdouble0.01broker-compatible lot floor
InpSignalTFint1440240=H4, 1440=D1, 60=H1
InpBreakoutBarsint5prior signal-TF bars
InpEMATrendint200trend EMA period
InpADXMindouble0.00 = disabled
InpADXPeriodint14
InpATRPeriodint14
InpATRPctMindouble0.1
InpATRPctMaxdouble20.0
InpStopLossPtsdouble8000
Show all 30 inputs
NameTypeDefaultDescription
InpTrailingStartPtsdouble15000
InpTrailingStepPtsdouble8000
InpMinSpreadPtsdouble300
InpDailyLossPctdouble3.0lock new entries for the server day (cooling)
InpMaxDDTotalPctdouble20.0transient drawdown floor (auto-resume on recovery)
InpMagicint119501
InpLongOnlybooltruecopy-trading profile: long-only (gold secular uptrend)
InpEMAGateint50require close > EMA(N) on signal TF for LONGs (0=off)
InpPartialTPbooltruebank part of the position at 1R
InpPartialFracdouble0.30fraction closed at 1R (0.30 = walk-forward validated)
InpPartialTPMultdouble1.0TP at 1R for partial
InpH4PullbackbooltrueD1 trend + H4 pullback entry
InpH4EMAint20H4 EMA for pullback
InpH4PullbackBarsint5H4 pullback lookback
InpH4PullbackDepthdouble0.5pullback depth as fraction of ATR
InpSoundEnabledbooltrueplay WAV alerts on events
InpPetEnabledbooltrueshow pet animation on chart
InpBrandHUDOnlyboolfalsetrue = brand HUD mode (no trading)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone DIRJEN-BOT/mt5-gold-trading-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.
  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

Axuusd Gold Advisor

by damozycodes
1 stars

This expert advisor is designed specifically for trading gold on the MetaTrader 4 platform. It employs a hybrid strategy approach, allowing users to toggle between trend following using moving average crossovers, mean reversion via RSI and Stochastic divergence, and breakout patterns. Trade management includes automate

MT4 Trading robot Trend followingMean reversionBreakout High risk
Updated 9 months ago None stated GitHub repository of Axuusd Gold Advisor

EA Scalper XAUUSD

by francomascareloai
266 stars

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

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 4 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Nyao Scalper

by elrizwiraswara
214 stars

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

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 2 weeks ago BSD-3-Clause GitHub repository of Nyao Scalper

AI Enhanced HFT

by Marco210210
24 stars

This MetaTrader 5 expert advisor combines technical indicators with machine learning forecasts to trade the Forex market. It uses a trend-following approach based on Exponential Moving Average crossovers, filtered by the Average Directional Index and volume confirmations. A unique feature is its integration with extern

MT5 Trading robot Trend followingIndicator crossoverAI / machine learning High risk
Updated 1 year ago None stated GitHub repository of AI Enhanced HFT

Prop Firm EA Fleet

by cgemise971
20 stars

Prop Firm EA Fleet is a collection of MetaTrader 5 robots designed for passing prop firm evaluations and managing funded accounts. The suite utilizes various strategies including market structure analysis, session range breakouts for London and New York sessions, and high-frequency scalping. It features strict risk man

MT5 Trading robot SMC / ICT / price actionBreakoutScalping High risk
Updated 10 months ago None stated GitHub repository of Prop Firm EA Fleet

Prem Gold Advisor

by Premkumar238
13 stars

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

MT5 Trading robot BreakoutTrend followingMartingale High risk
Updated 2 months ago None stated GitHub repository of Prem Gold Advisor

More gold EAs

Related on ForexR

Need a Broker for MT5?

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

Compare MT5 brokers