Collection · MT4

Lorne MQL4 Collection

by lorne-luo

This MetaTrader 4 repository provides a collection of expert advisors and technical utilities built on a custom framework.

High risk

GitHub stars7
Forks1
Last update9 years ago2 Jul 2017
LicenceNone stated

Overview

The primary trading systems, such as New Golden EA, utilize trend-based logic across multiple timeframes including H4, H1, and M15. These robots implement a multi-stage trailing stop mechanism that adjusts protection levels as specific profit targets are met. Risk management is handled through hard stop losses, take profits, and lot sizing based on account equity. The library also includes auxiliary tools for automatic stop loss management, investor notifications, and hedging assistance.

Details

Author

lorne-luo on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Multi-strategy, Martingale

Markets

Any symbol

Timeframes

M15-H1, H4 and above

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
MagaPeriodint40趋势线周期
StopLossint30止损点数
TakeProfitdouble40
Lotdouble0.1正常开单手数
Slipint3滑点偏移点数
TrailingStopint30跟踪止损点数
TrailingStopStepint20紧逼跟踪止损方式时起作用,最高盈利每增加20移动一次止损
TrailingStopLevel0int30盈利30点后
TrailingStopLevel1int50盈利50点后开始设置跟踪止损
TrailingStopLevel2int70盈利80点后再次设置跟踪止损
TrailingStopLevel3int90盈利100点后将每20点设置一次止损
___string==================资金管理参数==================
Show all 15 inputs
NameTypeDefaultDescription
OriginCashint1000
UsePercentint5
AbandonPercentint10

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone lorne-luo/MQL4 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

FX Git Collection

by dennislwm
101 stars

This repository contains a diverse collection of MetaTrader 4 expert advisors and R-based financial scripts. The primary robot is based on the Nanningbob trading system, which utilizes multi-timeframe analysis across daily and four-hour charts to identify trends and ranging markets. It employs Bollinger Bands for mean-

MT4 Collection Trend followingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of FX Git Collection
19 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily focused on the MultiTrader dashboard and various technical utility robots. MultiTrader functions as a multi-symbol management tool that monitors dozens of currency pairs simultaneously, using high and low percentage levels for trade execut

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 7 years ago None stated GitHub repository of MQL4 MultiTrader Collection
4 stars

Chinaliyue MT4 EA Collection is a repository of various expert advisors and trading utilities for MetaTrader 4. The collection features several manual trading panels that allow users to execute orders with predefined stop loss and take profit levels. It includes management functions such as trailing stops and break-eve

MT4 Collection ScalpingMulti-strategyTrend following High risk

Tony Tan EA Collection

by leciffre69
4 stars

This collection of MetaTrader 4 expert advisors provides several distinct trading strategies including candlestick pattern recognition, moving average trends, and currency strength analysis. The repository contains a dedicated martingale algorithm alongside robots focused on engulfing and morning star patterns. The pri

MT4 Collection Trend followingMartingaleSMC / ICT / price action High risk
Updated 10 months ago None stated GitHub repository of Tony Tan EA Collection
4 stars

This repository contains an extensive collection of over 200 Expert Advisors developed for the MetaTrader 4 and MetaTrader 5 platforms. The files range from individual strategy implementations like CCI multi-pair and cycle-based trading to comprehensive testing frameworks. The primary featured Expert Advisor includes a

MT4MT5 Collection Indicator crossoverMulti-strategyTrend following High risk

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

More collections

Need a broker for MT4?

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

Compare brokers