FXEA365 Aifw AI Framework
- Experts
-
Kenichiro Sakamoto
I'm Kenichiro Sakamoto, the developer behind FXEA365 — a studio building transparent, rule-based Expert Advisors for MetaTrader 5. - Version: 1.25
- Updated: 9 November 2026
- Activations: 5
FXEA365 AIFW AI Framework — rules engine with an optional AI decision layer using your own API key (MetaTrader 5)
=== LAUNCH PRICE: 2 OF 3 LEFT AT $35 ===
The price rises after every 3 purchases and keeps rising with no upper limit ($35 → $49 → $79 → $99 → $149 → …). When these copies are sold, the next price is $49.
=== QUICK LINKS ===
- User guide and ready-made set files (one per trading style, plus a prop-firm set): https://www.mql5.com/en/blogs/post/779737
- Forward test: XMTrading demo account (not real money), figures below and updated in the guide
- Questions and setup help: the Comments tab of this page
- All our products: https://www.mql5.com/en/users/app.develop.sk/seller
=== KEY FACTS ===
- Symbol: any symbol you attach it to (for example XAUUSD M5). Attach it to one chart
- Account: hedging or netting. MetaTrader 5, build 4000 or later
- Default: a rules engine trades with no API key, no credit and no network — H1 moving-average trend filter (by default it also requires the H4 trend to agree), M15 RSI cross for timing, and ATR-relative stop-loss and take-profit
- Optional AI layer: OpenAI or Anthropic with your own API key, with the provider domain added under Tools > Options > Expert Advisors > Allow WebRequest. You set a monthly API budget in USD; at the cap the EA stops calling the API and keeps trading on the rules engine
- Trading styles: Manual, Scalping, Day trading, Swing. Autonomy: "Full auto" (default) or "Propose only", where every proposal waits for your confirmation on the chart panel
- Stop-loss: every open order has a stop-loss. Max positions, max lot, daily-loss and drawdown limits run in the terminal, without the AI
- No AI performance figure is claimed
=== RESULTS (WITH MAXIMUM DRAWDOWN) ===
Backtests are historical simulations, not a live record, and do not indicate future performance. No backtest figure is published for this EA, and no AI performance figure is claimed.
- Forward test (XMTrading demo account, not real money; USD account, started 2026-10-13; v1.23 since 2026-10-18; AI decisions until 2026-11-05, rules engine only since then, and the AI-period trades stay in the figures): 142 trades, -1.62%, profit factor 0.79, maximum drawdown 2.82% as of 2026-11-05. There are too few trades on the rules engine alone to judge it.
- The Strategy Tester cannot call an AI, so the free demo shows the rules engine only.
=== HOW IT WORKS ===
The layers work in this order:
1) Rules engine (always on) — decides direction and stop-loss/take-profit from indicators.
2) AI overlay (optional) — at a fixed interval the EA sends a compact state summary to the model and receives a structured proposal: hold, open, close or modify.
3) AI gate — an AI open order is executed only when it agrees with the rules engine's trend direction, and its stop-loss and take-profit are reset to the rules' ATR distances. After a losing trade, same-side AI entries are paused for a configurable time.
4) Policy, guards and approval — decide whether an order is allowed at all: max positions, max lot, daily-loss and drawdown retreat, spread limit, news pause and more. These keep running if the AI becomes unavailable.
New in v1.24: the input AI min interval (default 3600 seconds) asks the AI at most once per hour and lets the rules engine decide in between. A warning is printed at start when any AI gate (trend, SL/TP normalize, loss lock) is off; in our forward test the AI without gates lost money.
New in v1.25: a fix for live trading. When the monthly AI budget was running low, the whole timer was slowed down, so the rules engine could skip M15 bars and miss signals. Now only the AI calls are spaced out and the rules engine checks every bar. Backtest results are unchanged.
In the Strategy Tester the EA replays recorded live AI responses that match the same market situation and otherwise uses the rules engine, and it shows the coverage (exact / approximate / rules). The chart panel (32 languages) can evaluate settings on recent history and "Find by target" tries up to 144 rules-engine variations; both use past data only (no AI) and are not a forecast.
=== RUN MODES AND SET FILES ===
- Trading style (Manual, Scalping, Day trading, Swing) fills in the timeframes, SL/TP distances as ATR multiples, break-even and maximum holding time; each value can still be changed.
- Autonomy: we suggest "Propose only" for the first days, then "Full auto" once you are comfortable.
- No drawdown figure is published per style.
- Prop-firm set: rules engine only (no API key), with the Safety inputs daily loss % and max drawdown % set to your firm's rules. "Find by target" can also take a max daily loss % for prop rules. No drawdown figure is published for this set.
=== FAQ ===
Q: Do I need an API key?
A: No. Without a key the EA trades on the rules engine only. A key from OpenAI or Anthropic is needed only for AI decisions, and you pay the provider directly within the monthly budget you set.
Q: Can the AI take unlimited risk?
A: No. The AI is not a risk-management layer. Its orders must agree with the rules engine's trend, its stops are reset to the rules' ATR distances, and the terminal-side limits apply to every order.
Q: Where does my data go?
A: Only to the API provider you choose. There is no licence server, no telemetry and no update system, and API keys are stored locally in the terminal.
Q: Why does the Strategy Tester not show AI trades?
A: The tester cannot call web APIs. It replays responses recorded on a live chart when available and otherwise uses the rules engine.
Q: How do I check it before buying?
A: Run the free demo in the Strategy Tester on your symbol (for example XAUUSD M5) with default inputs. Confirm every order carries a stop-loss, the coverage line reads "rules", and the guards you set stop trading where you expect.
=== RISK WARNING ===
The forward test is currently negative, and neither the rules engine nor the AI overlay promises profit; results depend on the market, the model, the profile and your settings. Start on a demo account with "Propose only", and never trade money you cannot afford to lose.
=== LAUNCH PRICE: 2 OF 3 LEFT AT $35 ===
The price rises after every 3 purchases and keeps rising with no upper limit ($35 → $49 → $79 → $99 → $149 → …). When these copies are sold, the next price is $49.
=== QUICK LINKS ===
- User guide and ready-made set files (one per trading style, plus a prop-firm set): https://www.mql5.com/en/blogs/post/779737
- Forward test: XMTrading demo account (not real money), figures below and updated in the guide
- Questions and setup help: the Comments tab of this page
- All our products: https://www.mql5.com/en/users/app.develop.sk/seller
=== KEY FACTS ===
- Symbol: any symbol you attach it to (for example XAUUSD M5). Attach it to one chart
- Account: hedging or netting. MetaTrader 5, build 4000 or later
- Default: a rules engine trades with no API key, no credit and no network — H1 moving-average trend filter (by default it also requires the H4 trend to agree), M15 RSI cross for timing, and ATR-relative stop-loss and take-profit
- Optional AI layer: OpenAI or Anthropic with your own API key, with the provider domain added under Tools > Options > Expert Advisors > Allow WebRequest. You set a monthly API budget in USD; at the cap the EA stops calling the API and keeps trading on the rules engine
- Trading styles: Manual, Scalping, Day trading, Swing. Autonomy: "Full auto" (default) or "Propose only", where every proposal waits for your confirmation on the chart panel
- Stop-loss: every open order has a stop-loss. Max positions, max lot, daily-loss and drawdown limits run in the terminal, without the AI
- No AI performance figure is claimed
=== RESULTS (WITH MAXIMUM DRAWDOWN) ===
Backtests are historical simulations, not a live record, and do not indicate future performance. No backtest figure is published for this EA, and no AI performance figure is claimed.
- Forward test (XMTrading demo account, not real money; USD account, started 2026-10-13; v1.23 since 2026-10-18; AI decisions until 2026-11-05, rules engine only since then, and the AI-period trades stay in the figures): 142 trades, -1.62%, profit factor 0.79, maximum drawdown 2.82% as of 2026-11-05. There are too few trades on the rules engine alone to judge it.
- The Strategy Tester cannot call an AI, so the free demo shows the rules engine only.
=== HOW IT WORKS ===
The layers work in this order:
1) Rules engine (always on) — decides direction and stop-loss/take-profit from indicators.
2) AI overlay (optional) — at a fixed interval the EA sends a compact state summary to the model and receives a structured proposal: hold, open, close or modify.
3) AI gate — an AI open order is executed only when it agrees with the rules engine's trend direction, and its stop-loss and take-profit are reset to the rules' ATR distances. After a losing trade, same-side AI entries are paused for a configurable time.
4) Policy, guards and approval — decide whether an order is allowed at all: max positions, max lot, daily-loss and drawdown retreat, spread limit, news pause and more. These keep running if the AI becomes unavailable.
New in v1.24: the input AI min interval (default 3600 seconds) asks the AI at most once per hour and lets the rules engine decide in between. A warning is printed at start when any AI gate (trend, SL/TP normalize, loss lock) is off; in our forward test the AI without gates lost money.
New in v1.25: a fix for live trading. When the monthly AI budget was running low, the whole timer was slowed down, so the rules engine could skip M15 bars and miss signals. Now only the AI calls are spaced out and the rules engine checks every bar. Backtest results are unchanged.
In the Strategy Tester the EA replays recorded live AI responses that match the same market situation and otherwise uses the rules engine, and it shows the coverage (exact / approximate / rules). The chart panel (32 languages) can evaluate settings on recent history and "Find by target" tries up to 144 rules-engine variations; both use past data only (no AI) and are not a forecast.
=== RUN MODES AND SET FILES ===
- Trading style (Manual, Scalping, Day trading, Swing) fills in the timeframes, SL/TP distances as ATR multiples, break-even and maximum holding time; each value can still be changed.
- Autonomy: we suggest "Propose only" for the first days, then "Full auto" once you are comfortable.
- No drawdown figure is published per style.
- Prop-firm set: rules engine only (no API key), with the Safety inputs daily loss % and max drawdown % set to your firm's rules. "Find by target" can also take a max daily loss % for prop rules. No drawdown figure is published for this set.
=== FAQ ===
Q: Do I need an API key?
A: No. Without a key the EA trades on the rules engine only. A key from OpenAI or Anthropic is needed only for AI decisions, and you pay the provider directly within the monthly budget you set.
Q: Can the AI take unlimited risk?
A: No. The AI is not a risk-management layer. Its orders must agree with the rules engine's trend, its stops are reset to the rules' ATR distances, and the terminal-side limits apply to every order.
Q: Where does my data go?
A: Only to the API provider you choose. There is no licence server, no telemetry and no update system, and API keys are stored locally in the terminal.
Q: Why does the Strategy Tester not show AI trades?
A: The tester cannot call web APIs. It replays responses recorded on a live chart when available and otherwise uses the rules engine.
Q: How do I check it before buying?
A: Run the free demo in the Strategy Tester on your symbol (for example XAUUSD M5) with default inputs. Confirm every order carries a stop-loss, the coverage line reads "rules", and the guards you set stop trading where you expect.
=== RISK WARNING ===
The forward test is currently negative, and neither the rules engine nor the AI overlay promises profit; results depend on the market, the model, the profile and your settings. Start on a demo account with "Propose only", and never trade money you cannot afford to lose.

