Collection · MT4

4xlots Extra EA Collection

by patrickingle

This repository provides a collection of MetaTrader 4 expert advisors and libraries designed to integrate with the 4xlots risk management web service.

High risk

GitHub stars1
Forks5
Last update6 years ago15 Jan 2020
LicenceApache-2.0

Overview

The collection includes various trading robots such as a trend-following system, a double SMA crossover strategy, and a Martingale-based EA. It focuses on dynamic risk controls by utilizing a REST API bridge to manage lot sizes based on account equity and margin levels. Risk features include trailing stops, hedging multiples, equity protection, and trade frequency limits to prevent account drawdown.

Details

Author

patrickingle on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Martingale, Hedging, Indicator crossover

Markets

Forex

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Holds opposite positions at once

Topics

forexforex-tradingforex-predictionforexconnect-apiforexmm

Input parameters

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

NameTypeDefaultDescription
MTBridgeURLstringhttp://localhost:3000/
TradeEnabledbooltrue
MinEquitydouble0
MinimumProfitdouble2
MoneyManagementboolfalse
Riskdouble2.5
Hedgeboolfalse
HedgeMultipledouble2Increases the trend side lots by this multple for a hedge trade
HedgeRiskint00=low [<0.63%],1=medium[<0.77%],2=high
OTSboolfalseOne trade open at a time per currency
OTGboolfalseOne trade open at a time for all currencies/charts
MaxLotsdouble1000The maximum lots
Show all 20 inputs
NameTypeDefaultDescription
Expirydouble172800value is in seconds (660=10 mins; 172800=48 hrs[2 days]
slippageint10
TrailingStopdouble50
namestring4XITE
voice_confirmationboolfalseturns on voice confirmation after each trade
Currency1stringAUDJPYi
Currency2stringCADJPYi
Currency3stringAUDCADi

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone patrickingle/4xlots-extra 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, and any .mqh files into the Include folder the code expects.
  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

This repository is a collection of various MetaTrader 4 expert advisors, featuring the WallStreet Forex Robot along with other tools like SteadyWinner and IndoRun. The primary EA utilizes technical indicators such as Moving Averages, CCI, and Williams' Percent Range to execute trades on the M15 timeframe. It includes c

MT4 Collection Trend followingIndicator crossoverMartingale High risk

Git Gpa Collection

by shidatonglin
5 stars

GitGpa is an extensive repository of MetaTrader 4 expert advisors, primarily featuring implementations of the OzFX strategy alongside various technical indicator-based bots. The collection includes tools for trend chasing, breakout trading, and moving average crossovers. These experts incorporate multiple risk manageme

MT4 Collection Trend followingBreakoutIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of Git Gpa 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 MetaTrader 4 collection contains various expert advisors, including a primary strategy based on EMA 50/200 crossovers and RSI filtering. The main EA manages entries through trend confirmation and provides risk controls such as stop loss, take profit, and trailing stops. It includes features for breakeven activatio

MT4 Collection Indicator crossoverTrend followingGrid High risk
Updated 10 months ago Custom licence GitHub repository of Simple Forex Tools Collection

FX Trading EA Collection

by tambillbka
1 stars

This repository provides a collection of automated trading systems for MetaTrader 4 and 5. The expert advisors utilize various technical indicators, including ADX, DMI, RSI, and Heiken Ashi, to determine market entry points. Some strategies are based on price action from previous candle directions. Trade management fea

MT4MT5 Collection Trend followingScalpingMartingale High risk
Updated 1 year ago None stated GitHub repository of FX Trading EA Collection
161 stars

This collection for MetaTrader 4 provides a variety of expert advisors and utilities intended for automated trading and educational use. The primary component is a moving average crossover robot that opens positions based on trend direction. It features risk management tools including percentage-based stop losses, take

MT4 Collection Indicator crossoverMartingaleGrid High risk

More collections

Need a broker for MT4?

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

Compare brokers