JB News Bot is an automated trading expert advisor for MetaTrader 4 and MetaTrader 5 that executes positions based on scheduled economic data releases.
JB News Bot 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 entry logic based on the relationship between actual, forecast, and previous data points for various currencies. It includes essential risk management controls such as fixed lot sizing, stop loss, and take profit. The tool requires a valid API key for data synchronization.
Read from JB-News-Bot.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
inpNews
string
====News Settings====
inpApiKey
string
API-KEY
API Key
inpNewsSource
ENUM_NEWS_SOURCE
NEWS_SOURCE_MQL5
News Source
inpOffset
int
0
Offset
inpTrade
string
====Trade Settings====
inpCurrency
ENUM_CURRENCY
CURRENCY_USD
News Currency
inpNewsEvent
ENUM_NEWS_EVENTS
Core_CPI_monthly
News Event
inpBuyStrat
ENUM_NEWS_STRATEGY
actual_more_than_forecast_equal_to_previous
Buy Strategy
inpSellStrat
ENUM_NEWS_STRATEGY
actual_less_than_forecast_equal_to_previous
Sell Strategy
inpLotSize
double
0.10
Lot size
inpTakeProfit
double
100.00
Take Profit (Points)
inpStopLoss
double
50.00
Stop Loss (Points)
Show all 14 inputs
Name
Type
Default
Description
inpComment
string
JB-News-Bot
Order Comment
inpMagic
long
124211
Magic Number
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone jblanked/JB-News 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, and any .mqh files into the Include folder the code expects.
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
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
Event Trader is a news-trading utility for MetaTrader 4 designed to automate straddle entries around scheduled economic releases. The EA places buy-stop and sell-stop orders at a user-defined GMT time and distance from the current market price. It incorporates one-cancels-the-other logic to delete the opposing pending
Forex News Killer is a risk management utility for MetaTrader 4 designed to protect accounts from volatility during high-impact economic news. The tool monitors real-time calendars and automatically intervenes based on user-defined time buffers before and after events. It can close open positions, remove pending orders
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