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.
Read from NewsTrader_v7.02.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
ExpertName
string
NewsTrader_v7.02
Magic
int
7777777
Magic Number
Slippage
int
1
Slippage
calInputs
string
===== Calendar settings =====
CalendarDirectory
string
FX News
Calendar Directory
CalendarName
string
Investing.com
Calendar Name
TestCalName
string
2015-2018
Tester Calendar Name
WebAdress
string
https://ec.forexprostools.com/
URL to read Calendar from
UseAutoTimeZone
bool
true
Auto TimeZone Detection
TimeZone
int
2
Manual TimeZone
ReadFromFile
bool
false
Read Calendar From File
PrintInLog
bool
true
Print in Log (false-off, true-on)
Show all 40 inputs
Name
Type
Default
Description
DisplayLines
bool
true
Display Lines Option (false-off, true-on)
DisplayText
bool
true
Display Text Option (false-off, true-on)
DisplayEvents
bool
true
Display Events Option (false-off, true-on)
LineStyle
ENUM_LINE_STYLE
STYLE_DOT
Line Style
timeInputs
string
===== Timing settings =====
SecBeforeNews
double
20
Seconds before News Time and Order Open Time, sec
OrderDuration
int
140
Pending Order Expiration, sec
ProcessTime
double
10
Order Adjusting Time in sec
SessionEndTime
string
23:20
Session End Time
ordInputs
string
===== Order settings =====
OrdersNum
int
23
Number of pending orders from one side
CandlesToCheck
int
1
Candles to check Hi Lo
PendOrdGap
double
30
Gap for Pending Orders from last HiLo
OrdersStep
double
30
Step between orders
DeleteOpposite
bool
true
Opposite Orders delete
TrailOpposite
bool
true
Opposite Orders trailing
CloseOnNewEvent
bool
true
Close Orders On New Event
InitialStop
double
20
Initial Stop
TakeProfit
double
150
Take Profit
TrailingStop
double
0
Trailing Stop
TrailingStep
double
0
Trailing Stop Step
BreakEven
double
90
Breakeven
PipsLock
double
60
Lock
TrailTP
string
======= Dynamic TP ========
DeltaTP
double
10
Distance before TP to trail SL/TP
MoveSL
double
40
Distance to move SL from current price when price closer to TP than DeltaTP
ECN_Mode
bool
false
ECN Mode
DisplayLevels
bool
true
Display Levels for ECN Mode
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone githubgit/mt4-ea from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts or MQL5/Experts.
3Copy the filesCopy the .mq4 / .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
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
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
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-
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
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