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

Platform

MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5)

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 5 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 7 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 3 months ago None stated GitHub repository of HLT Auto Trader

OrderBlock ICT

by cfournel
3 stars

This MetaTrader 5 expert advisor implements Inner Circle Trader concepts, specifically focusing on Order Blocks and PD Arrays for trade entries. The robot identifies price action structures including breakouts, range-based patterns, and Fibonacci extensions. For risk management, it utilizes ATR-based stop losses, trail

MT5 Trading robot SMC / ICT / price actionBreakoutNews
Updated 3 months ago None stated GitHub repository of OrderBlock ICT

More trading robots

Need a broker for MT4/MT5?

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

Compare brokers