AI Economic Release Strike EA – User Manual & Preset Files

AI Economic Release Strike EA – User Manual & Preset Files

14 May 2025, 01:54
Mikoto Hamazono
0
132

AI Economic Release Strike EA – User Manual & Preset Files

1. Overview

The AI Economic Release Strike EA (hereafter ERS EA) is a news-scalping expert advisor designed to capture the sharp, short-lived volatility that occurs just before high-impact economic releases.
Leveraging proprietary AI analysis of the global GDELT news database, the EA follows a “one-shot” logic: open a position 3 minutes before the release → force-close it InpForceCloseSec seconds after the release (default = 3 sec).

  • Platform supported: MetaTrader 5 (MT5)
  • Recommended time frames: M1–M15 (chart TF does not affect trade frequency)
  • Recommended symbols: EURUSD, USDJPY and other major low-spread pairs
    Note: For high-spread symbols (e.g. XAUUSD) raise InpMaxSpreadPips accordingly.
  • Recommended brokers: ECN / RAW accounts (tight spread & fast execution)
  • Target volatility: engineered to capture one-shot moves of roughly ±50 pips immediately after the release

2. Installation Steps

Automatic Installation
If you purchase the EA from the MQL5 Market, it will be installed automatically via the MT5 “Navigator” > “Market” tab.

Manual Installation

  • Copy AI Economic Release Strike EA.ex5 into the MQL5\Experts\ folder
  • Restart MT5

Attach to a Chart

  1. Open any symbol / timeframe chart (e.g., EURUSD M5)
    └ The EA’s internal logic will automatically detect the currency pair with the highest volatility for the upcoming release and place orders on that pair.
  2. In the Navigator, drag & drop AI Economic Release Strike EA from “Expert Advisors” onto the chart
  3. Tick “Allow Algo Trading” → OK
  4. Even if your broker appends a suffix such as .m or # , the EA resolves it automatically, so no extra settings are required.

IMPORTANT:

This EA automatically detects and trades the relevant currency pairs based on scheduled economic releases, regardless of which chart it is applied to.

Therefore, you do NOT need to open specific currency pair charts.

Whether you apply it to USDJPY, BTUEUR, or any other chart, the EA will automatically identify and execute trades on the appropriate currency pairs.

This feature saves you the hassle of opening multiple charts. The EA autonomously manages trades based on the economic indicators it monitors.


WebRequest Settings (Required)
In MT5, go to [Tools][Options][Expert Advisors] and add
https://script.google.com
to “Allow WebRequest for listed URL”.
The EA performs license verification via Google Apps Script.

Expert_Option

Expert tab


3. Input Parameter Details

Group Parameter Default Description
🔑 License Verification InpLicenseKey (none) Purchase key—must be filled in.
InpLicenseInterval 3600 Re-check interval (seconds).
📄 Calendar Check InpCheckInterval 30 CSV reload interval (seconds). Do not set below 30 sec.
⏱️ Entry Timing InpLeadSec 180 Seconds before release to open a trade.
💼 Exit Timing InpForceCloseSec 3 Seconds after release to force-close.
⚙️ Filters / Risk InpMinStars 3 Minimum ★ rating required.
InpMinVolPips 15 Minimum expected move (pips).
InpMaxSpreadPips 30 Maximum allowed spread (pips).
💰 Lot Settings InpLotSize 0.05 Base lot size.
InpVariableLot true Enable automatic ★-based multipliers.
🛑 Initial SL InpUseInitSL true Place initial SL on entry.
InpInitSLPips 60 Initial SL width (pips).
InpTightenAtNews true Tighten SL to breakeven just before release.
InpTightenSec 20 Seconds before release to tighten SL.
🎯 Trailing TP InpEnableTrail true Enable trailing take-profit.
InpTrailPips 300 Trigger distance for instant TP (pips).
⚙️ Common InpEnableEA true Master on/off switch.
InpMagicNumber 4102025 Upper 32-bit fixed magic number.
InpUseSymbolMagic true Separate magic per symbol.
InpLogLevel 0 0 = DEBUG, 1 = INFO, 2 = WARN, 3 = ERROR.


4. Notes & FAQ

  • Q: The EA doesn’t open trades.
    Check: 1) License key not entered 2) MT5 “Algo Trading” button is OFF 3) InpMinStars or InpMaxSpreadPips too strict.
  • Q: Trades are skipped due to spread.
    Spreads often widen right before news. ECN accounts are recommended. If you must trade, raise InpMaxSpreadPips.
  • Q: Stop-loss is too wide/narrow.
    Balance InpInitSLPips and InpTrailPips. Use wider SL on high-volatility pairs.

5. How to Read the “Expert” Tab Logs

AI Economic Release Strike Expert

The MT5 “Expert” tab can be divided into three phases—① initialization & license, ② data retrieval, ③ entry execution—making troubleshooting straightforward.

① Initialization & License Verification

  • INIT | Strike EA v1.5 start – EA has been loaded onto the chart.
  • LIC | License OK – GAS replied with {"status":"valid"} ; license accepted.
  • Auth Error / LIC | Invalid … – Key not found, expired, inactive, or WebRequest not authorised.

② Economic-Data Retrieval

  • GDELT | GET Economic Release – Start downloading the CSV.
  • status = 200 OK – HTTP success; CSV will now be parsed.
  • PARSE | EURUSD … – Parsed indicator line.
  • LOAD | Loaded n new records – Number of new rows added.

