

AI Economic Release Strike EA v2.0 User Guide & Set Files
1. Overview
AI Economic Release Strike EA (ERS EA) is a news-specialized scalping EA that analyzes big data from the “GDELT Project,” which covers global news sources, using advanced AI to forecast and capitalize on rapid price movements triggered by major economic events.
It combines multiple AI-driven logics to automatically assess the market impact of each release and its volatility. The EA intelligently determines optimal entry moments before the announcement, and supports fast closing, trailing profit, and reverse stop-loss after the release.
“Global Big Data × Cutting-Edge AI” – Never miss those one-second opportunities around economic events. The EA works seamlessly with all major currency pairs and gold.
- Supported Platform: MetaTrader 5 (MT5)
- Recommended Timeframes: M1–M15 (does not depend on timeframe setting)
- Recommended Symbols: EURUSD / USDJPY / XAUUSD and other major pairs
- Recommended Brokers: ECN / RAW accounts (ultra-low spread preferred)
- Target Volatility: Designed to capture ±20–50 pips or more within 1–5 minutes
2. Installation Guide
Automatic Installation
If purchased on the MQL5 Market, use the “Navigator” > “Market” tab for one-click installation.
Manual Installation
- Copy AI Economic Release Strike EA.ex5 into your MQL5\Experts\ folder
- Restart MT5
Apply to Chart
- Open a chart with any symbol and timeframe (the EA will auto-detect tradable pairs for each event)
- From Navigator → Expert Advisors → AI Economic Release Strike EA, drag & drop onto your chart
- Check “Allow algorithmic trading” → OK
- Symbol suffixes set by your broker (e.g., .m, #, etc.) are resolved automatically
The EA automatically recognizes the tradable pair for each economic event regardless of the chart you attach it to.
You do NOT need to open a dedicated chart for each currency. The EA will respond automatically to all news events on any chart.
Make sure to add https://script.google.com to “WebRequest for listed URL” under [Tools]→[Options]→[Expert Advisors].
This is required for license authentication.
3. Initial Recommended Settings (AI Economic Release Strike EA v2.0)
Group | Parameter | Recommended for Beginners |
---|---|---|
License | InpLicenseKey | (Enter the key issued on purchase) |
Economic Calendar | InpCheckInterval | 90 (60–120 seconds typical) |
Entry | InpLeadSec | 45 (adjust between 20–60 seconds) |
Exit | InpForceCloseSec | 300 (for short-term, 60–180 sec is OK) |
Risk Control | InpMinStars / InpMinVolPips | 3 (Stars) / 20 (pips) |
Spread Filter | InpMaxSpreadPips | 10.0 (ECN/RAW account preferred) |
Lot Settings | InpLotSize / InpVariableLot | 0.05 (start small) / true |
Stop Loss | InpUseInitSL / InpInitSLPips | true / 100 |
Trailing/Reverse Detection | InpEnableTrail / InpUseReverseStop | true (safe) / true |
4. Parameter Reference (ERS EA v2.0)
The input window groups each function for clarity. Do NOT adjust everything at once—always test and tune one block at a time.
Group / Parameter | Description | Default |
---|---|---|
🔑 License Authentication | ||
InpLicenseKey | Authentication key issued upon purchase | (blank) |
InpLicenseInterval | Interval for re-authentication (sec) | 3600 |
📄 Economic Calendar | ||
InpCheckInterval | Interval for reloading economic event CSV (sec) | 90 |
⏱️ Entry | ||
InpLeadSec | How many seconds before release to enter | 45 |
💼 Exit | ||
InpForceCloseSec | How many seconds after the release to force close | 300 |
⚙️ Filters / Risk Control | ||
InpMinStars | Minimum event “star” rating | 3 |
InpMinVolPips | Minimum expected volatility (pips) | 20 |
InpMaxSpreadPips | Max allowed spread (pips) | 10.0 |
💰 Lot Settings | ||
InpLotSize | Fixed lot size | 0.05 |
InpVariableLot | Auto adjust lot size by event confidence (stars) | true |
🛑 Stop Loss | ||
InpUseInitSL | Enable initial stop-loss at order open | true |
InpInitSLPips | Initial stop-loss width (pips) | 100 |
InpTightenAtNews | Tighten SL just before the release | true |
InpTightenSec | Seconds before release to tighten SL | 15 |
🎯 Trailing/Reverse Detection | ||
InpEnableTrail | Enable trailing take-profit | true |
InpTrailPips | Pips to start trailing | 50.0 |
InpTrailOffset | Trailing offset (pips) | 20.0 |
InpUseReverseStop | Auto stop out on adverse move | true |
InpReverseDetectPips | Pips to trigger reverse stop | 7.0 |
InpAdjustSLAfterRelease | Re-adjust SL after release | true |
InpAfterReleaseSLPips | SL width after release (pips) | 15.0 |
InpAdjustSLAfterSec | Seconds after release to adjust SL | 3 |
⚙️ Common Settings | ||
InpEnableEA | EA ON/OFF | true |
InpMagicNumber | MagicNumber (identifier) | 4102025 |
InpUseSymbolMagic | Derive MagicNumber per symbol | true |
InpLogLevel | Log output level 0=INFO, 1=DEBUG… | 1 |
InpEnableCSVLog | Enable CSV log | false |
InpCSVLogFolder | CSV log folder name | ERS_Logs |
5. Parameter Details (ERS EA v2.0)
Parameter | Description |
---|---|
InpLicenseKey | Authentication key issued at purchase. The EA will not run if left blank. |
InpLicenseInterval | Re-authenticates the license every set interval. |
InpCheckInterval | Interval to re-fetch economic event data from Google Sheets (seconds). |
InpLeadSec | Number of seconds before event to enter a trade. |
InpForceCloseSec | Maximum seconds after the event to force-close the position. |
InpMinStars | Minimum “star” rating for economic events (3+ recommended). |
InpMinVolPips | Minimum expected volatility (pips). Lower values may increase noise. |
InpMaxSpreadPips | Maximum allowed spread (pips). Increasing this allows more entries. |
InpLotSize / InpVariableLot | Fixed lot size and enable/disable auto scaling by event confidence. |
InpUseInitSL / InpInitSLPips | Enable initial stop-loss and set its width (pips). |
InpTightenAtNews / InpTightenSec | Auto-tighten SL before the event and how many seconds to apply it. |
InpEnableTrail / InpTrailPips / InpTrailOffset | Enable trailing stop, trigger pips, and offset pips. |
InpUseReverseStop / InpReverseDetectPips | Auto-cut loss on adverse move and trigger pips. |
InpAdjustSLAfterRelease / InpAfterReleaseSLPips / InpAdjustSLAfterSec | Re-adjust SL after the event, new SL width, and delay (seconds). |
InpEnableEA / InpMagicNumber / InpUseSymbolMagic | EA ON/OFF, MagicNumber, separate Magic per symbol. |
InpLogLevel | Log verbosity (0:INFO, 1:DEBUG, 2:WARN, 3:ERR) |
InpEnableCSVLog / InpCSVLogFolder | Enable CSV log output and specify folder. |
6. Parameter Scenarios and Examples
ERS EA v2.0 allows you to dramatically change your trading style and risk profile by tuning just a single parameter.
To help you get a feel for “If I change this, it behaves like this!”—here are practical examples and effects.
Parameter | When to Adjust | Effect / Behavior |
---|---|---|
InpLeadSec |
| Short (e.g. 20 sec) → Only joins right before volatility, less stop-outs Long (e.g. 90 sec) → Targeting bigger ranges, more noise |
InpForceCloseSec |
| Short (30 sec) → Grab quick profits before reversals Long (300 sec) → Hold through aftershock to chase bigger profit |
InpMinStars / InpMinVolPips |
| Lower → More trades, but more noise Higher → Focus on the most reliable events, higher accuracy |
InpMaxSpreadPips |
| Wide (30+) → Allows high-spread situations, more entries Narrow (10 or less) → Only the best conditions, avoid slippage |
InpLotSize / InpVariableLot |
| Fixed (small) → Minimize risk per trade Auto increase → Automatically scale up on ★5 events |
InpUseInitSL / InpInitSLPips |
| Tighter (≤50 pips) → Less risk, but may hit SL more often Wider (≥100 pips) → Absorbs bigger swings, higher drawdown |
InpEnableTrail / InpTrailPips |
| Early (20–30 pips) → Secure small wins Late (50–100 pips) → Wait for big waves |
InpUseReverseStop / InpReverseDetectPips |
| Tight (around 5 pips) → Stop out quickly for safety Loose (10+ pips) → More tolerant but higher risk |
InpTightenAtNews / InpTightenSec |
| Tighten ON/15 sec → Limit risk right before volatility OFF → Use consistent SL at all times |
InpMagicNumber / InpUseSymbolMagic |
| Separate by pair → Avoid management/reporting mix-ups Single for all → Simple operation |
- Start by using a demo account and small lots to fine-tune parameters, then go live.
- If you encounter issues like “SL is too shallow/deep” or “No entries,” try tweaking the parameters above.
- Once comfortable, save multiple set files (.set) for different purposes and switch between them as needed.
7. Daily Operation Flow (ERS EA v2.0)
- Attach ERS EA to any chart in MT5 (no need for dedicated symbol charts)
- Run 24/5 on VPS/PC; always restart after weekends or MT5/OS updates
- Regularly check the Experts tab and trade results. If you see skips or errors, tweak parameters as needed
- Always test in demo and use small lots before going live
8. Notes & FAQ
- Q: No trades are taken?
Check license input, AutoTrading ON, and parameter conditions (InpMinStars, InpMaxSpreadPips, etc.). - Q: Trades are skipped due to spread?
Spreads often widen right before news. To participate anyway, increase InpMaxSpreadPips. - Q: Stop-loss too tight/too loose?
Adjust the balance between InpInitSLPips and InpTrailPips. Use wider SL for high-volatility pairs. - Q: Instantly stopped out by reversal?
Tune InpUseReverseStop and InpReverseDetectPips to set allowed range for reversals.
9. Reading the Experts Tab Log
The “Experts” tab in MT5 logs all EA activity: initialization, license check, event data fetch, entry decisions, and order failures.
Use this to check authentication, entry timing, and reasons for skips.
① Initialization & License Authentication
- INIT | Strike EA v2.0 start … When the chart loads
- LIC | License OK … Authenticated successfully via GAS
- LIC | Invalid … … Key error/expired/WebRequest not permitted, etc.
② Event Data Fetch
- GDELT | GET Economic Release … Fetching event CSV
- status=200 OK … HTTP succeeded, now parsing CSV
- PARSE | EURUSD … … Parsed event row for EURUSD
- LOAD | Loaded n new records … Number of new rows loaded
③ Entry Decision ~ Order Placement
- SYMMATCH … Mapping input symbol → tradable symbol
- SPREAD … Current spread/allowed value
- ORDER | Opened … … Order sent
Send fail err=… … Check error code for reason
Main Logs and Actions
- LIC | Invalid … … Unregistered/expired/inactive key or URL not permitted
- HTTP fail … Network error/URL/SSL problem
- LOAD 0 new records … No matching events in sheet or CSV issue
- SKIP | spread/confidence/volPips … Did not pass filter conditions
10. 📑 Recommended Set Files Explained
**What is a Set File (.set)?**
A set file is a preset containing all EA input parameters, making it easy to save/load your preferred settings.
Switch instantly via “Load”/“Save” on the MT5 Inputs screen. It helps prevent configuration mistakes for best results.
Parameter | Value | Why Chosen |
---|---|---|
InpMinStars | 3 | Targets events rated 3★ or higher for basic trading opportunities |
InpMinVolPips | 20 | Captures meaningful moves with at least 20 pips expected volatility |
InpMaxSpreadPips | 10 | Spread ceiling suitable for standard ECN accounts |
InpLeadSec | 45 | Reasonable entry 45 seconds before release |
InpLotSize | 0.05 | Lot size that balances risk and flexibility |
This is the baseline preset for general use, suitable for all event types.
①. ERS_HighImpact_Stars5.set
Purpose: Specialized preset for high-impact events (5★) like NFP, FOMC, GDP
📁ERS_HighImpact_Stars5.set (0.58 KB)
Parameter | Value | Why Chosen |
---|---|---|
InpMinStars | 5 | Focus on only the most important 5★ events |
InpMinVolPips | 30 | Targets big moves of 30 pips or more |
InpLeadSec | 60 | Enters 1 minute before release to catch major gaps |
InpForceCloseSec | 600 | Holds for 10 minutes post-release to maximize moves |
InpLotSize | 0.07 | Slightly larger lot to maximize profits |
InpTrailPips | 50.0 | Trailing stop set to secure big profits |
InpReverseDetectPips | 15.0 | Quickly stop out on clear reversal |
For top-tier events expected to trigger strong volatility. Early entry and longer holding capture the largest moves.
②. ERS_MediumImpact_Stars4.set
Purpose: Optimized for medium-impact events (4★) such as Retail Sales, PMI
📁ERS_MediumImpact_Stars4.set (0.58 KB)
Parameter | Value | Why Chosen |
---|---|---|
InpMinStars | 4 | Focus on medium-impact 4★ events |
InpMinVolPips | 20 | Typical moves expected for these events |
InpLeadSec | 45 | Standard entry timing |
InpForceCloseSec | 300 | Moderate holding period (5 min) |
InpTrailPips | 40.0 | Trailing stop for mid-sized profits |
InpReverseDetectPips | 10.0 | Stop out on moderate reversal |
Balanced for events with moderate impact. Optimized for risk/reward.
③. ERS_LowImpact_Stars3.set
Purpose: Conservative settings for low-impact events (3★ or less) such as regional indicators
📁ERS_LowImpact_Stars3.set (0.57 KB)
Parameter | Value | Why Chosen |
---|---|---|
InpMinStars | 3 | Include low-impact 3★ events |
InpMinVolPips | 15 | Enters even on smaller expected moves |
InpMaxSpreadPips | 7.0 | Strict spread limit to minimize cost |
InpLotSize | 0.03 | Small lot to minimize risk |
InpLeadSec | 30 | 30 seconds before release for more certainty |
InpForceCloseSec | 180 | Quick 3-minute exit to lock in small profits |
InpTrailPips | 25.0 | Secures small profits quickly |
InpReverseDetectPips | 5.0 | Cut loss even on minor reversal |
Very conservative, for stacking small wins and minimizing risk during low-impact events.
④. ERS_Demo_SafeSettings.set
Purpose: Safe settings for first demo test or EA function check
📁ERS_Demo_Safe.set (0.57 KB)
Parameter | Value | Why Chosen |
---|---|---|
InpLotSize | 0.01 | Minimize risk by using the smallest lot |
InpMinStars | 3 | Targets generally important events |
InpEnableTrail | true | Secure profits with trailing function |
InpTrailPips | 30 | Start trailing when profit reaches 30 pips |
InpUseInitSL | true | Limit loss with initial stop-loss |
InpInitSLPips | 50 | Safe stop-loss distance |
InpMaxSpreadPips | 20 | Allows wider spreads to maximize trading chances |
InpForceCloseSec | 300 | Standard holding time (5 minutes) |
Perfect for function testing. Use in demo to check system performance before switching to a real account.
11. Support
For setup or troubleshooting, please contact us via MQL5 messages or the comments on the product page. Attaching the log from the Experts tab and screenshots will help us respond quickly.
About CSV Logging
To help diagnose issues, enable CSV logging by following these steps:
- Set InpEnableCSVLog=true in the set file
- Reproduce the situation causing the problem
- Collect the log file and send it to the developer
How to Access CSV Log Files (MT5)
CSV log files are saved as follows:
- Click the “File” menu at the top left of MT5
- Select “Open Data Folder”
- Double-click the “MQL5” folder
- Open the “Files” folder
- Open the log folder you specified (default: “ERS_Logs”)
- Look for the latest log file (“ERS_Log_YYYYMMDD_HHMMSS.csv” format)
Important: Log data may not be fully written until you close MT5. Always close MT5 before sending the log file to ensure it is up to date.
Sending this CSV log helps us understand trading and event data, making it much easier to identify problems.
Note: Normally keep CSV logging OFF (InpEnableCSVLog=false). Logging may impact performance and use disk space. Enable only temporarily if needed for troubleshooting.
Disclaimer: Leveraged trading involves high risk. Past results do not guarantee future performance. Trade at your own risk and discretion.
Thank you for reading. Wishing you successful trading!