Collection · MT4 · MT5

News Trader and Turtles EA Collection

by githubgit

This repository provides a collection of expert advisors for MetaTrader 4 and 5, centered on news event volatility and trend following.

High risk

GitHub stars3
Forks4
Last update6 months ago6 Mar 2026
LicenceNone stated

Overview

The primary NewsTrader tool integrates with online economic calendars to automate trade placement seconds before scheduled events. It deploys a grid of pending orders with configurable spacing and manages exits through hard stop losses, take profits, and trailing stop logic. The collection also includes a Turtle trading strategy and a utility for closing hedged positions at specific times. The README is missing.

Details

Author

githubgit on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5)

Strategy

News, Trend following, Grid

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Opens a grid of orders: exposure builds up in a trend

Input parameters

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

NameTypeDefaultDescription
ExpertNamestringNewsTrader_v7.02
Magicint7777777Magic Number
Slippageint1Slippage
calInputsstring===== Calendar settings =====
CalendarDirectorystringFX NewsCalendar Directory
CalendarNamestringInvesting.comCalendar Name
TestCalNamestring2015-2018Tester Calendar Name
WebAdressstringhttps://ec.forexprostools.com/URL to read Calendar from
UseAutoTimeZonebooltrueAuto TimeZone Detection
TimeZoneint2Manual TimeZone
ReadFromFileboolfalseRead Calendar From File
PrintInLogbooltruePrint in Log (false-off, true-on)
Show all 40 inputs
NameTypeDefaultDescription
DisplayLinesbooltrueDisplay Lines Option (false-off, true-on)
DisplayTextbooltrueDisplay Text Option (false-off, true-on)
DisplayEventsbooltrueDisplay Events Option (false-off, true-on)
LineStyleENUM_LINE_STYLESTYLE_DOTLine Style
timeInputsstring===== Timing settings =====
SecBeforeNewsdouble20Seconds before News Time and Order Open Time, sec
OrderDurationint140Pending Order Expiration, sec
ProcessTimedouble10Order Adjusting Time in sec
SessionEndTimestring23:20Session End Time
ordInputsstring===== Order settings =====
OrdersNumint23Number of pending orders from one side
CandlesToCheckint1Candles to check Hi Lo
PendOrdGapdouble30Gap for Pending Orders from last HiLo
OrdersStepdouble30Step between orders
DeleteOppositebooltrueOpposite Orders delete
TrailOppositebooltrueOpposite Orders trailing
CloseOnNewEventbooltrueClose Orders On New Event
InitialStopdouble20Initial Stop
TakeProfitdouble150Take Profit
TrailingStopdouble0Trailing Stop
TrailingStepdouble0Trailing Stop Step
BreakEvendouble90Breakeven
PipsLockdouble60Lock
TrailTPstring======= Dynamic TP ========
DeltaTPdouble10Distance before TP to trail SL/TP
MoveSLdouble40Distance to move SL from current price when price closer to TP than DeltaTP
ECN_ModeboolfalseECN Mode
DisplayLevelsbooltrueDisplay Levels for ECN Mode

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone githubgit/mt4-ea 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

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

EA MQL4 Collection

by Yumerain
151 stars

This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz

MT4 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of EA MQL4 Collection
135 stars

This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri

MT4MT5 Collection Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Nkanven EA Collection

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
67 stars

This repository contains a large collection of over 100 expert advisors for the MetaTrader 5 platform, many of which appear to be generated using the Mission Automate tool. The library covers a wide variety of trading methodologies including range breakouts, Ichimoku cloud strategies, Heiken Ashi engulfing patterns, an

MT5 Collection Trend followingBreakoutMartingale High risk
Updated 3 years ago None stated GitHub repository of Konz MQL5 EA Collection

Super Trading Collection

by RoyluxuryTrading
24 stars

This repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management

MT4MT5 Collection Trend followingScalpingAI / machine learning High risk

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