③ Entry Check → Order Execution

  • SYMMATCH – Maps input symbol to actual tradable symbol.
  • SPREAD – Current spread vs. allowed max.
  • ORDER | Opened … – Market order placed successfully.
    Send fail err=… shows the broker error code if the order was rejected.

Typical Log Messages & Quick Fixes

  • Auth Error – Key not registered / expired / inactive / WebRequest not authorised.
  • HTTP fail – Network issue / wrong URL / SSL problem.
  • LOAD 0 new records – No upcoming indicators or CSV format mismatch.
  • SKIP | spread – Spread exceeded InpMaxSpreadPips.
  • SKIP | confidence / volPips – ★ rating or expected pips below threshold.

6. Support

If you need assistance, send us a message via the MQL5 “Messages” system or leave a comment on the product page.
Attaching your Experts tab logs and a screenshot will help us resolve issues more quickly.


📑 Recommended Set-File Guide

**What is a Set File (\*.set)?**

A preset configuration file that lets you save and load all Expert Advisor (EA) input parameters in one go.

  • Stores every EA field (lot size, max spread, etc.) together in a single file

  • Apply or save with one click via the MT4/MT5 “Load…” / “Save…” buttons

  • Prevents typing errors and makes it easy to share recommended settings


1. ERS_Default_Conservative.set

Purpose: Balanced settings for mainstream majors such as EURUSD / USDJPY

Parameter Value Reason
InpMinStars 3 Captures ★3 and above to secure trade frequency
InpMinVolPips 15 Filters out noise below a 15-pip forecast move
InpMaxSpreadPips 30 Typical upper limit for an ECN account
InpLeadSec 180 Enters 3 minutes before the release
InpLotSize 0.05 Low-risk lot size suited for initial live testing

This is the baseline preset. If you want stricter filtering, change InpMinStars to 4.


2. ERS_HighImpact_Aggressive.set

Purpose: Maximize profit by targeting only very high-impact releases such as NFP or CPI

Parameter Value Reason
InpMinStars 4 Limits trades to ★4/5 high-impact events
InpMinVolPips 25 Assumes a move of at least 25 pips
InpLeadSec 120 Enters 2 minutes before to catch early reaction
InpForceCloseSec 2 Force-closes 2 seconds after release to avoid reversals
InpLotSize 0.20
(VariableLot=false)
Fixed 0.2 lot for stronger exposure

For traders with higher risk tolerance. Always test fills on a demo before going live.


3. ERS_LowSpread_ECN.set

Purpose: For premium ECN conditions where spreads shrink to 0.1–0.3 pips

Parameter Value Reason
InpMaxSpreadPips 15 Tighter limit assuming ultra-low spreads
InpTrailPips 200 Locks in profit earlier
InpLotSize 0.10 Higher lot because costs are lower
InpVariableLot true Adds multipliers on ★4/5 events
InpLeadSec 150 2.5 minutes lead assuming low latency

If your broker’s spreads are wider, entries will drop sharply.


4. ERS_Gold_HighSpread.set

Purpose: Indicator trading on high-spread instruments such as XAUUSD

Parameter Value Reason
InpMaxSpreadPips 120 Allows for 50–100 pip spikes
InpInitSLPips 150 Protects against instant 100-pip jumps
InpLotSize 0.02 Smaller lot due to large contract size
InpLeadSec 240 Enters 4 minutes early to secure fill
InpTrailPips 400 Captures gold’s large follow-through

Point size varies by broker—check the log for actual spread before live trading.


5. ERS_Demo_SmallLot.set

Purpose: Initial demo tests / ultra-low-risk warm-up

Parameter Value Reason
InpLotSize 0.01 Minimal lot—virtually no loss risk
InpMinStars 2 Increases entry count to observe behavior
InpEnableTrail false Disables trailing for pure logic testing
InpTrailPips 800 (Dummy value because trailing is off)
InpUseInitSL false Observe slippage behavior
InpMaxSpreadPips 50 Wide limit to find skip causes

When moving to live, load the Conservative or ECN preset instead.


💡 Tips for Choosing a Preset

  • First time on a live account: start with Conservative; if stable, try ECN or Aggressive
  • Broker has wider spreads: use Gold_HighSpread as a base and adjust MaxSpread
  • Too many / too few entries: fine-tune InpMinStars and InpMinVolPips
  • Frequent reversals: shorten InpLeadSec (90–120 sec)
  • Close requests rejected: extend InpForceCloseSec to 4–6 sec


📚️ How to Install a .set File

  A) Download the desired set file and place it in any folder (Downloads or Desktop, for example)

  B) Open the EA’s properties window (Inputs tab) and click the
     < Load… > button in the bottom-right corner

  C) From the list of downloaded set files, select the preset you need
        ─ ERS_Default_Conservative.set
        ─ ERS_HighImpact_Aggressive.set
        ─ ERS_LowSpread_ECN.set
        ─ ERS_Gold_HighSpread.set
        ─ ERS_Demo_SmallLot.set
     Click “Open”
     └ All input values will be overwritten at once

  D) Review the settings and press < OK > to apply them to the chart
     ─ Adjust lot size or max spread if needed
     ─ If you change something by mistake, simply load the preset again

* You must enter the access key manually each time. Copy & paste is recommended to avoid typos.


If you need extra presets or have questions, feel free to ask in the group chat.

Disclaimer: Trading leveraged instruments involves risk; past performance does not guarantee future results. Manage capital wisely and trade at your own discretion.

Thank you for reading—wishing you successful trading!  Blog Logo AI trader KYO