Trading robot · MT4

XAUUSD Forex Trader

by frkn2076

This expert advisor for MetaTrader 4 focuses on gold trading using daily price extremes and moving averages.

GitHub stars31
Forks13
Last update5 years ago26 May 2021
LicenceNone stated

Overview

XAUUSD Forex Trader calculates the 7-day Simple Moving Average and identifies the highest price points from the previous five trading days to determine market direction. The EA executes its logic on a five-second timer interval rather than processing every price tick. Input parameters are primarily dedicated to tracking specific order ticket numbers for up to twenty positions. The documentation is minimal and the provided code lacks visible risk management controls like stop loss or take profit in the external inputs.

Details

Author

frkn2076 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Mean reversion, Breakout

Markets

Gold

Timeframes

H4 and above

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

EA files

Input parameters

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

NameTypeDefaultDescription
firstOrderTicketNumberint0
secondOrderTicketNumberint0
thirdOrderTicketNumberint0
fourthOrderTicketNumberint0
fifthOrderTicketNumberint0
sixthOrderTicketNumberint0
seventhOrderTicketNumberint0
eightthOrderTicketNumberint0
ninethOrderTicketNumberint0
tenthOrderTicketNumberint0
sellTicketNumberint0
sellTicketNumber2int0
Show all 20 inputs
NameTypeDefaultDescription
sellTicketNumber3int0
sellTicketNumber4int0
sellTicketNumber5int0
sellTicketNumber6int0
sellTicketNumber7int0
sellTicketNumber8int0
sellTicketNumber9int0
sellTicketNumber10int0

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone frkn2076/XAUUSD-Forex from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 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

Mad Pound Profits

by Syakyr
16 stars

Mad Pound Profits is a MetaTrader 4 expert advisor that automates trading based on structural breakouts and price action. The system utilizes time-specific analysis windows throughout the day to identify entry opportunities. It incorporates technical elements such as Fibonacci levels, momentum indicators, and mean reve

MT4 Trading robot BreakoutSMC / ICT / price actionMartingale High risk Archived
Updated 7 years ago None stated GitHub repository of Mad Pound Profits

Session Sauce

by jblanked
13 stars

Session Sauce is an automated expert advisor for MetaTrader 4 designed to trade market session transitions and price extremes. It allows users to configure entries based on session opens, highs, and lows for the New York, London, and Asian sessions. The EA includes risk management features such as fixed stop losses, ta

MT4 Trading robot BreakoutMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Session Sauce

HFT V1

by mojtaba-abedini
2 stars

HFT V1 is a MetaTrader 4 expert advisor designed to execute trades based on historical data analysis. The robot calculates dynamic price levels, including mid-lines and breath levels, by evaluating a minimum threshold of previous account history. It manages risk through fixed stop loss and take profit settings, with lo

MT4 Trading robot Mean reversionBreakout
Updated 4 years ago None stated GitHub repository of HFT V1

Baby MT4 EA

by dolie
2 stars

This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I

MT4 Trading robot Trend followingBreakoutScalping High risk
Updated 9 years ago None stated GitHub repository of Baby MT4 EA

EURUSD Surge EA

by Masa1984a
2 stars

This MetaTrader 4 expert advisor is designed specifically for the EURUSD pair, focusing on price surge detection and subsequent pullback entries. It identifies significant volatility using ATR and candlestick body ratios, entering trades during correction phases. The robot incorporates multi-timeframe analysis across M

MT4 Trading robot Trend followingBreakoutMean reversion

Ubot

by techteam92
1 stars

Ubot is an automated trading robot for MetaTrader 4 that utilizes technical analysis to execute market orders. It incorporates specific strategy patterns such as Sharkfin and Squeeze logic, likely based on the included Traders Dynamic Index library. The EA features comprehensive trade management including trailing prof

MT4 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago Custom licence GitHub repository of Ubot

More trading robots

Need a broker for MT4?

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

Compare brokers