Trading robot · MT4 · MT5

News Trading EA

by Badzoneyv4n

News Trading EA is a volatility-capture robot for MetaTrader 4 and MetaTrader 5 designed to trade high-impact economic events.

GitHub stars3
Forks0
Last update3 years ago4 Aug 2023
LicenceNone stated

Overview

The EA places simultaneous buy stop and sell stop orders at a specific user-defined time before news releases. Once one order triggers, the robot is designed to close the opposite pending order. It includes risk controls such as target profit in pips and a risk management function that monitors the account balance to close losing trades at a one or two percent threshold.

Details

Author

Badzoneyv4n on GitHub

Type

Trading robot

Strategy

News

Markets

Forex

Timeframes

M1-M5

Risk Profile

  • Trades without a fixed stop loss

Input Parameters

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

NameTypeDefaultDescription
StartTimestring05:29:50Time to place trades
Pipdiffstring5Pip difference
TargetProfitstring10Target Profit in pips
StopLossstring0Stop Loss in pips
Number_tradesint0How many trades 0 = 2trades, 2= 4 trades, 4 = 6 trades
rskint1Risk 1% or 2% Per trade

How to Install It

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

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 7 months ago GPL-3.0 GitHub repository of EA31337
9 stars

This MetaTrader 5 expert advisor is designed for high-impact news trading on the forex market. It uses a straddle strategy, placing buy stop and sell stop pending orders at specific pre-set times before news releases. The EA supports multiple layered entries, often referred to as barcode entries, at fixed pip distances

MT5 Trading robot NewsScalping
Updated 3 years ago None stated GitHub repository of Fundamental News Scalper
9 stars

This MetaTrader 5 expert advisor collection provides multiple variants for scalping gold on the one-minute timeframe. It utilizes a combination of Stochastic Oscillator crossovers and linear regression analysis to identify trend quality and entry points. Trade management is handled through ATR-based dynamic stop loss a

MT5 Trading robot ScalpingTrend followingMean reversion

Falcon S

by vzhomeexperiments
6 stars

Falcon S is a rule-based expert advisor for MetaTrader 4 designed to execute trades based on external sentiment analysis data. It functions as a production bridge for decisions generated in external environments like R, reading trade triggers from CSV files. The robot operates primarily on the H1 timeframe with schedul

MT4 Trading robot NewsAI / machine learning
Updated 8 years ago MIT GitHub repository of Falcon S

HLT Auto Trader

by GeorgVahi
6 stars

HLT is an automated trading robot for MetaTrader 5 that focuses on market structure and swing analysis across multiple timeframes from M1 to H4. The expert advisor synchronizes with New York time and identifies setups based on price swings and daily trading plans. It includes a fixed risk money management module and sp

MT5 Trading robot SMC / ICT / price actionNews
Updated 5 months ago None stated GitHub repository of HLT Auto Trader

Xau Ai Pro

by apolopanda500
3 stars

This expert advisor for MetaTrader 5 is a sophisticated trading system specifically optimized for gold. It operates as part of a hybrid ecosystem, utilizing a Python-based desktop interface for local machine learning model training and market analysis while executing trades via the MQL5 robot. The EA employs a multi-la

MT5 Trading robot AI / machine learningTrend followingNews
Updated 2 weeks ago None stated GitHub repository of Xau Ai Pro

More news EAs

Related on ForexR

Need a Broker for MT4/MT5?

Compare regulated brokers that support MT4/MT5, with spreads, minimum deposits and leverage side by side.

Compare MT5 brokers