News Trading Algo monitors specified timeframes for liquidity grabs and trend direction defined by two exponential moving averages. The algorithm is designed to place orders shortly before scheduled news releases. Risk management includes fixed position sizing, stop loss, and take profit targets defined in ticks, along with a break-even function. The repository lacks a README, requiring users to format their own news data files based on the GBPUSD example provided.
Read from News Trading Algo.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
emaTimeframe
ENUM_TIMEFRAMES
PERIOD_M15
lqTimeframe
ENUM_TIMEFRAMES
PERIOD_M15
positionSize
double
0.1
Position Size
profitTarget
double
100
Profit Target in Ticks
stoploss
double
1000
Stop Loss in Ticks
breakeven
double
800
Break even in Ticks
lesserEmaPeriod
int
10
Faster EMA period
greaterEmaPeriod
int
30
Slower EMA period
NameOfFileWithNewsDates
string
News_GBPUSD.txt
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone JanekKosa/Forex-News-Trading-Algorithm- from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .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.
News Trader is a semi-automatic expert advisor for MetaTrader 4 and MetaTrader 5 designed to execute trades around high-volatility economic announcements. Users manually input the scheduled news release time, and the robot opens positions a specified number of seconds before the event. It supports single-direction trad
JB News Bot is an automated trading expert advisor for MetaTrader 4 and MetaTrader 5 that executes positions based on scheduled economic data releases. It interfaces with the JBlanked News API to fetch calendar events from sources including MQL5, Forex Factory, and FXStreet. The EA allows users to configure specific en
Amazing is a news trading expert advisor for MetaTrader 4 and 5 designed to capture volatility during scheduled economic announcements. It operates as a semi-automatic tool, requiring the user to manually input the specific date and time of an upcoming news event. The EA places two symmetrical pending orders at a defin
This MetaTrader 5 expert advisor is designed for news trading by managing pending orders around scheduled economic events. The robot places orders at a specific start time and dynamically shifts their distance from the market price until the news release triggers a breakout. It features a trailing stop that can be exec
This news filter module for MetaTrader 5 provides a framework for Expert Advisors to avoid trading during high-impact economic events. It features a dual-layer system: a decision layer that blocks new entries and an action layer that can flatten current positions or cancel pending orders. The tool supports live termina
This MetaTrader 5 expert advisor automates news trading by integrating with an external Python web scraper. The Python component extracts economic calendar data from Forex Factory and saves it to a local file, which the EA monitors in real-time. Minutes before scheduled news events, the bot executes a straddle strategy