The Ibranos AI
- エキスパート
- バージョン: 1.0
- アクティベーション: 5
Seven independent gold strategies (I - B - R - A - N - O - S) plus an eighth on-chart AI Signal Desk. Every order carries its own stop loss, take profit and trailing stop. No grid, no martingale, no averaging down, no recovery baskets. Each engine has its own magic number (Base + 1 ... Base + 8), its own risk settings and its own live win rate chip, and can be switched on or off from the panel without restarting MetaTrader 5.
1. Specification
| Item | Value |
|---|---|
| Product | Expert Advisor, MQL5 source included (no DLL, no external indicator) |
| Platform | MetaTrader 5 (Windows) |
| Symbol | XAUUSD - spot gold. The distances are calibrated for gold (reference price 4600) |
| Chart timeframe | M15 recommended. The engines read D1, H4, H1, M15 and M5 internally |
| Account type | Hedging recommended, a netting guard is built in. Low spread ECN or raw advised |
| Leverage in the tests | 1:100 |
| Magic numbers | Base 880100, then 880101 to 880108 - one per engine, all visible in the panel |
| AI key | Not required. The built-in model works out of the box, your own key is optional |
2. The 7 deterministic engines + engine 8
| # | Engine | Name | Magic | What it trades |
|---|---|---|---|---|
| 1 | I | Pivot Breakout | 880101 | Pending Buy Stop / Sell Stop beyond the H1 pivot highs and lows, tight trailing. |
| 2 | B | Range Rejection | 880102 | Rejection wick out of an H1 range, ATR floor, trend alignment, session hours. |
| 3 | R | H1 Momentum | 880103 | Strong closed H1 candle, EMA20/50 and H4 EMA200 bias, ADX floor, ATR scaled SL/TP. |
| 4 | A | Sweep Continuation | 880104 | Liquidity sweep of a key level, rejection wick, close back inside the structure. |
| 5 | N | Swing | 880105 | Swing structure entries with an ATR body cap and a fixed entry offset. |
| 6 | O | Opening Range | 880106 | Early session range capped by D1 ATR, paired OCO Buy Stop / Sell Stop. |
| 7 | S | Scalp | 880107 | H1/M15 EMA bias with an M5 pullback to EMA20, momentum confirmation, timed cooldown. |
| 8 | AI | AI Signal Desk | 880108 | Model driven setups with a 7 point deterministic second opinion before every order. |
3. Engine 8 - the AI Signal Desk
Reads D1 to M5 context, liquidity levels (Asia range, PDH/PDL, PWH/PWL), unfilled fair value gaps and the economic calendar, then asks the model for a verdict. It counts six confluences itself (C1 sweep, C2 structure, C3 value zone, C4 higher timeframe alignment, C5 momentum, C6 timing) and scores the setup 0-92, never above 92.
- Ready out of the box on the built-in model - no API key needed to scan live setups.
- Three trigger modes (M5 scalp, M15 intraday, H1 swing), auto trade or signal only.
- A 7 point deterministic second opinion runs before every order and can veto the model: EA evidence, momentum agreement, trigger freshness, no averaging down, live EMA9 confirmation, target runway, structural stop placement.
4. AI model options (Setup > Model & Key)
| Provider | Model sent to the API | Host | Key |
|---|---|---|---|
| Built-in (default) | MiniMax-M3.1-Flash | api.minimax.io | not needed |
| MiniMax | MiniMax-M3 | api.minimax.io | yours |
| DeepSeek | deepseek-flash | api.deepseek.com | yours |
| OpenAI | gpt-6-sol | api.openai.com | yours |
| Gemini | gemini-4-argon | generativelanguage.googleapis.com | yours |
| Custom | your model string | your OpenAI compatible endpoint | yours |
Any provider's model can be overridden with the custom model field.
5. Sizing, entry gates and protection
- Two sizing modes only: Fixed Lot, or Step Lot by Balance. The shipped setting is 0.01 lot per 1 000 USD of balance, so a 10 000 USD account trades 0.10 lots.
- Every order carries its own stop loss, its own take profit and its own trailing stop. No grid, no martingale, no averaging down, no recovery baskets.
- Two entry gates: the native MT5 economic calendar filter (USD high impact releases, -30/+30 minutes) and the market hours window (Monday to Friday, 01:00 to 23:00 server time by default, with one minute of grace after the open).
- The exposure caps ship unlimited (0) and can be switched back on per engine at any time.
- The EA reads only its own magic numbers: another expert advisor on the same account can neither change a number in the panel nor reduce the lot.
- The market hours window is yours to set. If your broker closes gold at another time, change the two hours and the grace minute.
6. Measured in the MT5 Strategy Tester
XAUUSD, 1-minute OHLC model unless stated otherwise. Window 2025-01-01 to 2026-11-11. The profit factor is the account profit factor, reconstructed from the gross profit and the gross loss of the seven engines.
| Setup | Trades | Win | PF | Net profit | Max DD |
|---|---|---|---|---|---|
| Step lot by balance (shipped), $10 000 | 1889 | 75.4% | 4.04 | +$296,175.98 | 12.0% |
| Same set, every-tick model, $10 000 | 1889 | 75.3% | 3.44 | +$186,857.22 | 12.2% |
| Fixed 0.01 lot, $10 000 | 1889 | 75.4% | 2.81 | +$3,536.88 | 1.1% |
| Fixed 0.01 lot, $1 000 deposit | 1889 | 75.4% | 2.81 | +$3,536.88 | 6.5% |
| Out of sample 2024 (never tuned), $10 000 | 1082 | 70.5% | 1.79 | +$6,457.05 | 4.9% |
| $100 account, step lot | 1889 | 75.4% | 3.46 | +$7,802.47 | 23.8% |
The same set on an M1 chart produced the identical 1,889 trades and the identical result: the strategies are driven by the M15 bars. A fixed lot does not scale with the deposit - the same 0.01 lot earns the same +$3,536.88 on a $1 000 account and on a $10 000 account. What changes is the drawdown in percent, because the smaller account feels the same trade as a much larger share of its equity.
7. Per engine, shipped set, step lot, $10 000
| Engine | Trades | Win | PF | Net $ | Out of sample 2024 net $ |
|---|---|---|---|---|---|
| I | 705 | 71.5% | 4.82 | +$108,909.34 | +$2,330.62 |
| B | 105 | 77.1% | 2.40 | +$1,553.12 | -$135.92 |
| R | 262 | 89.3% | 2.42 | +$18,891.15 | +$1,020.82 |
| A | 97 | 78.4% | 2.04 | +$20,367.50 | +$763.91 |
| N | 46 | 69.6% | 2.36 | +$23,182.63 | +$309.11 |
| O | 71 | 91.5% | 4.07 | +$15,203.47 | -$255.23 |
| S | 603 | 71.6% | 9.36 | +$108,068.77 | +$2,423.74 |
| All | 1889 | 75.4% | 4.04 | +$296,175.98 | +$6,457.05 |
Every engine trades exactly as often on its own as in the combined run - no engine is crowded out by another. The step lot profit factor is inflated by the compounding: the same 1,889 trades on a fixed 0.01 lot give a profit factor of 2.81. Historical simulation does not guarantee future results.
8. The size knob
| Sizing | Trades | Net profit | Max DD | 2024 out of sample |
|---|---|---|---|---|
| Fixed 0.01 lot | 1889 | +$3,536.88 | 1.1% | - |
| Fixed 0.02 lot | 1889 | +$7,073.76 | 1.8% | - |
| Fixed 0.05 lot | 1889 | +$17,684.57 | 3.6% | +$2,601.01 |
| Fixed 0.10 lot | 1889 | +$35,369.06 | 6.5% | +$5,201.93 |
| Step lot, 0.01 per 1 000 (shipped) | 1889 | +$296,175.98 | 12.0% | +$6,457.05 |
| Step lot, 0.01 per 2 000 | 1889 | +$42,789.35 | 6.0% | +$2,720.55 |
| Step lot, 0.01 per 600 | 1889 | +$2,923,052.03 | 19.6% | +$12,997.66 |
The step rows compound: the lot grows with the balance, which is why a small step balance gives a large number. That is the sizing, not a forecast - the profit factor, the win rate and the trade count are the lot independent measures.
9. Setup
- Attach the EA to an XAUUSD M15 chart and allow algo trading. M1 works as well - the same 1,889 trades were measured on an M1 chart.
- Set the sizing: Lot sizing mode = Step Lot, Lots per balance step = 0.01, Balance per lot step = 1000.
- Set every Maximum positions and pending orders to 0 (unlimited) to match the shipped profile, or put a limit back if you want one.
- Leave 02B | MARKET HOURS on the defaults: Monday to Friday, 01:00 to 23:00 server time, one minute of grace after the open. That is what keeps the Market closed rejections away. Change the two hours if your broker closes the session at another time.
- For the AI desk: Tools > Options > Expert Advisors > Allow WebRequest, then add the host shown in Setup > Model & Key. The Strategy Tester runs the seven engines offline: no live HTTP request and no live calendar data.
- Optional: load the shipped .set profile in the Strategy Tester to reproduce the numbers of the tables above.
10. Honest limitations
- The AI desk cannot be backtested. It needs a live endpoint, so it stays off in the Strategy Tester. Its gate was audited by reading the code, not by statistics.
- The compounding of the step lot is an artefact of the sizing, not a forecast. The lot grows with the balance. The profit factor, the win rate and the trade count are the lot independent measures - the final balance is not a prediction.
- The shipped step lot is aggressive. 0.10 lots on a 10 000 USD balance is a stop of roughly 50% of the account on gold. Raise Balance per lot step to 2000 or 5000 to halve or quarter the size.
- Apart from the news filter and the market hours window there is no risk guard left in the EA, by request. A long losing streak will not be stopped by the EA.
- The parameters were selected on 2025-01-01 to 2026-11-11. 2024 was never used for selection. In 2024 the engines B and O are negative (profit factor below 1).
- The geometry is calibrated for gold. Another instrument needs its own reference price.
- The simulation uses the symbol spec of the broker at 1:100. The commission and the slippage of your own broker can be different.
