Collection · MT4 · MT5

Fxcodebase Archive

by gehtsoft-usa

This repository is a comprehensive backup of trading resources from the defunct fxcodebase community, containing a diverse collection of expert advisors for MetaTrader 4 and 5.

High risk

GitHub stars3
Forks3
Last update2 months ago9 Jul 2026
LicenceGPL-3.0

Overview

The archive serves as a repository for legacy source code, featuring strategies ranging from RSI crossovers to advanced hedging and martingale lot scaling systems. It includes tools for porting older Lua-based strategies to modern MetaTrader environments. Risk management features like stop loss and take profit are present in most files but frequently default to zero, requiring manual configuration by the user.

Details

Input parameters

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

NameTypeDefaultDescription
Stop_Lossint0Stop Loss [point]
Take_Profitint0Take Profit [point]
Break_Evenint0Break Even [point]
newLotSizeOnbooltrueUse New Lot Size Logic:
uBaseLotdouble0.01Base Lot
uMultiplierdouble2Multiplier:
Slot0IndParam0int25Period
Slot0IndParam1int0Shift
Slot1IndParam0int55Smoothing period
Slot1IndParam1int50Level
Slot2IndParam0int20Fast MA period
Slot2IndParam1int15Slow MA period
Show all 22 inputs
NameTypeDefaultDescription
Slot2IndParam2int0Fast MA shift
Slot2IndParam3int0Slow MA shift
Slot3IndParam0int4Slow MA period
Slot3IndParam1int12Fast MA period
Slot3IndParam2int9Signal line period
Slot4IndParam0int6Slow MA period
Slot4IndParam1int12Fast MA period
Slot4IndParam2int9Signal line period
Slot5IndParam0int300Stop Loss
Slot5IndParam1int600Take Profit

How to install it

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

Mql Projects Collection

by PranavSonar
3 stars

This repository features a collection of MetaTrader 4 expert advisors, primarily focused on a multi-strategy system named Complete Robot. The main EA utilizes a combination of technical indicators including Moving Averages, MACD, Bollinger Bands, and Stochastic oscillators for market entry. It employs a grid-based appr

MT4 Collection GridMartingaleIndicator crossover High risk
Updated 8 years ago None stated GitHub repository of Mql Projects Collection

MQ4 Master Collection

by hairibaba
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and utility tools. It includes diverse trading strategies ranging from M1 scalping and Heiken Ashi trend following to swing-based approaches. The codebase features a robust trade management framework with classes for order execution, error handling,

MT4 Collection Trend followingScalpingIndicator crossover High risk Archived
Updated 7 years ago None stated GitHub repository of MQ4 Master Collection
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including robots based on RSI, Bollinger Bands, and moving averages. The primary featured expert advisor implements a dual-symbol statistical arbitrage strategy using indicators such as ZigZag and Moving Averages to identify entries. It employs a ma

MT4 Collection ArbitrageMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Clunique Experts Collection

MQL5 Expert Advisors Collection

by AmonCheruiyotHQ
1 stars

This repository features a collection of MetaTrader 5 expert advisors, with a primary focus on a multi-currency ring trading system. The flagship EA executes trades across several currency pairs simultaneously, utilizing triangular hedging logic to manage exposure. It incorporates various lot management modes including

MT5 Collection Multi-strategyHedgingMartingale High risk
109 stars

LIVMOR is a MetaTrader 4 expert advisor found within this repository of over fifty automated trading tools. It utilizes technical indicators such as MACD, Stochastic, and moving averages to identify entry points, while also offering manual price entry options. The EA manages risk through user-defined stop loss and take

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of LIVMOR Trading Collection

Introducao MQL5 Collection

by RafaelFenerick
75 stars

This repository is a collection of educational expert advisors for MetaTrader 5, developed as part of an introductory MQL5 programming series. It includes multiple standalone robots utilizing common technical indicators such as moving average crossovers, Bollinger Bands, and the Relative Strength Index. The primary exp

MT5 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Introducao MQL5 Collection

More collections

Need a broker for MT4/MT5?

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

Compare brokers